zdray/thirdparty/picopng/picopng.h

6 lines
220 B
C
Raw Normal View History

#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);