Jump to content

Targa (.tga) format always saves with RLE compression, even when the box is unchecked.


Recommended Posts

@AeroSoap, how are you determining that RLE compression is always being used?

 

When I go to save an image w/ or w/o RLE compression, the file sizes are definitely different:

 

image.png

image.png

  • Upvote 1

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to post
Share on other sites
Posted (edited)

I saw that it was happening by checking the file header. The third byte should be a 2 when it's not being compressed, and a 10 when it is. I was using an 8x8 image, if that's significant.

 

EDIT: I can't upload sample images because .tga files are not accepted.

Edited by AeroSoap
Link to post
Share on other sites
17 hours ago, AeroSoap said:

I saw that it was happening by checking the file header. The third byte should be a 2 when it's not being compressed, and a 10 when it is. I was using an 8x8 image, if that's significant.

 

This is exactly what I'm seeing: 2 for uncompressed, 10 for RLE compressed.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...