Initial version of main.c
was written by https://github.com/SmileTheory and is in the Public Domain.
Just drag&drop properly named texture files on the executable and it will figure out the correct types based on filename, to generate texture files for ioquake3 by flipping channels.