Hi,
I've been using ImageMagick within Paperclip in a Rails application.
Paperclip is set up to use convert like this :
`convert input.jpg -density 72x72 -strip -colorspace RGB -resample 72 output.jpg`.
I've been having great results, even with 300dpi CMYK pictures.
Now I'd like to use RMagick (within CarrierWave) and the same manipulations.
Here is my block :
manipulate! do |img|
img.resize_to_fit!(width, height)
img.density = '72x72'
img.strip!
unless img.colorspace == Magick::RGBColorspace
img.colorspace = Magick::RGBColorspace
end
img.resample(72.0)
end
But with the same files that were correctly converted, I get some that looks like it has been negated, but not exactly.
Am I missing something?
Thanks for your help
|