Luanti
5.10.0-dev
Loading...
Searching...
No Matches
png.h
Go to the documentation of this file.
1
// Luanti
2
// SPDX-License-Identifier: LGPL-2.1-or-later
3
// Copyright (C) 2021 hecks
4
5
#pragma once
6
7
#include <string>
8
#include "
irrlichttypes.h
"
9
10
/* Simple PNG encoder. Encodes an RGBA image with no predictors.
11
Returns a binary string. */
12
std::string
encodePNG
(
const
u8 *data, u32 width, u32 height, s32 compression);
irrlichttypes.h
encodePNG
std::string encodePNG(const u8 *data, u32 width, u32 height, s32 compression)
Definition
png.cpp:73
util
png.h
Generated on Fri Nov 1 2024 10:49:00 for Luanti by
1.11.0