Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 288 Bytes

bmpToData.md

File metadata and controls

17 lines (12 loc) · 288 Bytes

Decoding BMP image to the palette.

bmpToData(function callback)
  • callback call function after decoding.
Example:
var imageLib = require('./imageLib.js');

imageLib('./images/sample.bmp').bmpToData(function() {
	this.toPng('./images/simple.png');
});