pub use rgb::RGBA8;
mod error;
pub use crate::error::Error;
#[cfg(target_os = "macos")] mod macos;
#[cfg(target_os = "macos")] pub use crate::macos::*;
#[cfg(not(target_os = "macos"))]
pub fn decode_image_as_rgba_premultiplied(_file_data: &[u8]) -> Result<imgref::ImgVec<RGBA8>, Error> {
Err(Error::Unsupported)
}
#[cfg(not(target_os = "macos"))]
pub fn decode_image_as_rgba(_file_data: &[u8]) -> Result<imgref::ImgVec<RGBA8>, Error> {
Err(Error::Unsupported)
}
#[test]
fn poke() {
let _ = decode_image_as_rgba_premultiplied(&[]);
}