Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have tried to generate images with Ghostscript, but every page to one image, how to generate a long image, all pages in one image?

What I have tried:

I have tried to generate images with Ghostscript
Posted
Updated 18-May-18 3:33am
Comments
Mehdi Gholam 18-May-18 2:48am    
Why?

1 solution

There is no such option in GhostScript. You will need to export each page to a separate image, and then stitch the separate images together in code.

Alternatively, you could use ImageMagick's "montage" command:
Command-line Tools: Montage @ ImageMagick[^]
Ghostscript Multipage PDF to PNG - Stack Overflow[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900