package camlpdf
Read, write and modify PDF files
Install
Dune Dependency
Authors
Maintainers
Sources
v2.8.1.tar.gz
md5=93883956f317d4037341b6a0da8a6d03
sha512=baf16128dbe4b3bf1cc1c726976e083cd12113de6865a1d847f1e606bdc2570ce474076d5350d705dd22f538e21dd524d9e8bd56708fedd56df822be92be36a2
doc/camlpdf/Pdfspace/index.html
Module Pdfspace
Colour Spaces
type iccbased = {
icc_n : int;
icc_alternate : t;
icc_range : float array;
icc_metadata : Pdf.pdfobject option;
icc_stream : Pdf.pdfobject;
}
ICC Based Colour Spaces
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) Stdlib.Hashtbl.t
| Pattern
| PatternWithBaseColourspace of t
| Separation of string * t * Pdffun.t
| DeviceN of string array * t * Pdffun.t * Pdf.pdfobject
Colour spaces
val string_of_colourspace : t -> string
Produce a debug string
val name_of_colourspace : t -> string option
Read the name of a colour, if it has one.
val read_colourspace : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> t
Read a colourspace from a PDF given a document, page resources dictionary and the colourspace object
val write_colourspace : Pdf.t -> t -> Pdf.pdfobject
Write a colourspace to a PDF, returning it.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>