zdray/thirdparty/picopng/picopng.h
2024-02-29 21:09:28 +01:00

5 lines
220 B
C++

#pragma once
#include <vector>
int decodePNG(std::vector<unsigned char>& out_image, unsigned long& image_width, unsigned long& image_height, const unsigned char* in_png, size_t in_size, bool convert_to_rgba32 = true);