by jasona99 · 6y ago · 0 comments
Quick edit to add that, despite this, I do not believe those changes have made their way into most devices. It seems the error stemmed from the possibility of returning a value over 255 when a histogram was calculated from the addition of color values. As stated in the article, this seemed to result from the use of the Skia color profile in particular. I do not know about other color profiles. The code mentioned by gruez was what I got when the emulator was crashing.
It's not just that the image had a non-sRGB colorspace, it's also that the pixel values in this specific image were out of the expected range.
Testing combinations of edges is not so common/obvious.
GIMP sees it as a JFIF (apparently a predecessor to EXIF) with
"Google/Skia/E3CADAB7BD3DE5E3436874D2A9DEE126 Copyright: Google Inc. 2016"