diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2022-06-21 11:47:16 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2022-06-21 11:47:53 +0100 |
commit | ab3ea1f345b3d83b6b71f19f45e5aa1e41585cbd (patch) | |
tree | 1edff1b672110338b0e39bef56a3032688efdeed /pdf/pdf_deref.c | |
parent | 481646eb1cdba4f0401cd8f90d8a326ea1e39ae2 (diff) | |
download | ghostpdl-ab3ea1f345b3d83b6b71f19f45e5aa1e41585cbd.tar.gz |
pdfwrite - change the way some images are written
This is from a customer query; type 4 (chroma-keyed) images, when
colour converted, required the code to be permitted to select a
compression strategy automatically. Disabling the auto filtering
caused an error (deliberately; indicating an incompatible combination
of options).
This commit modifies the way some manufactured images are stored so that
we pass the 'for_pattern' parameter, which is used by
pdf_copy_color_data, from a much higher level, allowing us to
discriminate between various types of 'colour image' more precisely.
This is needed because the same code is used to write the image from
converting a type 4 image, writing the image resulting from rendering a
shading pattern and writing the rendered image from a tiling pattern.
And possibly other places as yet unidentified.....
This commit may be reverted in future if it causes problems.
Diffstat (limited to 'pdf/pdf_deref.c')
0 files changed, 0 insertions, 0 deletions