Apple's ImageIO PNGPlugin decoder bug. Has already fired radar FB13322459
See: https://github.com/dreampiggy/iOS17IndexedPNGDecodeBug
The ugly workaround: https://github.com/SDWebImage/SDWebImage/blob/master/SDWebImage/Core/SDImageIOAnimatedCoder.m#L183-L252