markevans / dragonfly

A Ruby gem for on-the-fly processing - suitable for image uploading in Rails, Sinatra and much more!
http://markevans.github.io/dragonfly
MIT License
2.12k stars 244 forks source link

some arguments passed to convert need to precede the source filename #391

Open jsierles opened 9 years ago

jsierles commented 9 years ago

Some arguments, such as 'density' for specifying a source PDF file's resolution, must come before the source filename, otherwise they are ignored. This is important for controlling the target resolution of a vector image converted to PNG.

BAD % convert test.pdf -density 150 test.png

GOOD % convert -density test.pdf test.png

Should a PR for this should include an extra option for these arguments?

markevans commented 9 years ago

Yes please. I won't have a chance to look at it for a few weeks but will do then

trevvvy commented 9 years ago

any progress on this PR? I'd also appreciate this option.