Struct native_windows_gui::ImageSource [−][src]
pub struct ImageSource {
pub decoder: *mut IWICBitmapDecoder,
}Expand description
Represents a image data source in read only mode.
Fields
decoder: *mut IWICBitmapDecoderImplementations
Return the number of frame in the image. For most format (ex: PNG), this will be 1. It might be more than 1 in animated image formats (such as GIFs).
Return the image data of the requested frame in a ImageData object.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ImageSourceimpl !Send for ImageSourceimpl !Sync for ImageSourceimpl Unpin for ImageSourceimpl UnwindSafe for ImageSource