summaryrefslogtreecommitdiff
path: root/source/tools/mudraw.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2017-07-12 21:18:45 +0100
committerRobin Watts <robin.watts@artifex.com>2017-07-19 19:41:23 +0100
commitd54763bcd644364c19d3a6a12f889127df583e01 (patch)
tree379843a30fbb263e811ac6cbe3d2a4abe13b6fb3 /source/tools/mudraw.c
parentd541fc4b9eced1b788377df8c7edfd9b8dea4094 (diff)
downloadmupdf-d54763bcd644364c19d3a6a12f889127df583e01.tar.xz
Update band writer (especially PSD) to cope with spots
PSD writer now outputs spot colors. Ensure subtractive colorspaces are stored with proper polarity. The CMYK and spot components need to be 255-X in the PSD format Store PSD format resources using correct Pascal style strings. Photoshop will fail to open if the the ICC profile resource name is not in proper format. (Incorporates fixes from Michael).
Diffstat (limited to 'source/tools/mudraw.c')
-rw-r--r--source/tools/mudraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/mudraw.c b/source/tools/mudraw.c
index 1959dddc..9725311d 100644
--- a/source/tools/mudraw.c
+++ b/source/tools/mudraw.c
@@ -825,7 +825,7 @@ static void dodrawpage(fz_context *ctx, fz_page *page, fz_display_list *list, in
}
if (bander)
{
- fz_write_header(ctx, bander, pix->w, totalheight, pix->n, pix->alpha, pix->xres, pix->yres, output_pagenum++, pix->colorspace);
+ fz_write_header(ctx, bander, pix->w, totalheight, pix->n, pix->alpha, pix->xres, pix->yres, output_pagenum++, pix->colorspace, pix->seps);
}
}