Skip to content

anzerr/bmp.util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

GitHub Actions status | publish

Util to encode and decode bmp in nodejs

Install

npm install --save git+https://github.com/anzerr/bmp.util.git
npm install --save @anzerr/bmp.util

Example

const bmp = require('bmp.util');
let data = fs.readFileSync('image.bmp');
let decode = bmp.decode(data);
let encode = bmp.encode(decode);
fs.writeFileSync('copy.bmp', encode.data);