sig
  type pixel_layout = BPP1 | BPP8 | BPP24 | BPP48
  type image =
      JPEG of Utility.bytestream
    | JPEG2000 of Utility.bytestream
    | JBIG2 of Utility.bytestream
    | Raw of int * int * Pdfimage.pixel_layout * Utility.bytestream
  val get_image_24bpp :
    Pdf.pdfdoc -> Pdf.pdfobject -> Pdf.pdfobject -> Pdfimage.image
end