package tsdl-image
Install
Dune Dependency
Authors
Maintainers
Sources
md5=589d1d594278e528f22c028d5a05e82d
sha512=1ca21ea744fc83b434ddf4090719ac45c328c1a5c24fc7c7f0f0eded32d6f186de2abc12154c203be7b9a79bf33dd128f037ce08fee3bc97e2af76682c213eff
Description
tsdl-image provides bindings to SDL2_Image intended to be used with Tsdl.
README
Tsdl_image — SDL2_Image bindings for OCaml with Tsdl
Tsdl_image provides bindings to SDL2_Image intended to be used with Tsdl.
It has as siblings tsdl-mixer and tsdl-ttf.
Note that these bindings are at an early stage and have only been used minimally. The interface may change. Comments and bug reports are welcome through the github page.
Installation
Via opam:
opam install tsdl-image
Example
See test/test.ml
Documentation
Documentation is here. It can be generated with dune build @doc
, but the binding follows the SDL2_image interface closely, so it may be sufficient to consult its documentation.
Starting from version 0.3, the library is usable in a toplevel (with #require "tsdl-image"
).
WARNING V0.3 Breaking change
Starting from 0.3, the library name is the same as the opam package name tsdl-image
. (The library name used to be tsdl_image
, which was confusing).
CI
https://ci.ocamllabs.io/github/sanette/tsdl-image
Dependencies (7)
- dune-configurator
- ctypes-foreign
-
ctypes
>= "0.4.0"
- conf-sdl2-image
-
tsdl
>= "0.9.1"
-
ocaml
>= "4.03"
-
dune
>= "2.7"
Dev Dependencies (1)
-
odoc
with-doc
Used by (5)
-
bogue
>= "20210917"
-
chamo
>= "4.0"
-
oplot
!= "0.50"
-
sdl-liquidsoap
>= "3"
- stk
Conflicts
None