Skip to content
/ goblin Public

Simple decoder library for indexed PNG images

License

Notifications You must be signed in to change notification settings

allsopp/goblin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goblin

test

Simple decoder library for indexed PNG images

int goblin__img_stat(const char *path, size_t *bytes, uint32_t *width, uint32_t *height);
int goblin__img_load(const char *path, uint8_t *rgba);
const char *goblin__strerror(int);

Description

A simple PNG decoder library written in C99 that implements just enough of the PNG specification to decode indexed PNG files and write the bitmap data into a uint8_t * buffer of sufficient size.

About

Simple decoder library for indexed PNG images

Resources

License

Stars

Watchers

Forks