python-archieve-projects/WechatBot/node_modules/@jimp/png
Lee2vv 0b82373111 init 2024-05-05 13:46:50 +08:00
..
dist init 2024-05-05 13:46:50 +08:00
src init 2024-05-05 13:46:50 +08:00
test init 2024-05-05 13:46:50 +08:00
CHANGELOG.md Backup 2023-08-18 21:52:54 +08:00
LICENSE Backup 2023-08-18 21:52:54 +08:00
README.md Backup 2023-08-18 21:52:54 +08:00
index.d.ts Backup 2023-08-18 21:52:54 +08:00
package.json Backup 2023-08-18 21:52:54 +08:00

README.md

@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;