On Mon, Mar 31, 2008 at 08:50:51AM -0400, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> for(&page = 1; $page<= $pagecount; $page++){
> exec('pdf2swf -s flatten -s jpegquality=90 -s jpegdpi=150 -s insertstop -s
> languagedir=xpdf-greek -p '.$page.' test.pdf -o page'.$page.'.swf', $status);
> }
Is "-s flatten" supposed to be "--flatten"?
Be careful with that option- it's still experimental and highly
unstable.
> but it does not converts all of the pages, the pdf file has 57 pages
> and it stops sometimes into page 7 sometimes 13 or something like
> this.
Well, what's the error message due to which it's stopping? Since the
process is running in an exec(), problems with pdf2swf itself shouldn't
influence whether or not the loop breaks.
Greetings
Matthias