h_image

Crates.ioh_image
lib.rsh_image
version0.1.0
sourcesrc
created_at2022-07-25 00:27:55.417731
updated_at2022-07-25 00:27:55.417731
descriptionpixel perfect drawing library written in Rust using only CPU
homepage
repositoryhttps://github.com/baehyunsol/drawer
max_upload_size
id632271
size31,536
(baehyunsol)

documentation

README

(Unnamed Image Library)

Pixel perfect image manipulation library.

It's not meant for real-time applications!

It aims to be pixel-perfect.

For that, it tries not to use floating point values when handling pixels.

It's not GPU-accelerated!

Other crates that it's using under the hood might use GPUs, but it does not.

It uses image crate for image IO. And font-kit for rasterizing fonts.

Features

  • Import/Export
    • Most image formats, thanks to the image crate.
    • SVG format
    • Videos
  • Pixel by pixel manipulation
  • 32bit RGBA Colors
    • Mono
    • Gradient colors.
  • Drawing basic shapes
    • Pixel perfect circles
      • Filled
      • Outline
    • Pixel perfect rectangles
      • Filled
      • Outline
    • Pixel perfect ellipses
      • Filled
      • Outline
    • Pixel perfect triangles
      • Filled
      • Outline
    • Pixel perfect lines
  • Filters
    • It's possible to add filters manually.
    • There's no any built-in filter yet.
  • Transformation
    • Blit
    • Mask
    • Crop
    • Pixel perfect scaling
    • Pixel perfect rotation
  • Fonts
    • Read .otf and .ttf files
    • Background color
    • Underline
    • Outline
Commit count: 17

cargo fmt