Question

Other posts claim that paperclip reduces dpi to 72 when processing, but this is not true. Out of the box, it leaves dpi untouched. I need 300dpi originals in print quality, but the thumbs should be 72dpi for monitor. How can I do this (whilst processing the upload)?

Was it helpful?

Solution

has_attached_file :uploadedPhoto, 
                  :styles          => {:portrait => "400x", :icon => "32x32#"},
                  :convert_options => {:portrait => '-strip -quality 60', :icon => '-strip -quality 60' }
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top