This is actually used with AttachmentFu, but has some example code for
Rmagick resizing:

http://github.com/kete/kete/blob/master/lib/resize_as_jpeg_when_necessary.rb#59

Cheers,
Walter

On Wed, Feb 24, 2010 at 12:24 PM, Peter De Berdt
<[email protected]> wrote:
>
> On 23 Feb 2010, at 23:19, Mike C wrote:
>
> Thanks. How can I use paperclip to convert? I tried looking it up in
> google but got no results.
>
> On Feb 23, 1:59 pm, Robert Walker <[email protected]> wrote:
>
> Mike Chai wrote:
>
> Does anyone know of a way to convert an uploaded tiff image into a jpg
>
> or png?
>
> http://github.com/thoughtbot/papercliphttp://www.imagemagick.org/script/index.php
>
>
> Use :convert_options as shown
> here: http://www.taknado.com/en/2009/10/01/paperclip-tweaks/ (found using
> "paperclip rails convert file" on google). Someone else will be able to give
> you the imagemagick command parameter to convert to jpg I hope, don't know
> it by heart.
>
> Best regards
>
> Peter De Berdt
>
> --
> 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.
>

-- 
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.

Reply via email to