Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to compress/degrade a .tga image to a specific file size/range? I read about RLE compression, and from what else I've read, this seems to be the only way to compress it. Other than that I'm at a loss/ My searches have so far turned up nothing useful.

share|improve this question
.tga is also known as Targa, it is simple and dumb, but popular because it is patent free and easy to use. – Steve-o Aug 24 '11 at 3:18

RLE compression option is either On or Off, you can't control how good it works.

Although if you need to get best results you could prepare your image and reduce color count in it (e.g. by converting it to paletted image and back to 32bit). When there are fewer different colors in image, it allows compression to work better (by finding identical patterns in previous compressed data). Fewer colors -> more repeating patterns -> better compression -> smaller image size in result.

Another option to make compressed image size smaller - delete RGB data in areas that are completely transparent. That will allow compression to be more effective as well.

share|improve this answer
Basically anything more complicated than RLE, i.e. Huffman would have been covered by patents like GIF, JBIG, JPEG2000, etc. – Steve-o Aug 24 '11 at 3:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.