My TwelveMonkeys ImageIO library, can now write TGA format, using the standard ImageIO API. It is free, open source software, released under BSD license.
Input can be pretty much any image format supported by an ImageIO plugin, such as JPEG, PNG, TIFF or many more.
Minimal code sample:
public static void main(String args) throws ...