]> git.draconx.ca Git - liblbx.git/commit
Update handling of embedded palette data in image files.
authorNick Bowler <draconx@gmail.com>
Mon, 31 Dec 2007 10:24:40 +0000 (05:24 -0500)
committerNick Bowler <draconx@gmail.com>
Mon, 31 Dec 2007 10:24:40 +0000 (05:24 -0500)
commit0ae0a344200291ae958fcb3c9c3ece9c5b604f6e
treee23b2e42de2596d848edc8f8c52867bcbad5721e
parenta5ebd4f7732ad6846b0dc992c8d43cac636f580d
Update handling of embedded palette data in image files.

The pal (formerly wtf2) value indicates the presence of a palette: 0x1000 if
present; 0 otherwise.  Then, immediately following the offsets comes the
palette header: 2 bytes always zero, 2 bytes for the number of entries.
Entries are sequential starting from zero.

This makes the logo images work.
src/image.c