Support bytes and bytearray when initializing image field.