added support for palettes (untested)
This commit is contained in:
parent
0320618494
commit
3420c1a544
3 changed files with 72 additions and 4 deletions
|
@ -15,4 +15,11 @@ struct metadata
|
|||
char interface;
|
||||
};
|
||||
|
||||
struct color
|
||||
{
|
||||
unsigned char r = 0;
|
||||
unsigned char g = 0;
|
||||
unsigned char b = 0;
|
||||
};
|
||||
|
||||
void read_png(const std::string &file_path, buffer_unsigned &data);
|
Loading…
Add table
Add a link
Reference in a new issue