]> git.draconx.ca Git - liblbx.git/commitdiff
liblbx: Don't scale palette values internally.
authorNick Bowler <nbowler@draconx.ca>
Fri, 14 Jun 2013 01:57:11 +0000 (21:57 -0400)
committerNick Bowler <nbowler@draconx.ca>
Fri, 14 Jun 2013 20:35:10 +0000 (16:35 -0400)
Output the 18-bit palette values unadulterated, leaving it up to the
users to do conversion if necessary.  Push the conversion down into the
consumers (currently PNG output and the GTK GUI) where a 24-bit palette
is required.

While we're at it, adjust the conversion to scale to the full output
range of [0, 255].  This is a slight change to the output, so all the
image hashes need to be adjusted in the regression test.


No differences found