How to get IM to process one page at a time in PDF file
Posted: 2014-05-02T16:41:08-07:00
I have a large PDF file (100+ pages). It is a scanned document, scanned in color, so it's rather large. I am using IM to compress it to group4 tiff. The problem I am running into is that IM is eating up all my RAM, and I have 15gigs of it! I looks like it is loading all 100+ pages into memory in uncompressed bitmap format, and then works on them, and then saves them to TIFF. Is there a way to instruct IM to only work on one page at a time. So, load the first page into memory, apply filters, save to tiff, load next page, .... etc?
I am sure there is a bash way to do that, but any way it can be done internally?
- Bogdan
I am sure there is a bash way to do that, but any way it can be done internally?
- Bogdan