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