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

@ -7,6 +7,11 @@ Image::Image(unsigned width, unsigned height)
}
Image::~Image()
{
}
void Image::Initialize()
{
mData = std::vector<unsigned char>(GetBytesPerRow()*mHeight, 0);