Thanks for your answer. Indeed, the dump outpout is huge for bad pages, more than 4 Mo for the text file, where as it is less than 100 or 200 Ko for other swf. So yes it is not really pretty but it is the only useable solution I have at this time.
Thanks Tony. I tried to join a zip file with the 2 problematic PDFs, but I have a mail delivery system e-mail in return (the address of swftools-common failed) Is there a limit size for the attachment files ? Regards 2009/1/8 Tony Stallan <[email protected]> > Hi Sylvain, > > Your PDF probably has many layers/objects which all get replicated in the > SWF on conversion. If you run swfdump you will see the difference between a > good/bad swf. > > Try dumping the output of swfdump to a text file, the size of the text file > is a reasonable indicator to identify "bad" PDF pages. Not pretty but it > helps. > > Regards > > Tony Stallan > > ------------------------------ > *From:* [email protected] [mailto: > swftools-common-bounces+tony <swftools-common-bounces%2Btony>= > [email protected]] *On Behalf Of *Sylvain Deniaud > *Sent:* Thursday, January 08, 2009 1:13 PM > *To:* [email protected] > *Subject:* [Swftools-common] Problem with some converted swf > > Hello, > > I have a problem with few swf converted by pdf2swf. > I have converted a PDF with just one page, but the flash player really has > difficulties to read the swf generated. > In fact, it use many CPU ressources and it take a long time to display the > swf (about 1 minute). > > Have you ever seen this point ? > > If I convert the PDF with -O1 option, the swf is nice and there is no > problem with it. > So, is there a solution to fix the problem and to generate good swf ? > Or else, I search for a way to identify the few wrong swf before I load > them in my program > (because if I load a wrong swf, it will use too many ressources on the > computer of the user of my application) > in order to re-convert the pdf with -O1 > > The decompressed size of "wrong" swf is heavier than good swf. It's maybe > an indicator for identification. > But I don't know how to get the decompressed size of a swf file in > actionscipt. > > I have 2 examples of one-page PDF wich give me a "bad" swf. Maybe can I > send them by email ? > (and the 2 swf generated) > > > Greetings > > > (sorry for my poor english) > > -- > Sylvain Deniaud > Ingénieur Etude et Développement RIA > > -- Sylvain Deniaud Ingénieur Etude et Développement RIA <[email protected]>
