package imagelib

  1. Overview
  2. Docs
val debug : bool ref
val png_signature : string
type chunk = {
  1. chunk_type : string;
  2. chunk_data : string;
}
type 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;
}
type pixel = {
  1. r : int;
  2. g : int;
  3. b : int;
}
module PNG_Zlib : sig ... end
module PNG_CRC : sig ... end
module PngWriter : sig ... end
val write_png : ImageUtil.chunk_writer -> Image.image -> unit
val bytes_of_png : Image.image -> bytes
include module type of struct include ReadPNG end
val extensions : string list
val size : ImageUtil.chunk_reader -> int * int
val write : ImageUtil.chunk_writer -> Image.image -> unit
OCaml

Innovation. Community. Security.