You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading to Rails 6.1 I noticed a change in the thumbnail image quality... they seem a little bit blurred. I don't know if this happened some months ago or after the upgrade, however I think that the quality of images was better 1 year ago when we decided the compression options.
Default sharpening was recently removed from the MiniMagick backend, see #67 and carrierwaveuploader/carrierwave#2481 for more details. TL;DR: The sharpening parameters were making some thumbnails worse than the default version. I didn't manage to acquire enough knowledge to choose safer sharpening parameters, so I've decided to disable it.
To answer your questions:
resize doesn't apply sharpening
resize_* macros did apply sharpening, but not anymore
sharpening is not applied by deafult
You can enable sharpening with resize_* macro by passing as the last argument sharpen: {}, or just adding sharpen: "0x1" or whatever sharpening parameters you prefer (0x1 was the default).
After upgrading to Rails 6.1 I noticed a change in the thumbnail image quality... they seem a little bit blurred. I don't know if this happened some months ago or after the upgrade, however I think that the quality of images was better 1 year ago when we decided the compression options.
Then I have also found this:
https://guides.rubyonrails.org/upgrading_ruby_on_rails.html#active-storage-now-requires-image-processing
Now I am really confused and I cannot find a clear documentation about sharpening and other options enabled by default by this gem.
resize
apply sharpening automatically?resize_to_fit/limit/fill
apply sharpening automatically?resize
and doesn't useresize_to_*
)?Thanks in advance for the clarification
Version: image_processing 1.12.1 (latest)
The text was updated successfully, but these errors were encountered: