[I'm not sure where to post this, but I hope this is okay.]

I noticed that many programs have trouble reading RLE compressed
TGAs produced by the Gimp.  The problem is that the TGA saver
produces packets that wrap over line boundaries.  Quoting from the
TGA specs I found somewhere at ftp://ftp.truevision.com:

  "Run-length Packets should never encode pixels from more than one
  scan line.  Even if the end of one scan line and the beginning of
  the next contain pixels of the same value, the two should be
  encoded as separate packets.  In other words, Run-length Packets
  should not wrap from one line to another."

However this is for new format TGA files, whereas the Gimp saves in
the original format, which does allow for wrapping (i.e. it doesn't
explicitly say it's not allowed).

I thought it was best to let the user decide what to do.  The patch,
made against `plug-ins/common/tga.c' in 1.1.24, is attached.

Please Cc: any replies to me as I am not subscribed to this list.

[EMAIL PROTECTED] - http://www.psynet.net/tjaden/
A witty remark proves nothing.


Reply via email to