Trait FromOptions
load_image
pub trait FromOptions<T> { fn from_opts(t: T, options: ImageMeta) -> Self; }
Convert ImgVec to an Image by providing metadata
ImgVec
Image
fn from_opts(t: T, options: ImageMeta) -> Self
impl FromOptions<Img<Vec<u8, Global>>> for Image
fn from_opts(bitmap: ImgVec<u8>, meta: ImageMeta) -> Image
impl FromOptions<Img<Vec<u16, Global>>> for Image
fn from_opts(bitmap: ImgVec<u16>, meta: ImageMeta) -> Image
impl FromOptions<Img<Vec<Gray<u8>, Global>>> for Image
fn from_opts(bitmap: ImgVec<GRAY8>, meta: ImageMeta) -> Image
impl FromOptions<Img<Vec<Gray<u16>, Global>>> for Image
fn from_opts(bitmap: ImgVec<GRAY16>, meta: ImageMeta) -> Image
impl FromOptions<Img<Vec<GrayAlpha<u8, u8>, Global>>> for Image
fn from_opts(bitmap: ImgVec<GRAYA8>, meta: ImageMeta) -> Image
impl FromOptions<Img<Vec<GrayAlpha<u16, u16>, Global>>> for Image
fn from_opts(bitmap: ImgVec<GRAYA16>, meta: ImageMeta) -> Image
impl FromOptions<Img<Vec<RGB<u8>, Global>>> for Image
fn from_opts(bitmap: ImgVec<RGB8>, meta: ImageMeta) -> Image
impl FromOptions<Img<Vec<RGB<u16>, Global>>> for Image
fn from_opts(bitmap: ImgVec<RGB16>, meta: ImageMeta) -> Image
impl FromOptions<Img<Vec<RGBA<u8, u8>, Global>>> for Image
fn from_opts(bitmap: ImgVec<RGBA8>, meta: ImageMeta) -> Image
impl FromOptions<Img<Vec<RGBA<u16, u16>, Global>>> for Image
fn from_opts(bitmap: ImgVec<RGBA16>, meta: ImageMeta) -> Image