Search found 7 matches

by liys_0
2016-03-02T22:47:58-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 21186

Re: How to convert large PDF with limit resources

Your operating system will have tools to monitor memory usage. Thanks. Already done this. I found that GhostScrip uses much much less resources than ImageMagick. To convert a PDF file with dimension (132 in x176 in) using density 200: The IM consumes about 4GB disk; the GS only takes less than ...
by liys_0
2016-03-01T00:48:35-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 21186

Re: How to convert large PDF with limit resources

convert -density 200 largefile.pdf[1200x1200+0+0] -flatten part1A.png But does that help the resource problem? With a "-verbose" we can see the Ghostscript command. I get the same command with or without the geometry spec. Putting [0] as the page spec, I get a different GS command that includes ...
by liys_0
2016-02-15T00:42:59-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 21186

Re: How to convert large PDF with limit resources

The PDF files are vector PDFs. Do you mean that we convert the PDFs to Djvu first and then convert the Djvu to image files? Since you're starting with vector PDFs, and must have non-djvu images in the end, I don't think my suggestions will help much. I would only use the lossy djvu format as a ...
by liys_0
2016-02-15T00:42:27-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 21186

Re: How to convert large PDF with limit resources

In this case, can we convert one page portion by portion to use less resources? : ) I don't know how to run a "convert" command on a particular page of a multi-page PDF and have it use just a segment of the page, since both those processes use square brackets at the end of the file names to specify ...
by liys_0
2016-02-14T19:33:47-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 21186

Re: How to convert large PDF with limit resources

ImageMagick may not be the best tool for this, depending on the source file. If your source PDF container is simply one large raster image per page, with no vector graphics or other PDF features, then it's better to use the pdfimages tool to extract each image to a file, which is not ...
by liys_0
2016-02-14T19:23:14-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 21186

Re: How to convert large PDF with limit resources

Is "stream" the only way to handle this? or can we use some functions to convert the PDF portion by portion and then merge them together to one image. It would be helpful if you could describe your set-up, like what platform you're working on and what version of ImageMagick. I use ImageMagick ...
by liys_0
2016-02-12T18:22:12-07:00
Forum: Users
Topic: How to convert large PDF with limit resources
Replies: 13
Views: 21186

How to convert large PDF with limit resources

We are using ImageMagick in our program to convert PDF files to images with -limit disk and -limit memory. We do not want the program consume too much memory or disk space. When the PDF files are very large, it naturally leads to the error CacheResourcesExhaused. Is "stream" the only way to handle ...