Keith Norman wrote:
> here's how to use convert_options from the comments in paperclip.rg:
>
> has_attached_file :avatar, :styles => { :large => "300x300", :negative
> => "100x100" }
> :convert_options => {
> :all => "-strip",
> :negative => "-negate"
> }
>
> On Sep 2, 8:45 am, Neil Cauldwell <[EMAIL PROTECTED]>
Thanks Keith, I'm almost 100% done with implementing Paperclip, I just
need to mock the calls to S3 and make at a background worker for pushing
to S3 instead of tying up mongresl (the later won't be so easy).
I mentioned the aliasing issue to the guys at thoughtbot - they
suggested trying a different cropping method. I found that 'scale'
seemed to give a much nicer cropping conversion quality (had to dig in
to the paperclip.rb to get at it, I just couldn't work out the convert
options), so they pushed it in as the default for Paperclip. It doesn't
seem to work well when converting PNG to jpg, but that's something I can
live with. They also implemented buckets on a per environment basis
using the yml config. So I'm really happy with it now, much easier than
attachment fu.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---