2013-04-18 03:09:55 +00:00
|
|
|
// Copyright 2013 Dolphin Emulator Project
|
|
|
|
// Licensed under GPLv2
|
|
|
|
// Refer to the license.txt file included.
|
2008-12-08 04:46:09 +00:00
|
|
|
|
|
|
|
#ifndef _IMAGEWRITE_H
|
|
|
|
#define _IMAGEWRITE_H
|
|
|
|
|
2008-12-26 12:27:58 +00:00
|
|
|
#include "Common.h"
|
|
|
|
|
2008-12-08 04:46:09 +00:00
|
|
|
bool SaveData(const char* filename, const char* pdata);
|
2013-11-15 00:00:38 +00:00
|
|
|
bool TextureToPng(u8* data, int row_stride, const char* filename, int width, int height, bool saveAlpha = true);
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2009-02-24 05:20:52 +00:00
|
|
|
#endif // _IMAGEWRITE_H
|
|
|
|
|