When i try to retrieve the pixels for an Image, it always returns the wrong data (byte[]) which cannot be used to recreate the original image. it returns a byte array always contain data with repetition of 255s and 0s like this: 255, 255, 255, 0, 255, 255, 255.
Thanks for the help