https://github.com/thebracket/png2rex
A quick utility for turning PNG files into REXPaint xp files.
https://github.com/thebracket/png2rex
Last synced: 10 months ago
JSON representation
A quick utility for turning PNG files into REXPaint xp files.
- Host: GitHub
- URL: https://github.com/thebracket/png2rex
- Owner: thebracket
- License: mit
- Created: 2016-08-10T17:14:59.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-02-27T17:03:19.000Z (over 5 years ago)
- Last Synced: 2025-04-30T12:31:44.668Z (about 1 year ago)
- Language: C++
- Homepage:
- Size: 54.7 KB
- Stars: 19
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# rex2png - a utility for converting PNG files into REXPaint files
**Note: See [png2rex_rs](https://github.com/thebracket/png2rex_rs) for a version written in Rust, that I'm actually supporting.**
This is a simple utility I needed for [Black Future](https://github.com/thebracket/bgame) to convert PNG files into REXPaint format.
It handles transparency, and translucency with appropriate CP-467 tiles. It's pretty simple, but it does what I need. I hope
you find it useful!
## To build
This uses a standard CMake setup, and requires zlib and libpng. Typically:
`mkdir build; cd build; cmake -g"Unix Makefiles" ../src; make`
will get you going.
## Usage
`png2rex