Add png reader

This commit is contained in:
jmsgrogan 2022-08-01 14:00:40 +01:00
parent ed925afabf
commit 4fce4fc614
7 changed files with 201 additions and 3 deletions

View file

@ -0,0 +1,15 @@
#include "PngReader.h"
#include "Image.h"
#include <iostream>
int main()
{
const auto path = "/home/jmsgrogan/code/MediaTool-build/bin/test.png";
PngReader reader;
reader.setPath(path);
auto image = reader.read();
return 0;
}