1.0.2-a • Published 9 years ago
swfjpg v1.0.2-a
swfjpg
tool for extracting masked JPEGs from swfs, because swfextract can't.
cli usage
Usage: swfjpg [options] <files...>
Options:
-o <string>
Specifies output directory
-N
Don't create subdirectories
node usage
var swfjpg = require("swfjpg")
//buffer, string, number, function
swfjpg("path/to.swf", function(data, type, id, callback) {
// data parsed
fs.writeFile(id + "." + id, data, callback);
console.log("Saving", id, "which is a", type);
}, function(error) {
// done
console.log("Parsed all JPGs!");
});
installation
requires npm
stable
npm install -g swfjpg
edge
git clone https://github.com/yukimono/swfjpg.git
cd swfjpg
npm install -g