diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-10-16 15:31:37 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-10-25 22:11:54 +0200 |
commit | f036f9efde139a8127b04ac32caeb9836c0ecabb (patch) | |
tree | fba4e5ee2bd9c06e09d10e78a71fa00fd868d8c3 /source/fitz/separation.c | |
parent | 440087b3268787f2db313cee247d1166f2ee1802 (diff) | |
download | mupdf-f036f9efde139a8127b04ac32caeb9836c0ecabb.tar.xz |
Add and use fz_convert_pixmap_samples helper function.
Diffstat (limited to 'source/fitz/separation.c')
-rw-r--r-- | source/fitz/separation.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/fitz/separation.c b/source/fitz/separation.c index bfaf6d6e..38466b31 100644 --- a/source/fitz/separation.c +++ b/source/fitz/separation.c @@ -683,8 +683,7 @@ fz_copy_pixmap_area_converting_seps(fz_context *ctx, fz_pixmap *dst, fz_pixmap * else { /* Use a standard pixmap converter to convert the process + alpha. */ - fz_pixmap_converter *pc = fz_lookup_pixmap_converter(ctx, dst->colorspace, src->colorspace); - pc(ctx, dst, src, proof_cs, default_cs, NULL, 0); + fz_convert_pixmap_samples(ctx, dst, src, proof_cs, default_cs, NULL, 0); /* And handle the spots ourselves. First make a map of what spots go where. */ /* We want to set it up so that: |