Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sanette/tsdl-image
OCaml SDL2_image bindings to go with Tsdl
https://github.com/sanette/tsdl-image
ocaml ocaml-bindings sdl2 sdl2-image
Last synced: 3 months ago
JSON representation
OCaml SDL2_image bindings to go with Tsdl
- Host: GitHub
- URL: https://github.com/sanette/tsdl-image
- Owner: sanette
- License: bsd-3-clause
- Fork: true (tokenrove/tsdl-image)
- Created: 2021-04-30T08:03:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-07T07:30:29.000Z (10 months ago)
- Last Synced: 2024-06-19T15:12:56.754Z (7 months ago)
- Topics: ocaml, ocaml-bindings, sdl2, sdl2-image
- Language: OCaml
- Homepage: https://sanette.github.io/tsdl-image/
- Size: 437 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
tsdl-image — SDL2\_Image bindings for OCaml with Tsdl
------------------------------------------------------Tsdl\_image provides bindings to
[SDL2_Image](https://wiki.libsdl.org/SDL_image/) intended to
be used with [Tsdl](http://erratique.ch/software/tsdl).It has as siblings [tsdl-mixer](https://github.com/sanette/tsdl-mixer)
and [tsdl-ttf](https://github.com/sanette/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](https://github.com/sanette/tsdl-image).## Installation
Via [opam](https://opam.ocaml.org/):
opam install tsdl-image
## Example
See [test/test.ml](https://github.com/sanette/tsdl-image/blob/master/test/test.ml)
## Documentation
Documentation is
[here](https://sanette.github.io/tsdl-image/Image/index.html). 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](https://wiki.libsdl.org/SDL_image/).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