New Forum | Previous | Next | (P-PDF) Developers
Topic: PDF To TIFF Conversion woes
Conf: (P-PDF) Developers, Msg: 119994
Date: 10/10/2004 07:13 AM
First, how can I programmatically determine if a PDF file contains a scanned image( in other words wraps a tiff)?
Second, I need to convert a scanned pdf into a tif. If I load the pdf at 300 dpi, the computer runs out of memory.
Here are the specifics:
I am using LeadTools for .NET (version 14, C#) on Windows XP professional SP 1. My machine has 1GB RAM. If I load a regular PDF file (text)
at 300x300 dpi (a page at a time), it loads ok. If I load a scanned pdf ( a pdf that wraps a tif - 80 MB size), again a page at a time at 300x300 dpi, it bombs. It says insufficient memory ( raises an exception). It can't even load the first page. If I load it at 72 dpi, it loads ok. What is going on here?
If I could figure out by looking at some file information that a pdf is a scanned image, I would just load it at 72 dpi. I don't know how to make that determination
Any tips would be greatly appreciated