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?

HTH

Regards,


Chris.

On 2 April 2010 18:19, Sam Kong <[email protected]> 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