package camlpdf
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Read, write and modify PDF files
Install
dune-project
Dependency
Authors
Maintainers
Sources
v2.3.zip
sha256=72e98ea01a97376d974ef61c278ddc22d2dc44742948f53790651a79f5c02b3e
md5=61631634e5e91017281676253ff690e5
doc/camlpdf/Pdfimage/index.html
Module Pdfimage
type 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.bytes
val 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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>