deno_image

Crates.iodeno_image
lib.rsdeno_image
version0.4.0
created_at2026-01-05 12:53:19.053134+00
updated_at2026-01-22 20:13:11.585223+00
descriptionImage handling implementation for Deno
homepage
repositoryhttps://github.com/denoland/deno
max_upload_size
id2023776
size106,781
Bartek IwaƄczuk (bartlomieju)

documentation

README

deno_image

Extension that implements various image processing related APIs.

Image processing architecture in Rust

flowchart LR
  Input["input binary<br/>( &[u8] )"]
  II["intermediate image<br/>( DynamicImage )"]
  Ops["processing pixel<br/>( ImageBuffer< P, S > )"]
  Output["output binary<br/>( Box<[u8]> )"]
  Input --> II
  II --> Ops --> II
  II --> Output

The architecture of image processing in Rust is rely on the structure of image crate.
If the input is a image of binary, it convert to an intermediate image (DynamicImage in image) with using a decoder corresponding to its image formats.
After converting to an intermediate image, it can process various way for example, to use the pixel processong operation imageops supplied by image.
On the other hand, there can also to implement your own pixel processong operation to refer to the implementation of imageops as here or image_ops.rs module.
You can treat any bit depth that supported by image with generics in the processing pixel layer.

Commit count: 14807

cargo fmt