CGVIS Utils
Loading...
Searching...
No Matches
Image.h File Reference

Lightweight image container with basic processing utilities. More...

#include <stdint.h>
#include <vector>
#include <string>
#include "Vec4.h"
Include dependency graph for Image.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Image

Detailed Description

Lightweight image container with basic processing utilities.

Holds interleaved 8‑bit pixel data for 1–4 channels and provides helpers for value access, alpha generation, grayscale conversion, ASCII art export, simple resampling/cropping, flipping, and convolution filtering.

Pixels are stored in row‑major order with contiguous interleaved components per pixel. Component semantics follow RGB(A) when componentCount ≥ 3.