Skip to content
forked from thebracket/png2rex

A quick utility for turning PNG files into REXPaint xp files.

License

Notifications You must be signed in to change notification settings

Andres6936/Gall

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rex2png - a utility for converting PNG files into REXPaint files

This is a simple utility I needed for Black Future 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 <inputfile> <outputfile

For example:

png2rex ../testimage/kitty.png kitty.xp

You can then load the resulting image into your game, or with REXPaint.

Original Kitty PNG Original PNG of a kitty

REXPaint Kitty REXPaint output

Credits:

About

A quick utility for turning PNG files into REXPaint xp files.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 68.1%
  • CMake 31.9%