swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] Re: Reading the header of a SWF file created by PDF2SW


From: Bill Hall
Subject: [Swftools-common] Re: Reading the header of a SWF file created by PDF2SWF
Date: Sat, 7 Jun 2008 19:06:57 -0400

Tony,
  The problem you are having with the width and height is because the SWFis compressed.   The "CWS" signature tells you that the swf is compressed (Gzip), "FWS" is an uncompressed SWF.
  All the bytes after the 4th byte  are compressed.   i.e.  "CWS" "versionbyte"  then all are compressed.   the signature and SWF version (1st 4 bytes of the file) are not compressed.
   swfdump -d filenamein.swf -o filenameout.swf   will decompress the file.
 

reply via email to

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