Here's an example of how to do what you want with Rmagick (probably works in principle with mini magick, but not sure):
http://github.com/kete/kete/blob/3ae3c179f86943ccccaf5a15d8b5590a28c0ae6e/lib/resize_as_jpeg_when_necessary.rb It's a module we mix in to monkey patch (i.e. redefine methods locally) attachment_fu's built in processor code for Rmagick in the Kete app ( http://kete.net.nz). 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 [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 -~----------~----~----~----~------~----~------~--~---

