package ocamlsdl2-image

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type init_flags = [
  1. | `JPG
  2. | `PNG
  3. | `TIF
  4. | `WEBP
]
val init : init_flags list -> unit
val quit : unit -> unit
val get_linked_version : unit -> int * int * int
val get_compiled_version : unit -> int * int * int
val is_ico : Sdlrwops.t -> bool
val is_cur : Sdlrwops.t -> bool
val is_bmp : Sdlrwops.t -> bool
val is_gif : Sdlrwops.t -> bool
val is_jpg : Sdlrwops.t -> bool
val is_lbm : Sdlrwops.t -> bool
val is_pcx : Sdlrwops.t -> bool
val is_png : Sdlrwops.t -> bool
val is_pnm : Sdlrwops.t -> bool
val is_tif : Sdlrwops.t -> bool
val is_xcf : Sdlrwops.t -> bool
val is_xpm : Sdlrwops.t -> bool
val is_xv : Sdlrwops.t -> bool
val is_webp : Sdlrwops.t -> bool
val load_png_rw : Sdlrwops.t -> Sdlsurface.t
val load_ico_rw : Sdlrwops.t -> Sdlsurface.t
val load_cur_rw : Sdlrwops.t -> Sdlsurface.t
val load_bmp_rw : Sdlrwops.t -> Sdlsurface.t
val load_gif_rw : Sdlrwops.t -> Sdlsurface.t
val load_jpg_rw : Sdlrwops.t -> Sdlsurface.t
val load_lbm_rw : Sdlrwops.t -> Sdlsurface.t
val load_pcx_rw : Sdlrwops.t -> Sdlsurface.t
val load_pnm_rw : Sdlrwops.t -> Sdlsurface.t
val load_tga_rw : Sdlrwops.t -> Sdlsurface.t
val load_tif_rw : Sdlrwops.t -> Sdlsurface.t
val load_xcf_rw : Sdlrwops.t -> Sdlsurface.t
val load_xpm_rw : Sdlrwops.t -> Sdlsurface.t
val load_xv_rw : Sdlrwops.t -> Sdlsurface.t
val load_webp_rw : Sdlrwops.t -> Sdlsurface.t
val save_png : Sdlsurface.t -> filename:string -> unit
OCaml

Innovation. Community. Security.