package camlimages

  1. Overview
  2. Docs
Image processing library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

camlimages-5.0.5.tar.gz
md5=84929b30257aa8e493dc84303768f400
sha512=b3774d2287e4a97082f0289766f5a79d3e75454a194d2d6400cee9cf926f7676d8eba4cb27221a98314461b7a81b4386b253f1d706a94447423394be89d2ed49

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