Skip to main content
Deno 2 is finally here 🎉️
Learn more

ImageScript

zero-dependency JavaScript image manipulation

NPM Version JSR Version Documentation Github Discord Server


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 / native binaries for decoding and encoding.


Features


Example

import {Image} from "jsr:@matmen/imagescript";

const input = await Deno.readFile('./image.png');
const image = await Image.decode(input);
image.rotate(180);

const output = await image.encode();
await Deno.writeFile('./output.png', output);

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