diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-18 15:29:45 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-12-18 15:32:14 +0100 |
commit | 39389bba83b4b1d64c8c540cb7c7edbe09ea4009 (patch) | |
tree | 326e11cc0af96209d8ea1babda6a4ff8f70d80d8 /source/cbz/muimg.c | |
parent | 80949d3d6b6320f5643a450c382f19370922e78f (diff) | |
download | mupdf-39389bba83b4b1d64c8c540cb7c7edbe09ea4009.tar.xz |
Rename fz_image_get_sanitised_res to fz_image_resolution.
Diffstat (limited to 'source/cbz/muimg.c')
-rw-r--r-- | source/cbz/muimg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/cbz/muimg.c b/source/cbz/muimg.c index 0a01e2b0..204d066b 100644 --- a/source/cbz/muimg.c +++ b/source/cbz/muimg.c @@ -35,7 +35,7 @@ img_bound_page(fz_context *ctx, img_page *page, fz_rect *bbox) { fz_image *image = page->image; int xres, yres; - fz_image_get_sanitised_res(image, &xres, &yres); + fz_image_resolution(image, &xres, &yres); bbox->x0 = bbox->y0 = 0; bbox->x1 = image->w * DPI / xres; bbox->y1 = image->h * DPI / yres; @@ -49,7 +49,7 @@ img_run_page(fz_context *ctx, img_page *page, fz_device *dev, const fz_matrix *c fz_image *image = page->image; int xres, yres; float w, h; - fz_image_get_sanitised_res(image, &xres, &yres); + fz_image_resolution(image, &xres, &yres); w = image->w * DPI / xres; h = image->h * DPI / yres; fz_pre_scale(&local_ctm, w, h); |