You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
381 B
C
15 lines
381 B
C
5 years ago
|
#ifndef IMAGE_PNG_H
|
||
|
#define IMAGE_PNG_H
|
||
|
|
||
5 years ago
|
#include "image.h"
|
||
|
extern structImageProcess ImageProcess;
|
||
|
|
||
5 years ago
|
// @see http://www.libpng.org/pub/png/spec/1.2/PNG-Structure.html
|
||
|
const char ImageHeaderPNG[] = "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A";
|
||
|
|
||
5 years ago
|
void setupImagePNG();
|
||
5 years ago
|
void pngOpenFramebuffer();
|
||
|
void pngWriteFramebuffer(int offset, uint8_t bitmap[], int c);
|
||
|
void pngFlushFramebuffer();
|
||
5 years ago
|
|
||
|
#endif
|