summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ImageWrite.h
blob: 730b3f754027f1060630e2d986bedbac04b1759b (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.

#pragma once

#include <string>
#include "Common/CommonTypes.h"

bool SaveData(const std::string& filename, const char* pdata);
bool TextureToPng(u8* data, int row_stride, const std::string& filename, int width, int height, bool saveAlpha = true);