Overview of ImageScript features
masterImageScript is a zero-dependency JavaScript library for bitmap image manipulation. It is designed for high performance by using lower-level memory access, minimizing memory copying, and utilizing WebAssembly or native binaries for decoding and encoding tasks.
Key capabilities include:
- Decoding: Supports PNG (grayscale, RGB, indexed colors, with/without alpha), JPEG (grayscale, RGB, CMYK), TIFF, and GIF.
- Rendering: Supports SVG rendering and vector font rendering.
- Manipulation: Includes functions for
crop,rotate,composite, and more. - Color Operations: Includes
invert,hueShift, and color information functions likeaverageColoranddominantColor. - Encoding: Supports encoding images as PNG, JPEG, WEBP, and GIF.