package camlimages

  1. Overview
  2. Docs
Image processing library

Install

Dune Dependency

Authors

Maintainers

Sources

camlimages-5.0.2.tar.bz2
sha256=8a36e7d5636358db533de71e55533fc8118444c607355b68357e0e619f3ab1d4
md5=956fc1942a4b4c5da473ddcd9c9d028b

doc/camlimages.core/Ps/index.html

Module Ps

type bounding_box = (int * int * int * int) option

The bounding box of a postscript image.

val load : string -> Images.load_option list -> Images.t

Loads a postscript image.

val save : string -> Images.save_option list -> Images.t -> unit

Save a full-color image in the Encapuslated PS format file. Raises Invalid_argument if the image is not a full-color image.

val load_ps : string -> bounding_box -> Images.load_option list -> Images.t

Loads a postscript image within a bounding box.

val get_bounding_box : string -> bounding_box

Return the bounding box option of the postscript image inside the file argument.

OCaml

Innovation. Community. Security.