ee-strip-png

remove all not required data like metadata from a png image

ee-strip-png

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

npm install ee-strip-png
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 ){

} );