Jump to content

Error reading TGA files.


gregof74

Recommended Posts

Hi,

I have noticed a bug in Paint.NET during a TGA file opening.

Once opened, the image does not appear as it really is.

The TGA file which produced this bug is a 8bpp non-compressed color-mapped ".tga" image file with a 16bpp color map.

It have a file footer, an extension area and a postage stamp image inside, but no developer directory.

It have an image identifier of 26 characters just after the file header.

Its color map length is 512 bytes, and the image data length is 16384 bytes.

I just posted this message after my image processing library opened this image and convert it to a bmp file correctly.

Then, I opened the tga picture with paint.NET and it appears this bug.

I noticed this bug in the software Photofiltre (but the image appears differently).

The software XnView can not open this image too.

The image is not corrupted because I have succeeded to read it correctly.

I can not post the image link because I don't remember where I found it.

If you are interested, I will send you this picture by e-mail.

Bye.

Greg.

Link to comment
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...