Skip to content
remove all data parts from a png image except the required ones
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
LICENCE
README.md
index.js
package.json
test.js

README.md

ee-strip-png

remove all data parts from a png image except the required ones

installation

npm install ee-strip-png

usage

var   fs            = require( "fs" )
    , pngStripper   = require( "ee-strip-png" );


// read png from a stream
pngStripper(  fs.createReadStream( "./test/qr.png" ), function( cleanedPNGBuffer ){

} );


// read png from a buffer
pngStripper( fs.readFileSync( "./test/qr.png" ), function( cleanedPNGBuffer ){

} );
Something went wrong with that request. Please try again.