Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
James Nisenbom
Posts: 1 Joined: 2017-07-31T20:48:48-07:00
Authentication code: 1151
Post
by James Nisenbom » 2017-07-31T20:57:54-07:00
Howdy IM community!
I've run into a problem where
Code: Select all
magick.exe convert -compress Group4 -type bilevel -monochrome input/images/path file_out.pdf
takes 25 seconds to convert 18 PNGs (ranging in size from 58kb to 140kb) into a PDF. I need to repeat this action about 9,000 times. Any suggestions
(more details available on this StackOverflow Post -
https://stackoverflow.com/q/45428547/3491991 )
fmw42
Posts: 25562 Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA
Post
by fmw42 » 2017-07-31T22:27:12-07:00
I do not know if this will help, but use proper IM 7 syntax and remove the convert and read the input first
Code: Select all
magick.exe input/images/path -monochrome -compress Group4 -type bilevel file_out.pdf
Note I suspect that -type bilevel may be redundant.