Thanks. Read pixel was still pretty shaky,
But I found a cool way of bypassing any of that.
P:Byte Ptr = Pixels.PixelPtr( x,y)
Red = P[2]
Green = p[1]
Blue = p[0]
Alpha = p[3]
But I have to use genRgb to encode it back..for some ..odd reason.
But I found a cool way of bypassing any of that.
P:Byte Ptr = Pixels.PixelPtr( x,y)
Red = P[2]
Green = p[1]
Blue = p[0]
Alpha = p[3]
But I have to use genRgb to encode it back..for some ..odd reason.