int -> int -> Info.info list -> bytes -> OImages.rgb24_class