camlpdf
Read, write and modify PDF files
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library camlpdf
type iccbased = {
icc_n : int; |
icc_alternate : t; |
icc_range : float array; |
icc_metadata : Pdf.pdfobject option; |
icc_stream : Pdf.pdfobject; |
}
and t =
| DeviceGray |
| DeviceRGB |
| DeviceCMYK |
| CalGray of point * point * float |
| CalRGB of point * point * float array * float array |
| Lab of point * point * float array |
| ICCBased of iccbased |
| Indexed of t * ( int, int list ) Hashtbl.t |
| Pattern |
| PatternWithBaseColourspace of t |
| Separation of string * t * Pdffun.t |
| DeviceN of string array * t * Pdffun.t * Pdf.pdfobject |
val string_of_colourspace : t -> string
val name_of_colourspace : t -> string option
val read_point : Pdf.t -> Pdf.pdfobject -> string -> float * float * float
val read_colourspace_inner : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> t
val read_colourspace : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> t
val write_colourspace : Pdf.t -> t -> Pdf.pdfobject