ee-strip-png

0.1.1 • Public • Published

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 ){

} );

Dependencies (5)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i ee-strip-png

    Weekly Downloads

    3

    Version

    0.1.1

    License

    none

    Last publish

    Collaborators

    • ee