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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user