Changeset 834050c in gitlab

Timestamp:
19/12/2017 10:00:08 (3 years ago)
Author:
Thomas Bernard <miniupnp@…>
Branches:
fix_licenses, master
Children:
ee322ed
Parents:
51bb305
Message:

Optimize GIF size by using only the number of bits needed in LZW codes

It was always storing images in 8bpp whatever the values of pixels are,
so the minimum LZW code size was 9 bits.

Now the bpp is chosen according to the maximum pixel value.

Please note that the Whole 256 color palette is still stored entirely,
so this commit doesn't change the user experience in anyway, except saving
a few bytes :)

(No files)

Note: See TracChangeset for help on using the changeset viewer.