Expand description
Image Viewer
Displays PPM (P3/P6) and BMP images with scaling support.
Structs§
- Image
- Decoded image stored as BGRA
u32pixels. - Image
Viewer - Image viewer application state.
Enums§
- Image
Format - Supported image formats.
- Image
Viewer Action - Action produced by image viewer interaction.
- Image
Viewer State - State of the viewer.
Functions§
- detect_
image_ format - Detect image format from the first bytes of the data.
- nearest_
neighbor_ scale - Scale an image to
dst_width x dst_heightusing nearest-neighbor sampling.