omage 0.3.11

`omage` is a Rust library for image processing. It provides functionality for handling images, drawing basic shapes, and configuring image properties.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use image::Rgba;

/// Represents the RGBA color red.
pub const RED: Rgba<u8> = Rgba([255, 0, 0, 255]);
/// Represents the RGBA color black.
pub const BLACK: Rgba<u8> = Rgba([0, 0, 0, 255]);
/// Represents the RGBA color purple.
pub const PURPLE: Rgba<u8> = Rgba([150, 0, 150, 255]);
/// Represents the RGBA color green.
pub const GREEN: Rgba<u8> = Rgba([0, 255, 0, 255]);
/// Represents the RGBA color white.
pub const WHITE: Rgba<u8> = Rgba([255, 255, 255, 255]);