#pragma once #include "file_reader/src/file_read.h" #include #include struct metadata { unsigned int width; unsigned int height; char bit_depth; char color_type; char compression; char filter; char interface; }; struct color { unsigned char r = 0; unsigned char g = 0; unsigned char b = 0; }; void read_png(const std::string &file_path, buffer_unsigned &data);