I would like to use some of these scripts: http://www.fmwconcepts.com/imagemagick/ for processing images uploaded to my Rails app. How can I achieve it? Can I set it up in Paperclip somehow or need to write some custom code?
Paperclip provides a way to write your own image processor, which primarily make use of the command line tools provided by imagemagick and the like.
Since the scripts you link to above are all command line tools, it will be fairly trivial to write a processor to use these.
Resources:
You might want to consider CarrierWave instead of Paperclip. It's easier to customize the image processing behavior with CarrierWave and RMagick.
The Railscast about CarrierWave is an excellent starting point:
http://railscasts.com/episodes/253-carrierwave-file-uploads
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With