package tsdl-image

  1. Overview
  2. Docs
SDL2_Image bindings to go with Tsdl

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.tar.gz
md5=589d1d594278e528f22c028d5a05e82d
sha512=1ca21ea744fc83b434ddf4090719ac45c328c1a5c24fc7c7f0f0eded32d6f186de2abc12154c203be7b9a79bf33dd128f037ce08fee3bc97e2af76682c213eff

Description

tsdl-image provides bindings to SDL2_Image intended to be used with Tsdl.

Tags

tsdl SDL images

Published: 12 Jan 2023

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

Dev Dependencies (1)

  1. odoc with-doc

Used by (5)

  1. bogue >= "20210917"
  2. chamo >= "4.0"
  3. oplot != "0.50"
  4. sdl-liquidsoap >= "3"
  5. stk

Conflicts

None

OCaml

Innovation. Community. Security.