hopefully pushing the new branch

This commit is contained in:
Monqui 2025-10-14 22:34:16 +00:00
parent 8059244ef8
commit a71a1b6356
2 changed files with 7 additions and 17 deletions

View file

@ -3,7 +3,9 @@ require "rmagick"
require "./image_utils.rb"
require "./encode_image.rb"
img = Magick::ImageList.new "./images/original/arty_2.jpg"
img_name = "arty"
img = Magick::ImageList.new "./images/original/" + img_name + ".jpg"
#srand(12345)
@ -26,7 +28,7 @@ puts "Initializing EncodeImage..."
start = Time.new.to_f
em = EncodeImage.new(pass, message, img)
em = EncodeImage.new(pass, message, img, img_name)
puts em.encode
puts "Took " + (Time.new.to_f - start).to_s + " seconds to encode... 🐱"