sig
  type rgb_format = RGB24 | BGR24 | RGB32 | BGR32 | RGBA32
  type yuv_format =
      YUV422
    | YUV444
    | YUV411
    | YUV410
    | YUVJ420
    | YUVJ422
    | YUVJ444
  type format =
      RGB of Image.Generic.Pixel.rgb_format
    | YUV of Image.Generic.Pixel.yuv_format
  val string_of_format : Image.Generic.Pixel.format -> string
end