From: Nick Bowler Date: Fri, 14 Jun 2013 01:57:11 +0000 (-0400) Subject: liblbx: Don't scale palette values internally. X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/commitdiff_plain/4e74df93acc6594cd8a212c30dc2b429520caef2?hp=4e74df93acc6594cd8a212c30dc2b429520caef2 liblbx: Don't scale palette values internally. 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. ---