added uint8 type to images