sNiCKY
sNiCKY

Reputation: 1843

Custom ImageMagick scripts on Rails (Paperclip ?)

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

Answers (2)

Christoph Schiessl
Christoph Schiessl

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

Douglas F Shearer
Douglas F Shearer

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

Related Questions