You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compare actual RGB values when comparing image datas with palette data
For image datas without palette data (direct palettes) the code before
worked ok because the getPixel's returned value was the direct color.
But for palette images, the getPixel returns the index.
When an index is used, you need to call getRGB to get the real data
value.
Part of #2126
0 commit comments