Skip to main content

Crate rawshift_core

Crate rawshift_core 

Source
Expand description

Shared core types for the rawshift image/video processing libraries.

This crate holds pure, stateless data structures with no decoding logic: geometry (image::Size, image::Point, image::Rect), pixel sample types (pixel), CFA patterns, the raw/RGB image containers, and the format-agnostic metadata model. It is depended on by both rawshift-image and rawshift-video so they share one vocabulary of types without either pulling in the other.

Re-exports§

pub use codec::CodecDirection;
pub use codec::CodecId;
pub use codec::CodecInfo;
pub use codec::MetadataEmbedOptions;
pub use color::BitDepth;
pub use color::ColorSpace;
pub use image::XTransPattern;
pub use metadata::ImageMetadata;
pub use metadata::MetadataEntry;
pub use metadata::MetadataExtractor;
pub use metadata::MetadataKey;
pub use metadata::MetadataNamespace;
pub use metadata::MetadataValue;
pub use pixel::FromF32;
pub use pixel::Rgb;
pub use pixel::Rgb8;
pub use pixel::Rgb16;
pub use pixel::RgbF32;
pub use pixel::Rgba;
pub use pixel::Rgba8;
pub use pixel::Rgba16;
pub use pixel::RgbaF32;
pub use pixel::Sample;

Modules§

codec
Codec identity and shared encode vocabulary.
color
Color space and bit-depth descriptors shared across image and video.
image
Core image structures and types.
metadata
Unified metadata types for image formats.
pixel
Pixel type system for generic image processing.