mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-02 23:08:05 +03:00

Now OGL doesn't rely on WX for PNG saving. FlipImageData supports (pixel data len > 3) now. TextureToPng is now in ImageWrite.cpp/h Video Common depends on zlib and png. D3D no longer depends on zlib and png.
15 lines
445 B
C
15 lines
445 B
C
// Copyright 2013 Dolphin Emulator Project
|
|
// Licensed under GPLv2
|
|
// Refer to the license.txt file included.
|
|
|
|
#ifndef _IMAGEWRITE_H
|
|
#define _IMAGEWRITE_H
|
|
|
|
#include "Common.h"
|
|
|
|
bool SaveTGA(const char* filename, int width, int height, void* pdata);
|
|
bool SaveData(const char* filename, const char* pdata);
|
|
bool TextureToPng(u8* data, int row_stride, const char* filename, int width, int height, bool saveAlpha = true);
|
|
|
|
#endif // _IMAGEWRITE_H
|
|
|