[][src]Crate imaged

imaged is an image processing and storage library for working with a wide range of image types For more information see imaged

Getting started

use imaged::*;

fn run() -> Result<(), Error> {
    // Read image
    let image = Image::read_default("test.jpg")?;

    // Convert colorspace and type
    let a = image.convert(Color::HSV, Type::F(32))?;

    // Save image
    a.write("out.tiff")?;

    Ok(())
}

Re-exports

pub use halide_runtime as halide;
pub use sys::ImageMeta as Meta;
pub use sys::Pixel;

Modules

conf

Global configuration flags

sys

Raw imaged bindings

viewer

Structs

DB

DB wraps the libimaged's Imaged type

Handle

Handle wraps the ImagedHandle type

Image

Image type

Iter

Iterator over Imaged images

KeyIter

Iterator over Imaged keys

Enums

Color

Color defines an image's colorspace

Error

Crate-wide error type

Type

Type defines an image's underlying data type For example, Type::U(16) is uint16_t, Type::F(32) is float