I recently integrated Kropper into a RoR application. A fundamental
flaw in the upload-save-crop-save process used by Kropper is that
attachment_fu automatically scales down the image on first save
to :resize_to dimensions. After the subsequent crop-which may result
in a significant drop in resolution-the image is scaled back up
to :resize_to dimensions: an ugly lossy operation.
The attachment_fu_skip_resize plugin gives attachment_fu the ability
to temporarily bypass resizing of the full-size original image, thus
allowing your final cropped photos to be of the highest quality as
possible.
It’s a quick monkeypatch. Hope someone finds it useful
Coincidentally, I gave a presentation yesterday night to the Phoenix
Rails group on this stuff: attachment_fu, Kropper,
attachment_fu_skip_resize, Rmagick, and what we’re doing with it all
for the face-based searching the computation services behind
(upcoming) Mugr.com. Slides and audio links are available on my blog,
here… http://prestonlee.com/archives/149
The audio is featured as Rubyology Podcast #48.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.