package camlimages

  1. Overview
  2. Docs
Image processing library

Install

Dune Dependency

Authors

Maintainers

Sources

camlimages-5.0.3.tar.bz2
sha256=b8203da78a9733488e40fafccfafb874c9ebafd8a5f1fa1d9a46ae2ac241e97a
md5=7dd5aa1944d01d2e908d4caa1e1bba78

doc/camlimages.tiff/Tiff/index.html

Module TiffSource

Sourceval check_header : string -> Images.header

Checks the file header

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

Loads a tiff image.

Sourceval 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

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

Innovation. Community. Security.