Re: [iText-questions] Detect PDF File

2006-02-02 Thread Paulo Soares
If the file starts with "%PDF-1." there a good chance that it is a pdf. - Original Message - From: "Dan McKeon" <[EMAIL PROTECTED]> To: Sent: Thursday, February 02, 2006 7:13 PM Subject: [iText-questions] Detect PDF File I am writing a program to convert

Re: [iText-questions] Detect PDF File

2006-02-02 Thread Udo Rader
On Thu, 2006-02-02 at 13:13 -0600, Dan McKeon wrote: > > I am writing a program to convert an input file to PDF. Is there a > way to examine the input file to determine if it already is PDF? Depending on which environment you are working with, there are various options. The lowlevel approach is

[iText-questions] Detect PDF File

2006-02-02 Thread Dan McKeon
I am writing a program to convert an input file to PDF.  Is there a way to examine the input file to determine if it already is PDF? This message may contain confidential information intended only for the use of the  addressee(s) named above and may contain information that is legally privil