Sorry, I didn't clarify it. It takes the number of pages using scanf
(the user types it in) ...

I didn't find a way of knowing automatically the number of pages in the
PDF ... 

 

________________________________

From: Novice Programmer [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 25, 2008 1:12 PM
To: Ayman Abdel-Rahman
Cc: Ayman Abdel-Rahman; [email protected]
Subject: Re: [Swftools-common] converting pdf page wise

 

Currently I wrote a C++ program which takes the number of pages as
input, and loops with pdf2swf -p  such that each page of the pdf is
exported as a separate swf file.

Hello, This is what i was looking for. How do you know the number of
pages in the pdf? Do you use some library or so?

Thanks.



On Mon, Feb 25, 2008 at 8:16 PM, Ayman Abdel-Rahman
<[EMAIL PROTECTED]> wrote:

I had this same problem myself ... I need to know how to find the number
of pages in PDF automatically

 

Currently I wrote a C++ program which takes the number of pages as
input, and loops with pdf2swf -p  such that each page of the pdf is
exported as a separate swf file.

 

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Novice Programmer
Sent: Monday, February 25, 2008 8:13 AM
To: Ayman Abdel-Rahman
Cc: [email protected]
Subject: Re: [Swftools-common] converting pdf page wise

 

Hello Ayman,

 

but i would need to know the number of pages in pdf to do this otherwise
i would be in infininte loop calling pdf2swf each time. Any suggestions
on how to do this?

 

Thanks.

 

On 2/25/08, Ayman Abdel-Rahman <[EMAIL PROTECTED]> wrote: 

use pdf2swf -p [page number here]

 

 

        ----- Original Message ----- 

        From: Novice Programmer <mailto:[EMAIL PROTECTED]>  

        To: [email protected] 

        Sent: Monday, 25 February, 2008 2:22 AM

        Subject: [Swftools-common] converting pdf page wise

        
         

        Hello Everyone,

         

        i want to convert individual page of pdf to individual swf. Any
one knows how to do this using swftools?
        
        -- 
        Thanks & Regards,
        Novice (http://ishuonweb.wordpress.com/). 




-- 
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/). 




-- 
Thanks & Regards,
Novice (http://ishuonweb.wordpress.com/). 

Reply via email to