Pdfimagetype t = | JPEG of Pdfio.bytes * float list option| JPEG2000 of Pdfio.bytes * float list option| JBIG2 of Pdfio.bytes * float list option| Raw of int * int * pixel_layout * Pdfio.bytesval string_of_layout : pixel_layout -> stringval string_of_image : t -> stringval invert_bits : Pdfio.bytes -> unitval decode : float array -> int -> Pdfio.bytes -> unitval decode_defaults :
Pdf.t ->
Pdf.pdfobject ->
Pdf.pdfobject option ->
Pdf.pdfobject ->
Pdf.pdfobject optionval decode_to_image : Pdf.t -> Pdf.pdfobject -> unitval read_cmyk_8bpp_as_rgb24 : int -> int -> Pdfio.bytes -> Pdfio.bytesval read_gray_8bpp_as_rgb24 : int -> int -> Pdfio.bytes -> Pdfio.bytesval read_1bpp_as_rgb24 : int -> int -> Pdfio.bytes -> Pdfio.bytesval read_4bpp_gray_as_rgb24 : int -> int -> Pdfio.bytes -> Pdfio.bytesval read_8bpp_indexed_as_rgb24 :
(int, int list) Hashtbl.t ->
int ->
int ->
Pdfio.bytes ->
Pdfio.bytesval convert_lab_to_rgb :
int ->
int ->
(float * float * float) ->
'a ->
'b ->
Pdfio.bytes ->
unitval read_8bpp_lab_indexed_as_rgb24 :
(int, int list) Hashtbl.t ->
int ->
int ->
(float * float * float) ->
'a ->
'b ->
Pdfio.bytes ->
Pdfio.bytesval read_8bpp_cmyk_indexed_as_rgb24 :
(int, int list) Hashtbl.t ->
int ->
int ->
Pdfio.bytes ->
Pdfio.bytesval read_4bpp_indexed_as_rgb24 :
(int, int list) Hashtbl.t ->
int ->
int ->
Pdfio.bytes ->
Pdfio.bytesval read_4bpp_cmyk_indexed_as_rgb24 :
(int, int list) Hashtbl.t ->
int ->
int ->
Pdfio.bytes ->
Pdfio.bytesval read_separation_cmyk_as_rgb24 :
Pdffun.t ->
int ->
int ->
Pdfio.bytes ->
Pdfio.bytesval read_raw_image :
int ->
Pdfspace.t ->
Pdf.pdfobject option ->
'a ->
'b ->
int ->
int ->
'c ->
Pdfio.bytes ->
tval get_raw_image :
Pdf.t ->
Pdf.pdfobject ->
int ->
int ->
Pdf.pdfobject ->
Pdfio.bytes ->
tval print_image : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> unitval get_image_24bpp : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> tval get_image : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> tval get_image_raw_24bpp : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> tval get_image_raw : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> tval get_image_unprocessed_pixel :
Pdf.t ->
Pdf.pdfobject ->
Pdf.pdfobject ->
(int -> int array) optionReturn a function which, when given an x and y coordinate, returns the pixel byte values prior to any decoding, i.e in the raw input image data before /Decode, /Index lookups and so on. Returns array of components as bytes. This function is needed because color key masking is defined in terms of the pixel values of undecoded images.