An open API service indexing awesome lists of open source software.

https://github.com/xzripper/xcuimg.d

Simple library for basic image loading (/decoding) built on stb_image.h for D language.
https://github.com/xzripper/xcuimg.d

app d dlang game-development image image-decoder image-loading image-processing software stb stb-image

Last synced: about 2 months ago
JSON representation

Simple library for basic image loading (/decoding) built on stb_image.h for D language.

Awesome Lists containing this project

README

        

xcuimg.d


XCUImage (Explicitus Image) is a simple library for loading/decoding images and additional utilities based on stb_image.

Installation


Base steps:

```
git clone https://github.com/xzripper/xcuimg.d
cd xcuimg.d
```

Pre-built object file:

```
wget -q https://github.com/xzripper/xcuimg.d/releases/download/v1.0/xcuimg.o -O xcuimg/cbg/xcuimg.o
```

Manual build:

```
wget -q https://github.com/nothings/stb/blob/master/stb_image.h?raw=true -O xcuimg/cbg/stb_image.h
gcc -c xcuimg/cbg/xcuimg.c -o xcuimg/cbg/xcuimg.o
```

After you downloaded/built the object file you can drag `xcuimg` directory into your project.

Run your code with:

```
dmd [FILE(S)] xcuimg/cbg/xcuimg.o -I. -i
```

Cheatsheet


XCUImage, XCUImageDWrapper.