http://github.com/thoughtbot/paperclip
http://www.imagemagick.org/script/index.php
--
Posted via http://www.ruby-forum.com/.
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 <li...@ruby-forum.com> wrote:Mike Chai wrote:Does anyone know of a way to convert an uploaded tiff image into a jpgor png?http://github.com/thoughtbot/papercliphttp://www.imagemagick.org/script/index.php
Best regards
Peter De Berdt
http://github.com/kete/kete/blob/master/lib/resize_as_jpeg_when_necessary.rb#59
Cheers,
Walter
> --
> 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 rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-ta...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
Cheers,
Walter
On Feb 23, 3:32 pm, Walter McGinnis <walter.mcgin...@gmail.com> wrote:
> The #59 meaning the relevant line is mainly the setting of format in
> line 59. There is other stuff in their you may find useful, too.
>
> Cheers,
> Walter
>
> On Wed, Feb 24, 2010 at 12:31 PM, Walter McGinnis
>
>
>
> <walter.mcgin...@gmail.com> wrote:
> > 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_neces...
>
> > Cheers,
> > Walter
>
> > On Wed, Feb 24, 2010 at 12:24 PM, Peter De Berdt
> > <peter.de.be...@pandora.be> 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 <li...@ruby-forum.com> wrote:
>
> >> Mike Chai wrote:
>
> >> Does anyone know of a way to convert an uploadedtiffimage into a jpg
>
> >> or png?
>
> >>http://github.com/thoughtbot/papercliphttp://www.imagemagick.org/scri...
>
> >> Use :convert_options as shown
> >> here: http://www.taknado.com/en/2009/10/01/paperclip-tweaks/(found using
Of course you have the complete paperclip code so you can see how it's
doing things and modify it for your purposes.
Craig
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.