package imagelib

  1. Overview
  2. Docs
val size : extension:string -> ImageUtil.chunk_reader -> int * int
val openfile : extension:string -> ImageUtil.chunk_reader -> Image.image
val openfile_streaming : extension:string -> ImageUtil.chunk_reader -> [ `GIF of ImageGIF.read_state ] option -> Image.image option * int * [ `GIF of ImageGIF.read_state ] option

see ReadImageStreaming.read_streaming

val writefile : extension:string -> ImageUtil.chunk_writer -> Image.image -> unit
module PPM : sig ... end
module PNG : sig ... end
module JPG : sig ... end
module GIF : sig ... end
module XCF : sig ... end
module BMP : sig ... end
OCaml

Innovation. Community. Security.