diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-03-25 10:52:35 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-03-29 13:06:27 +0100 |
commit | 6b2506eac65a7fb593146aa4044f7171615fd62f (patch) | |
tree | d0bb68edfa0ffdf6b6e47fc84fa96fd77cfe2787 /source/fitz/transition.c | |
parent | 517959e08d016aef6d6dcd34d89ef4d279e3d308 (diff) | |
download | mupdf-6b2506eac65a7fb593146aa4044f7171615fd62f.tar.xz |
bmp: Improve fallback handling of palette color entries.
* Use a better 4-bit fallback palette (use vga palette as
indicated by variable name instead of 16 color web palette)
* Determine if existing palette entries are grayscale and if so
use a grayscale palette instead of the vga or web palette
* Extend the web palette with black entries to make it eaiser
to copy from.
Diffstat (limited to 'source/fitz/transition.c')
0 files changed, 0 insertions, 0 deletions