mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-12-02 18:46:52 +00:00
12 lines
404 B
C
12 lines
404 B
C
#pragma once
|
|
|
|
#include "base/basictypes.h"
|
|
#include "image/zim_load.h"
|
|
|
|
// SaveZIM's responsibility:
|
|
// * Write the ZIM format
|
|
// * Generate mipmaps if requested
|
|
// * Convert images to the requested format
|
|
// Input image is always 8888 RGBA. SaveZIM takes care of downsampling and mipmap generation.
|
|
void SaveZIM(const char *filename, int width, int height, int pitch, int format, const uint8_t *image);
|