package tiny_libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Image_decodeSource

Sourcetype image = Rgba_image.t
Sourceval decode_string : string -> image
Sourceval read_file : string -> string
Sourceval image_of_url : string -> image option
Sourcetype 'a animation = {
  1. frames : ('a * float) array;
  2. duration : float;
}
Sourceval animation_of_url : string -> image animation option
Sourceval map_animation : ('a -> 'b) -> 'a animation -> 'b animation
Sourceval frame_at : time:float -> 'a animation -> 'a
Sourceval image_of_url_at : time:float -> string -> image option
Sourceval preload : string -> unit
Sourceval load_queued : unit -> string list