package imagelib

  1. Overview
  2. Docs
type chunk_reader_error = [
  1. | `End_of_file of int
]
type chunk_reader = [ `Bytes of int | `Close ] -> (string, chunk_reader_error) result
type chunk_writer = [ `String of string | `Close ] -> (unit, [ `Write_error ]) result
val chunk_write : ([> `String of string ] -> (unit, [< `Write_error ]) result) -> string -> unit
val chunk_write_char : ([> `String of string ] -> (unit, [< `Write_error ]) result) -> char -> unit
val chunk_printf : 'x. chunk_writer -> ('x, unit, string, unit) format4 -> 'x
val chunk_writer_of_buffer : Buffer.t -> [< `Close | `String of string ] -> (unit, 'a) result
val is_digit : char -> bool
val int_array_from_string : string -> int array
val byte_array_from_string : string -> int array
val pow_of_2 : int -> int
val init_matrix : (int * int) -> ((int * int) -> 'a) -> 'a array array
val show_string_hex : string -> unit
val get_bytes : chunk_reader -> int -> string
val chunk_char : chunk_reader -> char
val chunk_byte : chunk_reader -> int
val chunk_reader_of_string : string -> chunk_reader
val close_chunk_reader : chunk_reader -> unit
val close_chunk_writer : chunk_writer -> unit
val chunk_line : chunk_reader -> string
val print_byte : int -> unit
val ones : int -> int
val int_of_str2_le : string -> int
val int_of_str4 : string -> int
val int_of_str4_le : string -> int
val int32_of_str4 : string -> int32
val int32_of_str4_le : string -> int32
val int_to_str4 : int -> Bytes.t
val rgba8888_to_rgb888 : alpha:int -> background:int -> int -> int -> int
val colorize_rgba8888_irc : ?background:int -> ?current:(int * int * int) -> int -> int -> int -> int -> string * (int * int * int)
val colorize_rgba8888 : ?character:string -> ?background:int -> ?current:(int * int * int) -> int -> int -> int -> int -> string * (int * int * int)
val colorize_rgba8888_pixel : ?background:int -> int -> int -> int -> int -> string
val colorize_rgba8888_str : ?background:int -> ?offset:int -> string -> string
val parsefile_of_read_streaming : read_streaming:(chunk_reader -> 'a option -> 'b option * 'c * 'd option) -> chunk_reader -> 'b
OCaml

Innovation. Community. Security.