//! Pixmap — compatibility shim.
//!
//! Re-exports from `crate::micropdf::pixmap`.
pub use crate::micropdf::pixmap::MpPixmap as Pixmap;
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_shim_reexport() {
let cs = crate::fitz::colorspace::Colorspace::device_rgb();
let pm = Pixmap::new(Some(cs), 10, 10, false).unwrap();
assert_eq!(pm.width(), 10);
assert_eq!(pm.height(), 10);
}
}