add a basic tformat conversion tool, currently only tested on rgba32 256x256 images