swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Getting PDF information


From: Chris Pugh
Subject: Re: [Swftools-common] Getting PDF information
Date: Tue, 8 Dec 2009 18:58:06 +0000

2009/12/8 Shahid Faiz <address@hidden>:
> Hi,
>
> I am using swftools for converting PDF to SWF. In my case, I need to know
> number of pages and width/height of any page in PDF. Right now I execute
> pdf2swf -I command and then parse its output line by line which I feel isn't
> the right way specially for large files. Is there any other way of getting
> this information?
>
> One possible way could be getting this information in one line.
>
> Thanks,
> Shahid Faiz

Would piping the output information to file be a possible option?  As in,

   pdf2swf -I test.pdf > pagelist

Surely multiple lines are preferable to one long jam packed string?
Not that you couldn't remove the LF(CR) and
replace with another separator if you really wanted to.

HTH.

Regards,


Chris.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]