Commit Graph

4 Commits

Author SHA1 Message Date
rgba16f e96793659a Fixes to get Mac & iOS building with new PNG support
Signed-off-by: rgba16f <82187279+rgba16f@users.noreply.github.com>
2021-09-10 10:15:40 -05:00
santorac 849a8da4d9 Added unit tests for PngFile.
Fixed a couple issue like palettized files would not load, and stripping alpha was not affecting the color type reported by libpng. Also cleaned up some error reporting.
Added AzFramework to Atom/Utils tests to support PngFile testing.

Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
2021-09-08 23:45:16 -07:00
santorac a9c6909a29 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>
2021-09-08 13:20:54 -07:00
santorac 7a8eb8eda5 Added a new PngImage utility class that wraps libpng. This replaces the use of OpenImageIO in O3DE (although OpenImageIO is still a build dependency for now).
Signed-off-by: santorac <55155825+santorac@users.noreply.github.com>
2021-09-08 12:56:24 -07:00