2022-08-01 13:00:40 +00:00
|
|
|
#include "PngReader.h"
|
|
|
|
|
2022-11-23 15:41:33 +00:00
|
|
|
#include "BitStream.h"
|
|
|
|
|
2022-08-01 13:00:40 +00:00
|
|
|
#include "Image.h"
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2022-11-23 15:41:33 +00:00
|
|
|
//const auto path = "/home/jmsgrogan/Downloads/test.png";
|
|
|
|
|
|
|
|
const auto path = "/home/jmsgrogan/Downloads/index.png";
|
2022-08-01 13:00:40 +00:00
|
|
|
|
|
|
|
PngReader reader;
|
|
|
|
reader.setPath(path);
|
|
|
|
auto image = reader.read();
|
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|