Type Alias ImageInfo
pub type ImageInfo = Handle<SkImageInfo>;Expand description
Describes pixel dimensions and encoding. crate::Bitmap, crate::Image, crate::Pixmap,
and crate::Surface can be created from ImageInfo. ImageInfo can be retrieved from
crate::Bitmap and crate::Pixmap, but not from crate::Image and crate::Surface.
For example, crate::Image and crate::Surface implementations may defer pixel depth, so
may not completely specify ImageInfo.
ImageInfo contains dimensions, the pixel integral width and height. It encodes how pixel
bits describe alpha, transparency; color components red, blue, and green; and ColorSpace,
the range and linearity of colors.
Aliased Typeยง
pub struct ImageInfo(/* private fields */);