Nature Preceded Machines
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

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

} );

Keywords

none

install

npm i ee-strip-png

Downloadsweekly downloads

2

version

0.1.1

license

none

repository

githubgithub

last publish

collaborators

  • avatar