0.0.1 • Published 10 years ago
pixel-bmp v0.0.1
pixelBitmap

Parse Bitmap to ImageData in cross-platform.
Installation
$ npm install pixel-bmp --savevar pixelBitmap= require('pixel-bmp');
console.log(pixelBitmap); //objectAPI
pixelBitmap.parse(file) -> promise.then(images)
return images is Array contains one or more ImageData.
Return the
objectinstead ofImageDatain Node.js
var file= 'https://59naga.github.io/fixtures/still.BMP';
pixelBitmap.parse(file).then(function(images){
console.log(images[0]);
});
// {width: 128, height: 128, data: <Uint8Array ..>}Unsupport
- 32bit bitmap
Related projects
License
0.0.1
10 years ago
0.0.0
10 years ago
0.0.0-alpha.3
10 years ago
0.0.0-alpha.2
10 years ago
0.0.0-alpha.1
10 years ago
0.0.0-alpha.0
10 years ago