Channel Shuffle2015 | Download 0.10 beta, 2015-01-30
Channel Shuffle can be used to create images from specified channels (red, green, blue and alpha) from two images. It is written with the goals of being lightweight, fast, easy to use and portable.
There are two parts to this application, first there is channel_shuffle, which is a command line application that can be used independently. Then there is channel_shuffle_gui, which is a graphical front end for channel_shuffle created in Qt.
The application and its source are in the public domain. You can find the source on GitHub here: https://github.com/lukors/channel_shuffle.
It has been written in C++ with portability in mind, it uses only the cross platform library SOIL to load and save images. The GUI is made in Qt, and thus should be easy to port to other platforms as well. It is currently only compiled for Windows.
Easy and fast to use
- Drag and drop an image to one of the inputs on the left to import it.
- Select your channels and if you want to invert any of them in the output image using the radio buttons in the middle and the buttons at the top.
- Drag and drop the output image to either a folder on your hard drive to save out the final image, or to one of the inputs to keep shuffling.
This download comes with both the GUI version (16MB) and the command line version (200kB). The command line version can be used entirely on its own.
The download contains a readme file that goes into further detail on how to use the GUI application as well as how to use the command line version.
Example use cases
- Flip or invert channels in a normal map without having to open up something huge like Photoshop or Gimp.
- Easily and quickly pack many separate textures into fewer ones to lower the number of texture samples in your game.
- Execute the command line version somewhere in your pipeline to pack those textures automatically.
- Turn four separate grayscale images into one channel each in a single image in just a few seconds.