
Thread
2009.05.11 15:14 "Re: [Tiff] How to tell if an image file is a TIFF or PDF", by Toby Thain
On 11-May-09, at 10:58 AM, Navarro, Miguel (COC) wrote:
Greetings:
I am currently extracting images from an image repository. Some of these are in TIFF and some are in PDF. Is there a way to tell which is which, i.e. I want to know if an image that I extract is a TIFF to convert to PDF. If its a PDF no need to convert.
Trivial; both file types have a signature at the beginning. See respective doc for details.
--Toby
>
The repository does not store file types, so I need a way to tell.
Thx!
Mike Navarro