Hi Jake, What does --flatten do and why couldn't you live without it. It doesn't seem to make much difference to my conversions but then I don't know what I should be looking for ;-) Tony
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jake Hilton Sent: April 1, 2008 3:43 PM To: [email protected] Subject: Re: [Swftools-common] Page wise conversion I use --flatten every day.. it has saved me countless headaches with pdf conversion... I know it's experimental.. but I honestly couldn't live without it. Thanks for including it Matthias! Jake On Mon, Mar 31, 2008 at 2:14 PM, Matthias Kramm <[EMAIL PROTECTED]> wrote: 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 No virus found in this incoming message. Checked by AVG. Version: 7.5.519 / Virus Database: 269.22.3/1354 - Release Date: 01/04/2008 5:38 AM
