2015-12-29 15:32:51 +01:00
|
|
|
#ifndef _IMAGE_IO_H_
|
|
|
|
#define _IMAGE_IO_H_
|
|
|
|
|
|
|
|
#include "common.h"
|
|
|
|
#include "drawing/drawing.h"
|
|
|
|
|
2015-12-29 17:21:08 +01:00
|
|
|
bool image_io_png_read(uint8 **pixels, uint32 *width, uint32 *height, const utf8 *path);
|
|
|
|
|
2015-12-29 15:32:51 +01:00
|
|
|
bool image_io_png_write(const rct_drawpixelinfo *dpi, const rct_palette *palette, const utf8 *path);
|
|
|
|
bool image_io_bmp_write(const rct_drawpixelinfo *dpi, const rct_palette *palette, const utf8 *path);
|
|
|
|
|
|
|
|
#endif
|