Skip to content
OCaml SDL2_image bindings to go with Tsdl
Branch: master
Clone or download
tokenrove Fix the Travis build
Unfortunately we need some hacks here: tsdl 0.9.2 depends on SDL 2.0.5,
which isn't available on Travis, so we go out of our way to pin 0.9.1.

Also, newer versions of tsdl aren't compatible with 4.01, so we drop it
from the build now.

This could use some caching, but just getting things working is a step
in the right direction.
Latest commit e2e0c69 Jan 10, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
test Use Result in API to more closely match Tsdl Jan 10, 2017
.travis.yml Improve formatting of README Jun 13, 2015
opam Add a build-test entry for OPAM Jan 14, 2017

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 or by emailing Julian Squires <>.


Via opam:

opam install tsdl-image


Documentation can be generated with ocamldoc, but the binding follows the SDL2_image interface closely, so it may be sufficient to consult its documentation.

You can’t perform that action at this time.