haskell-game/sdl2-image


Haskell bindings to SDL2_image.

  • Users starred: 16
  • Users forked: 11
  • Users watching: 2
  • Updated at: 2019-07-02 15:12:27

sdl2-image

Hackage Build Status

Haskell bindings to SDL2_image

Both the raw and the higher level bindings should allow you to use any aspect of the original SDL2_image library. Please report an issue if you encounter a bug or feel that something is missing.

Install
cabal install sdl2-image
Documentation

For documentation, visit Hackage.

The original SDL2_image documentation can also help, as the bindings are close to a direct mapping.

Example

A small example executable is included with the library. It loads and displays a given image. You can find it in the example directory.

cd sdl2-image
cabal run path/to/some/image.type