9 releases

Uses new Rust 2024

new 0.1.8 Apr 30, 2025
0.1.7 Apr 30, 2025
0.1.3 Mar 30, 2025

#131 in No standard library

Download history 296/week @ 2025-03-26 16/week @ 2025-04-02 9/week @ 2025-04-09 9/week @ 2025-04-16 309/week @ 2025-04-23

370 downloads per month

MIT license

20KB
414 lines

NImage

NImage is a crate that provides basic image processing functions.

Inspired by image crate.

It's no_std compatible, but still depends on alloc.

Features

  • TGA image import
  • PNG image import (requires std)
  • Drawing and getting pixels on image
  • Resizing images (bilinear algorithm)
  • Flipping images vertically and horizontally
  • Rotating images (by 90 deg, left and right)
  • Cutting (cropping) images

Dependencies

~1–1.8MB
~30K SLoC