Reputation: 1843
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?
Upvotes: 3
Views: 974
Reputation: 6868
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
Upvotes: 1
Reputation: 26488
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:
Upvotes: 3