Here is all the code needed to reproduce: //RGBSurface test Var testpic As New picture (100,100) testpic.Graphics.DrawingColor = &cA0B0C0 //chalky blue color testpic.Graphics.FillRectangle 0,0,100,100 Var ReadFromPicture As Color ReadFromPicture = testpic.RGBSurface.pixel(20,20)
ReadFromPicture in debugger has value &cA0B000FF
Has lost the Blue component completely!!
also displays as white because the Alpha component is FF not 00
63148 - RGBSurface.pixel gives incorrect color on iOS
ps: I know Its Xmas. Already handled 20 support emails from my customers. Not expecting any reaction until 2021 … the mince pies are calling!