<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/16/Simple_DirectMedia_Layer%2C_Logo.svg/1200px-Simple_DirectMedia_Layer%2C_Logo.svg.png" alt="Simple DirectMedia Layer (SDL) Logo" align="right" width="150" height="80" />

# hxsdl_image

Haxe/hxcpp @:native bindings for [SDL Image](https://github.com/libsdl-org/SDL_image).

---

This library only works with the Haxe `cpp` target via `hxcpp`.

Keep in mind that not everything in SDL Image will be included nor will they all work!
If you notice something is broken or is missing, make an issue/pull request.

---

## Installation

Install through the haxelib

```
haxelib install hxsdl_image
```

or with git for the latest potentially unstable updates.

```
haxelib git hxsdl_image https://github.com/swordcube/hxsdl_image.git
```

### Usage Example
Check out the [examples folder](https://github.com/swordcube/hxsdl_image/tree/main/examples) for examples on how you can use these SDL Image bindings.

### Licensing
`hxsdl_image` is made available via the **MIT** license. Check [LICENSE](https://github.com/swordcube/hxsdl_image/blob/main/LICENSE) for more information.
