DescriptionFix Equals and serialization for rare pngs
PNGs may contain a gAMA chunk that specifies gamma
values as floats. If so, we will use these floats
to create an SkColorSpace.
This CL fixes Equals(), serialize(), and
Deserialize() to correctly handle SkColorSpaces
with strange gammas, where we are unable to fall
back on the profile data.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2221983002
Committed: https://skia.googlesource.com/skia/+/d9015a43cf6c6e7c372c804ee3e1021b153d505f
Patch Set 1 #
Total comments: 4
Patch Set 2 : Rebase #Patch Set 3 : Response to comments #
Depends on Patchset: Messages
Total messages: 17 (10 generated)
|