Thanks for your help, I changed something in my conversion process, now each page is generate one by one but not in the same time, it looks better for the CPU and the rendering.
However, I use this command line: $command = "pdf2swf -s poly2bitmap -s convertgradients -s disable_polygon_conversion -s bboxvars -s zoom=75 -s jpegquality=100 -s jpegdpi=100 -p " . ($pageNum+1) ." $pdfPath -o " . $swfFile." "; The option '-s disable_polygon_conversion doesn't seem to work, nothing different: all the lines, shapes and vectors are converted to bitmap, only the texts are still texts! It's not so bad but lines, it can be better if lines and borders can stay in vector graphics. (Sorry for my bad English ) Thanks Frédéric Levé - [E]cedi Ingénieur de développement 91 avenue de la République - 75011 Paris Ligne directe : 01 70 95 70 92 Standard : 01 70 95 70 70 Fax : 01 70 95 70 95 http://www.ecedi.fr -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Matthias Kramm Envoyé : vendredi 18 avril 2008 12:47 À : [email protected] Objet : Re: [Swftools-common] Some pages are not converted (pdf2swf) On Fri, Apr 18, 2008 at 11:04:13AM +0200, Frédéric LEVE - [E]cedi <[EMAIL PROTECTED]> wrote: > The problem seems to be resolved with 0.9.0 version, but I'm still looking > for a best way to use the -s poly2bitmap and -s convertgradients because > some pages have bad gradients render or too complex vector graphics. > A kind of "timeout" is appearing on big pdf files. Yes, I've been getting reports about pdf2swf getting stuck in a loop. So far, I've been unable to reproduce this. "-s disable_polygon_conversion" seems to help in some cases. Greetings Matthias
