Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1014 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 1014 Bytes

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