#88 pcx reports bad header

closed-fixed
Dario Meloni
None
5
2006-05-18
2005-05-30
Scott Cegielski
No

Around line 130 of il_pcx.c there is a check for empty
filler space like this:

for (i = 0; i < 54; i++) {
if (Header->Filler[i] != 0)
return IL_FALSE;
}

This returns false in an otherwise good pcx file. When I
comment out this code the pcx loads ok. I am
attaching the pcx file to test.

Discussion

  • pcx file that fails to load

     
    Attachments
  • Dario Meloni
    Dario Meloni
    2006-05-18

    • assigned_to: nobody --> darkyojimbo
    • status: open --> closed-fixed