package imagelib

  1. Overview
  2. Docs
Library implementing parsing of image formats such as PNG, BMP, PPM

Install

Dune Dependency

Authors

Maintainers

Sources

imagelib-20221222.tbz
sha256=050d935711a5a5cead7a6b5e2bce13297a71d0cb47652ca42ff4e328df7118fd
sha512=28dae756945adb1c6a348d5c3e61840af7efb8df16c56bdf09ee4c69231774f169384f822359999ab315cc11634392dc4811ba932479aa1fdb78d25100b6733d

doc/imagelib/ImagePNG/index.html

Module ImagePNGSource

Sourceval debug : bool ref
Sourceval png_signature : string
Sourcetype chunk = {
  1. chunk_type : string;
  2. chunk_data : string;
}
Sourcetype ihdr_data = {
  1. image_size : int * int;
  2. bit_depth : int;
  3. colour_type : int;
  4. compression_method : int;
  5. filter_method : int;
  6. interlace_method : int;
}
Sourcetype pixel = {
  1. r : int;
  2. g : int;
  3. b : int;
}
Sourcemodule PNG_Zlib : sig ... end
Sourcemodule PNG_CRC : sig ... end
Sourcemodule PngWriter : sig ... end
Sourceval write_png : ImageUtil.chunk_writer -> Image.image -> unit
Sourceval bytes_of_png : Image.image -> bytes
include module type of struct include ReadPNG end
Sourceval extensions : string list
Sourceval size : ImageUtil.chunk_reader -> int * int
OCaml

Innovation. Community. Security.