diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-07-03 18:33:48 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-07-19 19:41:23 +0100 |
commit | f957eae764e6dbc74401b66d6a18ba3290fdb982 (patch) | |
tree | 224513a5080adde16386669feb0881aefe75794a /source/tests | |
parent | 3d6cf4e4e543ce0d204db71ef8d0b9277219f250 (diff) | |
download | mupdf-f957eae764e6dbc74401b66d6a18ba3290fdb982.tar.xz |
Add spots to fz_pixmaps.
Update separations interface further to cope with whether spots
should be rendered separately, or as composite colors.
Diffstat (limited to 'source/tests')
-rw-r--r-- | source/tests/mu-office-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tests/mu-office-test.c b/source/tests/mu-office-test.c index aef50981..d729de88 100644 --- a/source/tests/mu-office-test.c +++ b/source/tests/mu-office-test.c @@ -269,7 +269,7 @@ save_png(const MuOfficeBitmap *bitmap, const char *filename) fz_try(ctx) { - pix = fz_new_pixmap_with_data(ctx, fz_device_rgb(ctx), bitmap->width, bitmap->height, 1, bitmap->lineSkip, bitmap->memptr); + pix = fz_new_pixmap_with_data(ctx, fz_device_rgb(ctx), bitmap->width, bitmap->height, NULL, 1, bitmap->lineSkip, bitmap->memptr); fz_save_pixmap_as_png(ctx, pix, filename); } |