renamed files and image data gets stored

This commit is contained in:
Luna 2025-07-06 05:20:21 +02:00
parent 15dc5e7dbc
commit 2fbdd1e43d
4 changed files with 17 additions and 5 deletions

17
lily_png.h Normal file
View file

@ -0,0 +1,17 @@
#pragma once
#include "file_reader/src/file_read.h"
#include <string>
struct metadata
{
unsigned int width;
unsigned int height;
char bit_depth;
char color_type;
char compression;
char filter;
char interface;
};
buffer read_png(const std::string &file_path);