1.1.0 • Published 7 years ago

png_colour_type v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

png-colour-type

Gets the colour type of a PNG

Usage:

asynchronous

Errors are reported, except for close error.

var png_colour_type = require('png_colour_type');

png_colour_type.withPromise('path/to/file.png')
.then(colourType => {
    // something something darkside.
});
synchronous

For simplistity and less overhead, there is no internal catching of file system errors.

var png_colour_type = require('png_colour_type');

var colourType = png_colour_type('path/to/file.png');
1.1.0

7 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago