devela/media/image/sixel/mod.rs
1// devela::media::image::sixel
2//
3//! [Sixel] encoding functionality.
4//!
5//! [Sixel]: https://en.wikipedia.org/wiki/Sixel
6#![doc = crate::doc_!(vendor: "icy_sixel")]
7//
8
9mod builder; // Sixel
10mod dither; // Dither, DitherConf…
11mod error; // SixelError
12mod quant;
13mod output; // Sixel, SixelMean, SixelQuality, SixelSplit
14
15///
16const SIXEL_PALETTE_MAX: usize = 256;
17
18crate::items! { // structural access: _mods, _all
19 #[allow(unused)]
20 pub use _mods::*;
21
22 mod _mods { #![allow(unused)]
23 pub use super::{builder::*, dither::*, error::*, output::*, quant::*};
24 }
25 pub(super) mod _all {
26 #[doc(inline)]
27 pub use super::_mods::*;
28 }
29}