swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] textsnapshot behavior on converted swfs


From: Chris Flowers
Subject: Re: [Swftools-common] textsnapshot behavior on converted swfs
Date: Sat, 19 Nov 2005 00:13:32 -0500

----- Original Message -----
From: "Ajay H. Daptardar" <address@hidden>
To: <address@hidden>
Sent: Friday, November 18, 2005 4:20 PM
Subject: [Swftools-common] textsnapshot behavior on converted swfs


> Hi,
>
> Converting a pdf file to a swf using the pdf2swf version 0.6.3 allows
> one to search within the generated swfs using the  ActionScript
> function MovieClip.getTextSnapshot(). This function will allow you to
> find all occurences of a word/text on a page by drawing a highlight
> box around the word/text.
>
> However if you were to use version 0.7.0 to generate the swf and then
> try using textsnapshot, it
> will find the locations (as in the index, within the entire text
> block, of the first character) but it will not highlight the bounding
> box.
>
> One key difference in between the two swfs is the file size, some of
> the swfs generated using version 0.6.3 are at least three times as the
> ones generated using version 0.7.0 even after using the -z option to
> compress the swf.
>
> I looked at the changelog but did not find any relevant information.
>
> What changed from version 0.6.3 to 0.7.0 that is causing this ?
>
> Thanks
> Ajay
>
>
> _______________________________________________
> Swftools-common mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/swftools-common


Thanks for bringing MovieClip.getTextSnapshot() to my attention I did not
know this function existed.

As to the 0.6.3 vs 0.7.0 filesizes, I also noticed this. I had a 10MB swf
drop to 5.4 MB under 0.7.0
I was also unable to find the reason but I "think" it may be a jpg change to
the compression quality defaults?

Chris








reply via email to

[Prev in Thread] Current Thread [Next in Thread]