@my-jimp/png
TypeScript icon, indicating that this package has built-in type declarations

0.16.11 • Public • Published

@jimp/png

Default Jimp png encoder/decoder.

Available Methods

Jimp.deflateLevel

Sets the deflate level used when saving as PNG format (default is 9)

Jimp.deflateStrategy

Sets the deflate strategy used when saving as PNG format (default is 3)

Jimp.filterType

Sets the filter type used when saving as PNG format (default is automatic filters)

Jimp.colorType

Sets the color type used when saving as PNG format (one of 0, 2, 4, 6)

Filter Types

Jimp.PNG_FILTER_AUTO;
Jimp.PNG_FILTER_NONE;
Jimp.PNG_FILTER_SUB;
Jimp.PNG_FILTER_UP;
Jimp.PNG_FILTER_AVERAGE;
Jimp.PNG_FILTER_PATH;

Readme

Keywords

none

Package Sidebar

Install

npm i @my-jimp/png

Weekly Downloads

1

Version

0.16.11

License

MIT

Unpacked Size

257 kB

Total Files

14

Last publish

Collaborators

  • aleksey28