Convert images with attachment_fu

Hi, i’m using attachment fu plugin and mini magick for upload images.

class Photo < ActiveRecord::Base
has_attachment :content_type => :image,
:storage => :file_system,
:max_size => 4.megabytes,
:resize_to => ‘700x650>’,
:path_prefix => ‘public/images/cores’,
:thumbnails => { :thumb_big => ‘62x62!’, :thumb =>
‘30x30!’ },
:processor => :MiniMagick

I noted that when a user upload a jpg, the thumnails are very expensive
(32k for :thumb). so i want convert all thumbnails to gif or png format.

is possible?
thanks

Luca,

It’s probably possible to do it with one of the various image
libraries available, but never seen that as a feature of
attachment_fu…

Cheers, Sazima

On Jan 17, 8:17 am, Luca R. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs