mostly finished port to ruby3

This commit is contained in:
Kyle Drake 2022-08-10 14:31:36 -05:00
parent a9dd102383
commit 0ca1473d22
30 changed files with 765 additions and 731 deletions

View file

@ -43,8 +43,8 @@ class ThumbnailWorker
full_thumbnail_path = File.join(user_thumbnails_path, "#{path}.#{res}.#{save_ext}")
resimg.write(full_thumbnail_path) {
self.quality = 75
resimg.write(full_thumbnail_path) { |i|
i.quality = 75
}
resimg.destroy!
#$image_optim.optimize_image! full_thumbnail_path