mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
Add option for setting the PNG zlib compression level
This commit is contained in:
parent
6f4bbac528
commit
94ccf765af
12 changed files with 125 additions and 30 deletions
15
Source/Core/Common/ImageC.h
Normal file
15
Source/Core/Common/ImageC.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
// Copyright 2021 Dolphin Emulator Project
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <png.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
#endif
|
||||
bool
|
||||
SavePNG0(png_structp png_ptr, png_infop info_ptr, int png_format, png_uint_32 width,
|
||||
png_uint_32 height, int level, png_voidp io_ptr, png_rw_ptr write_fn,
|
||||
png_bytepp row_pointers);
|
Loading…
Add table
Add a link
Reference in a new issue