#![no_std]
#![forbid(unsafe_code)]
#![deny(missing_docs)]
mod dimensions;
mod error;
mod pixel;
mod plane;
mod rect;
mod sample;
#[cfg(kani)]
mod proofs;
pub use dimensions::Dimensions;
pub use error::{
GeometryError, GeometryResult, PixelLayoutError, PixelLayoutResult, StorageError, StorageResult,
};
pub use pixel::{
AlphaAssociation, ChromaOrder, ChromaSubsampling, GrayAlphaOrder, PixelLayout, PixelPlane,
RgbOrder, RgbaOrder,
};
pub use plane::{OutputLength, PlaneLayout, checked_plane_output_len};
pub use rect::ImageRect;
pub use sample::{BitOrder, ByteOrder, SampleClass, SampleStorage, StorageUnit};
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(any(test, feature = "std"))]
extern crate std;