Renamed PngImage to PngFile and put it in a Utils namespace to match the other file utilities.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
This commit is contained in:
santorac
2021-09-08 13:20:54 -07:00
parent 7a8eb8eda5
commit a9c6909a29
3 changed files with 311 additions and 305 deletions
@@ -87,9 +87,9 @@ namespace AZ
jobCompletion.StartAndWaitForCompletion();
}
PngImage image = PngImage::Create(readbackResult.m_imageDescriptor.m_size, readbackResult.m_imageDescriptor.m_format, *buffer);
Utils::PngFile image = Utils::PngFile::Create(readbackResult.m_imageDescriptor.m_size, readbackResult.m_imageDescriptor.m_format, *buffer);
PngImage::SaveSettings saveSettings;
Utils::PngFile::SaveSettings saveSettings;
saveSettings.m_compressionLevel = r_pngCompressionLevel;
// We should probably strip alpha to save space, especially for automated test screenshots. Alpha is left in to maintain
// prior behavior, changing this is out of scope for the current task. Note, it would have bit of a cascade effect where