Clean image types
This commit is contained in:
parent
e7683cd94e
commit
c6d03f16d0
18 changed files with 169 additions and 107 deletions
|
@ -108,9 +108,9 @@ void PngReader::logHeader()
|
|||
std::cout << sstr.str() << std::endl;
|
||||
}
|
||||
|
||||
std::unique_ptr<Image> PngReader::read()
|
||||
std::unique_ptr<Image<unsigned char> > PngReader::read()
|
||||
{
|
||||
auto image = std::make_unique<Image>(5, 5);
|
||||
auto image = std::make_unique<Image<unsigned char> >(5, 5);
|
||||
|
||||
mFile = std::make_unique<File>(mPath);
|
||||
mFile->Open(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue