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

easy png structure. More...

#include <pngz.h>

Collaboration diagram for pngz:

Data Fields

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

Detailed Description

easy png structure.

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

Definition at line 23 of file pngz.h.

Field Documentation

◆ height

unsigned pngz::height

png height in pixels (Y domain)

Definition at line 27 of file pngz.h.

◆ path

char* pngz::path

default path to load from and save to

Definition at line 25 of file pngz.h.

◆ pixels

pixel** pngz::pixels

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

Definition at line 31 of file pngz.h.

◆ width

unsigned pngz::width

png width in pixels (X domain)

Definition at line 29 of file pngz.h.


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