Add png reader
This commit is contained in:
parent
ed925afabf
commit
4fce4fc614
7 changed files with 201 additions and 3 deletions
15
test/image/TestPngReader.cpp
Normal file
15
test/image/TestPngReader.cpp
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue