RubyFlow The Ruby and Rails community linklog

Paperclip "RecursiveThumbnail" processor (speed up thumbnail generation)

This processor (and patch to Paperclip) sped up thumbnail generation by 8 seconds (originally 12, now 4). RecursiveThumbnail processor.

Comments

Not sure it fits all cases. The geometry of the next smaller image must be chosen carefully, or image quality will degrade quickly. It will degrade much faster even in the perfect scenario as opposed to the original “create all from the original image” method.

Aleksey - You’re absolutely right, but in certain situations it saves a lot of time. And a thumbnail (50x50) isn’t that good at any quality :)

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in