This is a node binding for image
This package provides basic image processing functions and methods for converting to and from various image formats.
see supported-image-formats for more details
Format | From | To (untested) |
---|---|---|
AVIF | ||
BMP | ✓ | ✓ |
DDS | ||
Farbfeld | ✓ | ✓ |
GIF | ✓ | ✓ |
ICO | ✓ | ✓ |
JPEG | ✓ | ✓ |
OpenEXR * | ✓ | ✓ |
PNG | ✓ | ✓ |
PNM | ✓ | ✓ |
QOI | ✓ | ✓ |
Radiance HDR ** | ✓ | |
TGA | ✓ | ✓ |
TIFF | ✓ | ✓ |
WebP | ✓ |
*
: Error: The color Rgb32F can not be represented in PNG
**
: Lossy, not present in the Rust library
- use
TypedArray
for image data instead ofVec<u8>
to reduce unnecessary memory allocations