package imagelib

  1. Overview
  2. Docs
val debug : bool Pervasives.ref
val png_signature : string
type chunck = {
  1. chunck_type : string;
  2. chunck_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
val write_signature : Pervasives.out_channel -> unit
val write_chunk : Pervasives.out_channel -> chunck -> unit
val ihdr_to_string : ihdr_data -> bytes
val write_png : string -> Image.image -> unit
OCaml

Innovation. Community. Security.