Re: Using Magick++ to convert large PDFs into individual PNGs

Bob Friesenhahn <[email protected]> Wed, 10 Feb 2021 08:08:15 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.apis
Message-ID <[email protected]>
On Tue, 9 Feb 2021, Lukas Studer wrote:
>
> I will have a look at your suggestions and see which solution suits my
> needs best.

I forgot of something which may help solve the problem for you.  The 
starting page offset and range may be specified as part of the input 
file name.  This means that you can already use it to request a range 
of pages using the existing implementation.

So, you can request 'file.pdf[0-9]', and then 'file.pdf[10-19]', etc. 
in order to keep the number of pages requested at one time down to a 
manageable level.

Bob
-- 
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
Public Key,     http://www.simplesystems.org/users/bfriesen/public-key.txt