diff options
author | Tor Andersson <tor@ghostscript.com> | 2011-02-08 08:37:25 +0000 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2011-02-08 08:37:25 +0000 |
commit | 1b8a2963bd93117e72d2a5159e739a77e455c37f (patch) | |
tree | 8aa94c005529ad52c92d07cbefdc7fe3be76de51 /fitz/res_pixmap.c | |
parent | 385b171b8bef464bbf652c81d85728ccb064ab86 (diff) | |
download | mupdf-1b8a2963bd93117e72d2a5159e739a77e455c37f.tar.xz |
Only interpolate upscaled images when the interpolate flag is set in the image dictionary.
Diffstat (limited to 'fitz/res_pixmap.c')
-rw-r--r-- | fitz/res_pixmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fitz/res_pixmap.c b/fitz/res_pixmap.c index 88e10230..e70d084d 100644 --- a/fitz/res_pixmap.c +++ b/fitz/res_pixmap.c @@ -12,6 +12,7 @@ fz_newpixmapwithdata(fz_colorspace *colorspace, int x, int y, int w, int h, unsi pix->w = w; pix->h = h; pix->mask = nil; + pix->interpolate = 1; pix->colorspace = nil; pix->n = 1; |