precomp-cpp icon indicating copy to clipboard operation
precomp-cpp copied to clipboard

Support more ZLIB compressed data types in SWF

Open schnaader opened this issue 9 years ago • 2 comments

There are several types of data inside SWF that are compressed using ZLIB according to the specification:

  • JPGs with alpha channel (page 139, "DefineBitsJPEG3")
  • Lossless compressed bitmap data (pages 139 + 140, "DefineBitsLossless")
  • Lossless compressed bitmap data with alpha channel (page 142, "DefineBitsLossless2")
  • Alpha data for JPG/PNG/GIF images (page 143, "DefineBitsJPEG4")
  • Video data (page 208 ff., "Screen Video bitstream format", page 212 ff. "Screen Video V2 bitstream format")

These are detected in intense mode, but it would be useful to extend the parser to detect them in normal mode, too.

schnaader avatar Mar 19 '16 17:03 schnaader

Useful tool to analyse SWF files for this: Adobe SWF Investigator

schnaader avatar Mar 21 '16 12:03 schnaader

Is SWF still a thing? Maybe this issue no longer needs to be addressed...

M-Gonzalo avatar Dec 30 '19 16:12 M-Gonzalo