• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

LOwer Quality Image

Status
Not open for further replies.
Level 4
Joined
Oct 28, 2012
Messages
82
I have one tga file, and there is a way to compress it to 48kb ( which I dont know).
The smaller one is compressed by my friend, but he's offline now.
Problem is that image is up side down. When I use paint to edit it, and transfer to tga, it turn to 64kb again.
.
Please show me how to compress this.
 

Attachments

  • war3mapPreview.tga
    64 KB · Views: 50
  • war3mapPreview2.tga
    48 KB · Views: 46
By the ways, can you two give me some advice to compress image ?

For TGA, there is run-length encoding (RLE compression). Some image programs may allow you to choose that option e.g. Photoshop. It is lossless so you don't lose out on quality.

Also, when you import a TGA into the map, it is compressed even further through zlib compression, so you'll end up saving a few more kb. For example, your 49 kb TGA might only take up ~41 kb when imported in the map.

However, I don't recommend directly working with TGA's. There are very few accessible means of compressing them. Instead, you should convert the TGA to BLP with BLP Lab (check our Tools section), and then compress the BLP. It has the option of JPEG compression and paletted compression (similar to GIF files). These ones are lossy compressions (as in, you'll lose out on some quality), but you can usually compress it a bit without sacrificing too much. I recommend compressing any textures you import.

Just fiddle around with it. You would just open BLP Lab, open your TGA (File -> Open), and then save it compressed (File -> Save As, choose a place to save it, choose compression options, then hit save). Good luck.
 
Status
Not open for further replies.
Top