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.tiff/Tiff/index.html

Module Tiff

val check_header : string -> Images.header

Checks the file header

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

Loads a tiff image.

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

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

Scanline based I/O functions

type colormodel =
  1. | RGB
  2. | CMYK
  3. | WHITEBLACK
  4. | BLACKWHITE
type in_handle
val open_in : string -> int * int * float * colormodel * in_handle
val read_scanline : in_handle -> bytes -> int -> unit
val close_in : in_handle -> unit
type out_handle
val open_out : string -> int -> int -> float -> out_handle
val write_scanline : out_handle -> bytes -> int -> unit
val close_out : out_handle -> unit
OCaml

Innovation. Community. Security.