package tsdl-image
Install
Dune Dependency
Authors
Maintainers
Sources
md5=c1075693e2226ac4321c7a1b71cf39e2
sha512=af350af0591197bb3a670c1ed93a00f4bc514a7c2d60da309b574756200b6e34b91bf1886fa36f4eb43529cb0c2f715a2bc2c80b66fae6bdcee87e156ffc4f35
README.md.html
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