1.0.0 • Published 6 years ago

bitmap-transformer-igloo v1.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

Project Description

An npm package to apply transformations to bitmap images.  Includes an invert, a grayscale, and a luminosity filter.

Contributers

Charlie Heiner and Jen Lipton.

Developers

How to Get Started

Create a new instance of the BitmapTransformer class, which takes your file buffer as its parameter.

How to Use API

Apply the .transform() method on your new class, and pass your chosen transform method in as a parameter.  Either invert, grayscale, or luminosity.
const bitmap = new BitmapTransformer(buffer);

bitmap.transform(invert);