package camlpdf

  1. Overview
  2. Docs
type pixel_layout =
  1. | BPP1
  2. | BPP8
  3. | BPP24
  4. | BPP48
type t =
  1. | JPEG of Pdfio.bytes * float list option
  2. | JPEG2000 of Pdfio.bytes * float list option
  3. | JBIG2 of Pdfio.bytes * float list option
  4. | Raw of int * int * pixel_layout * Pdfio.bytes
val get_image_24bpp : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> t
val get_image : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> t
val get_image_raw_24bpp : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> t
val get_image_raw : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> t
val get_image_unprocessed_pixel : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> (int -> int array) option
OCaml

Innovation. Community. Security.