On Tue, 11 Sep 2012 18:03:50 +0200 Assaf Paneth <[email protected]> wrote: > Does anyone know what the results of swfdump -X , swfdump -Y are > based on? And how it works? When I parse the stage size as specified > in > http://www.adobe.com/content/dam/Adobe/en/devnet/swf/pdf/swf_file_format_spec_v10.pdf, > I get different results, and swfdump's gives results that fit my > system's needs better. > > Thanks, > Assaf.
swfdump gives you pixels. Compare the result of, swfdump -X -Y your.swf with the corresponding values in the XHTML object tag, given by, swfdump -E your.swf As Section 1, page 11 of the SWF format document states, by default, x, y, co-ordinates are normally referenced inside the SWF, as Twips, http://en.wikipedia.org/wiki/Twips The values you are seeing depend on exactly how you are 'parsing' your swf. The rest of section 1, starting on page 11, gives you a myriad of data types that you'll find for the various SWF Tags. Remember also that values, as can the whole SWF be both compressed and uncompressed. Since swfdump apparently gives you what you want. For now, at least, I'd save on the confusion and stick with that! ;o) HTH.. Regards, Chris. --------------- SWFTools-common is a self-managed list. To subscribe/unsubscribe, or amend an existing subscription, please kindly point your favourite web browser at:<http://lists.nongnu.org/mailman/listinfo/swftools-common>
