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.
- Host: GitHub
- URL: https://github.com/xzripper/xcuimg.d
- Owner: xzripper
- License: mit
- Created: 2025-03-26T01:36:47.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-03-26T12:30:14.000Z (about 2 months ago)
- Last Synced: 2025-03-26T13:33:48.462Z (about 2 months ago)
- Topics: app, d, dlang, game-development, image, image-decoder, image-loading, image-processing, software, stb, stb-image
- Language: D
- Homepage: https://github.com/xzripper/xcuimg.d
- Size: 96.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.