6.3.0 (2025-02-01)
- correctly decode non-ASCII tEXt chunks (76391df)
6.2.0 (2023-07-18)
- add support for tRNS field on colour types 0 and 2 (ee5f451)
6.1.0 (2021-10-18)
6.0.1 (2021-10-12)
- set TypeScript target to ES2020 (255bc9e)
6.0.0 (2021-10-08)
- remove support for node 10 and 15
- use camelcase for acronyms
- remove support for node 10 and 15 (ad0bc8b)
5.0.4 (2021-03-26)
5.0.3 (2020-12-14)
- update pako to v2 (9a5712d)
5.0.2 (2020-02-28)
- support tRNS chunk for palette images (6d9e3ec)
5.0.1 (2019-11-12)
- update iobuffer to fix browser build (75d3e63)
5.0.0 (2019-11-12)
- update dependencies (39cf43e)
- Node.js 6 and 8 are no longer supported.
4.0.1 (2019-04-01)
- decode: set channels property of result (683d61a)
4.0.0 (2019-04-01)
-
- The components property has been replaced with channels, that includes alpha.
- The alpha property has been removed. It was unused after the previous change.
- The
bitDepth
field was renamed todepth
.
3.1.3 (2019-04-01)
3.1.2 (2019-03-29)
- undo breaking change: alpha can be 0 or 1 again (e82c80c)
3.1.1 (2019-03-27)
3.1.0 (2017-07-25)
- allow to specify zlib options - default level to 3 (70ec732)
3.0.0 (2017-07-13)
- The "tEXt" field returned by the decoder has been renamed to "text".
- The "kind" option was misleading and has been replaced by separate "components" and "alpha" options.
2.0.1 (2017-07-12)
- decoder: add missing byteOffset in IDAT decoding (fd1d302)
2.0.0 (2017-07-12)
- add CRC calculation and fix 16-bit encoding (d11fa54)
- detect endianess of the platform in decoder (4f74ee7)
- add a checkCrc option to the decoder (d920bc0), closes #7
- add support for decoding pHYs chunk (800d428)
- implement PNG encoder (00d1e3c)
- To be consistent with the encoder, the data array returned by the decoder is now a Uint16Array for 16-bit images.