mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-27 21:29:54 +00:00
Re-export common RGBA pixel types
This commit is contained in:
@@ -10,7 +10,7 @@ use image::{ImageReader, Limits as ImageLimits, RgbaImage};
|
||||
|
||||
use crate::CodecError;
|
||||
|
||||
pub use image::RgbaImage as Pixels;
|
||||
pub use image::{Rgba as Pixel, RgbaImage as Pixels};
|
||||
|
||||
/// Limits applied before allocating the decoded image.
|
||||
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||
|
||||
Reference in New Issue
Block a user