Use uint8 instead of int in RGBPixel