pngz
easy png io library that converts all images into 8 bit RGBA.
Loading...
Searching...
No Matches
PNGZ_Image Struct Reference

easy png based image structure. More...

#include <pngz.h>

Collaboration diagram for PNGZ_Image:

Data Fields

const char * path
 default path to load from and save to
 
PNGZ_Pixel ** pixels
 [height][width] pixel buffer (Y, X)
 
unsigned height
 png height in pixels (Y domain)
 
unsigned width
 png width in pixels (X domain)
 

Detailed Description

easy png based image structure.

always contains RGBA8 color (0x0 - 0xFFFFFF). pixel buffer is [height][width] pixels ([rows][cols])

Definition at line 24 of file pngz.h.

Field Documentation

◆ height

unsigned PNGZ_Image::height

png height in pixels (Y domain)

Definition at line 30 of file pngz.h.

◆ path

const char* PNGZ_Image::path

default path to load from and save to

Definition at line 26 of file pngz.h.

◆ pixels

PNGZ_Pixel** PNGZ_Image::pixels

[height][width] pixel buffer (Y, X)

Definition at line 28 of file pngz.h.

◆ width

unsigned PNGZ_Image::width

png width in pixels (X domain)

Definition at line 32 of file pngz.h.


The documentation for this struct was generated from the following file: