On Wed, Sep 2, 2009 at 5:11 PM, filip sound
<address@hidden> wrote:
hi,
i'm testing the latest snapshot of swftools.
pdf2swf produces many unused shapes behind images and the main background in its latest version.
i've developed a editor (as3) that lists all objects of a loaded swf and gives the ability to outline and/or hide them separately... this seems to be an efficient way to debug generated swf files.
i'm using the same options with both versions that i'm comparing (ignore the php variables):
pdf2swf -G -s linkfunction -z -f -t -T 9 -j $quality -p $i $pdfFilePath -o $swfFilePath
version 2009-04-01-0957: 13 shapes (test page 1), 11 shapes (test page 2)
latest snapshot: 38 shapes (test page 1), 26 shapes (test page 2)
in short: 13 vs. 38, 11 vs. 26 shapes.
which results in a quite significant performance loss in many applications that use pdf2swf ...
maybe someone can give insight to any possible explanation why/if those invisible shapes are needed/there.
thanks for your patience,
filip