ImageScript

zero-dependency JavaScript image manipulation

Discord Server Documentation Github deno.land
NPM


ImageScript is a zero-dependency alternative to common JavaScript bitmap image manipulation tools. It can achieve much more performant results by utilizing lower-level memory access, less memory copying and WebAssembly for compression and encoding.


Features

  • Loading PNGs (grayscale, RGB, indexed colors) with alpha support
  • Loading JPEGs
  • Rendering SVGs
  • Rendering vector fonts
  • Image manipulation functions (crop, rotate, composite, ...)
  • Color manipulation functions (invert, shiftHue, ...)
  • Encoding images as PNGs, JPEGs and GIFs

Example

Output


If you have any additional questions, feel free to join the discord support server.