paulsturgess-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-05 16:54 UTC
Attachment_fu thumbnail quality with image science
I''m having trouble with the image quality of the thumbnails attachment_fu is creating in my app and I''m hoping someone can point me in the direction of a fix. In my search for answers I''ve found this page [1] which claims "ImageMagick''s default resampling filter used for image resizing is the Lanczos filter. For Image Science it''s bilinear filter. Bilinear is faster but it''s not the best for creating thumbnails of photographic images. It''s only possible to set Lanczos as the default by patching FreeImage source. It''s pretty straightforward though ..." However there is no detail on how to patch free image. In any case another page [2] claims image science has since been updated and that it now uses the "Catmull-Rom spline filter for better quality". Yet, the thumbnails still look poor to me. I''m using version 1.1.3 of image_science and, as far as I can tell, the latest version of attachment_fu. If anyone does know of a fix or has any info on this it would be much appreciated. Cheers, Paul. http://paulsturgess.co.uk [1] http://mephistoblog.com/2007/1/9/new-asset-thumbnailing-options-available [2] http://blog.caboo.se/articles/2007/3/8/image-science-updated --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
paulsturgess-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-19 20:50 UTC
Re: Attachment_fu thumbnail quality with image science
I managed to find a fix for the problem... In the model I had ''resize'' and ''thumbnails'' options set. I removed the ''resize'' option and added it as an additional size in the ''thumbnails'' option instead and now the quality is good. Hope that saves someone the time I spent trying to solve it! Cheers, Paul http://paulsturgess.co.uk On Jul 5, 5:54 pm, paulsturg...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> I''m having trouble with the imagequalityof the thumbnails > attachment_fu is creating in my app and I''m hoping someone can point > me in the direction of a fix.--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---