[Top][All Lists]

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

Re: [Swftools-common] How do I know how many pages a PDF has?

From: Chris Pugh
Subject: Re: [Swftools-common] How do I know how many pages a PDF has?
Date: Fri, 2 Apr 2010 21:02:25 +0100

Did you ever notice what happens if you issue the pdf2swf command on
it's own Sam?  With or without '-s help'?  Did we bother to take a
peek at all?   ;o)

With Bash under linux, :how's about,

   pdf2swf -I  sams.pdf | tail -n  1 |  cut -d" " -f1

You could do something similar with Pash ( or Powershell ), if you
happen to be under Windows.

The only snag, is that as dfar as I am aware, the whole pdf has to be
processed just to get
at the last page..  Maybe you should try using an alternatuve tool if
you wish to simply grab
information about the pdf?




On 2 April 2010 18:19, Sam Kong <address@hidden> wrote:
> Hi,
> I am trying to automate converting a pdf to swf page by page.
> How do I know the total pages of a pdf?
> ----------------------
> Sam Kong
> Design Premise

reply via email to

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