Closed gCurtisCT closed 9 years ago
IWA files are stored in Snappy's framing format
means that you should be able to use https://www.npmjs.com/package/snappy-stream to decompress - but if they're not following the spec it'll be a bit of a challenge...
Yeah, snappy-stream gives me Error: malformed input: must begin with an identifier
, which is what the quote says is missing.
@gCurtisCT sorry I can't help you with this. snappy-stream
follow the spec, but this format doesn't. Maybe it's possible to fork snappy-stream
and addap the uncompression to the way it's formatted in this file format? IDK.
Apparently, iWork IWA files don't totally adhere to snappy standards https://github.com/obriensp/iWorkFileFormat/blob/master/Docs/index.md#iwa
When I try to uncompress an .iwa file, like so:
I get
[Error: Invalid input]
. I'm assuming it's checking what the iWork does not adhere to?Or if there's something wrong with my code, please let me know.
The file was made from a Keynote v6.5.3
Here is the .iwa file as opened by a text editor, because I couldn't think of a better way to send it.