view png.h @ 1532:b505083dcd87

Added png screenshot support
author Michael Pavone <pavone@retrodev.com>
date Sat, 24 Mar 2018 19:40:51 -0700
parents
children 0ec89dadb36d
line wrap: on
line source

#ifndef PNG_H_
#define PNG_H_

void save_png24(FILE *f, uint32_t *buffer, uint32_t width, uint32_t height, uint32_t pitch);
void save_png(FILE *f, uint32_t *buffer, uint32_t width, uint32_t height, uint32_t pitch);

#endif //PNG_H_