diff options
author | Robin Watts <robin.watts@artifex.com> | 2011-12-08 12:04:43 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2011-12-08 12:04:43 +0000 |
commit | 13dc7237ff5177b75fc6d5c1289eabc68cc7504b (patch) | |
tree | ebbcac2c91835576555d9e1c7130ad7bd1f2df0e /apps | |
parent | d0724c562bb7ae6ad81eb89b064d59a73685f3a8 (diff) | |
parent | ba531f60532022e3419628e506462b6b84279478 (diff) | |
download | mupdf-13dc7237ff5177b75fc6d5c1289eabc68cc7504b.tar.xz |
Merge branch 'master' into context
Diffstat (limited to 'apps')
-rw-r--r-- | apps/pdfdraw.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/pdfdraw.c b/apps/pdfdraw.c index 69fae0ba..c1d2a779 100644 --- a/apps/pdfdraw.c +++ b/apps/pdfdraw.c @@ -199,6 +199,9 @@ static void drawpage(pdf_xref *xref, int pagenum) if (gamma_value != 1) fz_gamma_pixmap(pix, gamma_value); + if (savealpha) + fz_unmultiply_pixmap(pix); + if (output) { char buf[512]; |