Skip to content

Commit

Permalink
Hide 16bpc buffer aliases from public API
Browse files Browse the repository at this point in the history
  • Loading branch information
aschampion committed Dec 8, 2019
1 parent a688199 commit 98cd35a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/buffer.rs
Expand Up @@ -1077,13 +1077,13 @@ pub(crate) type BgrImage = ImageBuffer<Bgr<u8>, Vec<u8>>;
/// Sendable Bgr + alpha channel image buffer
pub(crate) type BgraImage = ImageBuffer<Bgra<u8>, Vec<u8>>;
/// Sendable 16-bit Rgb image buffer
pub type Rgb16Image = ImageBuffer<Rgb<u16>, Vec<u16>>;
pub(crate) type Rgb16Image = ImageBuffer<Rgb<u16>, Vec<u16>>;
/// Sendable 16-bit Rgb + alpha channel image buffer
pub type Rgba16Image = ImageBuffer<Rgba<u16>, Vec<u16>>;
pub(crate) type Rgba16Image = ImageBuffer<Rgba<u16>, Vec<u16>>;
/// Sendable 16-bit grayscale image buffer
pub type Gray16Image = ImageBuffer<Luma<u16>, Vec<u16>>;
pub(crate) type Gray16Image = ImageBuffer<Luma<u16>, Vec<u16>>;
/// Sendable 16-bit grayscale + alpha channel image buffer
pub type GrayAlpha16Image = ImageBuffer<LumaA<u16>, Vec<u16>>;
pub(crate) type GrayAlpha16Image = ImageBuffer<LumaA<u16>, Vec<u16>>;

#[cfg(test)]
mod test {
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Expand Up @@ -54,10 +54,6 @@ pub use buffer::{ConvertBuffer,
Pixel,
RgbImage,
RgbaImage,
Rgb16Image,
Rgba16Image,
Gray16Image,
GrayAlpha16Image,
};

pub use flat::FlatSamples;
Expand Down

0 comments on commit 98cd35a

Please sign in to comment.