pjk

pixel-js-k

``` npm install ``` ### Test ``` node test/test ``` ``` const pixelJS = require('pixel-js')

Showing:

Popularity

Downloads/wk

0

Maintenance

No Maintenance Data Available

Package

Dependencies

2

Size (min+gzip)

36.3KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

pixel-js

Dependency

npm install

Test

node test/test
const pixelJS = require('pixel-js')

let bmp = new pixelJS()
bmp.Load('./test/RED.BMP')

let pixels = bmp.Pixels
for (let i = 0, h = bmp.Height; i < h; i++) {
    for (let j = 0, w = bmp.Width; j < w; j++) {
        let c = pixels[i][j]
        c.rgb = [0, 0, 255]
    }
}

bmp.Save('./test/BLUE.bmp')

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100