janko / image_processing

High-level image processing wrapper for libvips and ImageMagick/GraphicsMagick
MIT License
863 stars 76 forks source link

Uploaded images are bigger then original #89

Closed wordica closed 3 years ago

wordica commented 3 years ago

Why when I upload image 2.0MB, original file using:

magick = ImageProcessing::MiniMagick.source(original).saver(quality: 100)

when I download it is 110% bigger - more then 4.0MB ?

janko commented 3 years ago

This is how the JPEG encoder that ImageMagick uses behaves, you would most likely get the same result if you do the conversion on the command-line. I don't think there is anything ImageProcessing can do about that.