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