summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ImageWrite.h
blob: 2a28ff9aad620b21262dbe218ebcac8b5b28e5fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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 std::string& data);
bool TextureToPng(u8* data, int row_stride, const std::string& filename, int width, int height,
                  bool saveAlpha = true);