binary_image 0.1.0

A library for handling binary images
Documentation

binary_image

A Rust library for handling binary images (black and white). This library provides efficient structures and operations for manipulating binary pixel data, making it suitable for image processing tasks.

Features

  • Binary Pixel Representation: Efficiently represent and manipulate binary pixels using BinaryPixel and Bit structures.
  • Conversion: Easily convert between bool, Bit, and BinaryPixel types.
  • Image Processing: Convert pixels to various formats such as RGB, grayscale, and more.
  • Trait Implementations: Implements traits from the num_traits crate for numeric operations and conversions.

Installation

Add the following to your Cargo.toml:

[dependencies]
binary_image = "0.1.0"

License

  • MIT License
  • Apache License 2.0