In this period I'm working on a World of Warcraft addon, one of the first things I've learned is that to make a beautiful addon you need some custom graphic.
World of Warcraft accepts 2 image formats, BLP and TGA files; the former is a proprietary format while the latter is free.
On my reference book there's an entire chapter dedicated to learn how to create TGA files for the game with different application(The Gimp, Photoshop, Paintshop Pro), the problem is I use Acorn to make my graphic and it doesn't export TGA images.
$ brew install imagemagick
Converting the images using the terminal…
If you know how to move in the file system with the terminal you can convert a file simply using the
convert or the
The difference is that
convert writes to a new image file, while
mogrify overwrites the original file.
$ convert my-texture.png my-texture.tga $ mogrify -format tga my-texture.png
…and without it
If you don't know how to use the terminal, or you don't like it, you can use a simple Automator Application I made.
Simply drop the image you want to convert on the icon and it will do the rest, note that you still need to install ImageMagick.