In #291905: Use ImageMagick 6 style command line syntax, Image API switched to the ImageMagick 6 command style, based on the motivations described in the ImageMagick Usage Basics document.

However, this handling not entirely accurate: if one is converting a PDF file, the options need to precede the source file.

Comments

sun’s picture

Project: ImageAPI » ImageMagick
Component: ImageAPI Imagick » Code
sun’s picture

Category: bug » task
joelstein’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.97 KB

We need the ability to prepend the source argument with the 'density' option for the PDF Preview module (see the referenced issue).

How about invoking a final alter hook after the source and destination arguments have been assembled? See the patch for an explanation of how this could work.

joelstein’s picture

Related issues: +#1715484: Ugly image output
mondrake’s picture

Status: Needs review » Closed (outdated)

Drupal 7 is EOL