Open nstanger opened 5 years ago
Already open under ticket https://trac.macports.org/ticket/57740.
GraphicsMagick (http://www.graphicsmagick.org/) might be an alternative, but it doesn’t appear to support:
-layers
(https://imagemagick.org/script/command-line-options.php#layers)-alpha
(https://imagemagick.org/script/command-line-options.php#alpha)\( \)
(https://imagemagick.org/script/command-line-processing.php#stack)ImageMagick port has been updated to fix this (https://trac.macports.org/ticket/57740#comment:20), need to test that everything is now working correctly, then close this and move on to #32.
The current MacPorts version of
convert
no longer seems to be able to convert a PDF page to a JPEG. For example:causes a SIGABRT, with the error “Abort” (singularly uninformative).
The output of
convert -debug All
shows that it’s creating temporary files in/var/folders
(which are actually symlinks to the source file), and dies while trying to delete one of them (which fails):The file it’s attempting to delete doesn’t exist in
/var/folders
(after the fact, at least).The problem is definitely within
convert
— running the corresponding GhostScript command (extracted fromconvert -verbose
) works fine.