⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module image_viewer

Module image_viewer 

Source
Expand description

Image Viewer

Displays PPM (P3/P6) and BMP images with scaling support.

Structs§

Image
Decoded image stored as BGRA u32 pixels.
ImageViewer
Image viewer application state.

Enums§

ImageFormat
Supported image formats.
ImageViewerAction
Action produced by image viewer interaction.
ImageViewerState
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_height using nearest-neighbor sampling.