Convert -page ¿How many pages are manageable?

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?".
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

What do you mean
too many pages
what is the problem exactly?

You can save a lot on memory by using -clone and -repage.
The image data is then not copied just re-used.

Code: Select all

 convert -page 320x149 pattern:gray100
    -page +155+63 bol.png \
    \( +clone -repage +203+60 \) \
    \( +clone -repage +241+64 \) \
    ...
    -background white -compose multiply -flatten empty.png
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Post by anthony »

Neither would I. But you are welcome.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply