ImageWrite.h 360 B

123456789101112
  1. // Copyright 2008 Dolphin Emulator Project
  2. // Licensed under GPLv2+
  3. // Refer to the license.txt file included.
  4. #pragma once
  5. #include <string>
  6. #include "Common/CommonTypes.h"
  7. bool SaveData(const std::string& filename, const char* pdata);
  8. bool TextureToPng(u8* data, int row_stride, const std::string& filename, int width, int height, bool saveAlpha = true);