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