diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-03-13 13:36:39 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-03-13 14:03:09 +0100 |
commit | 7eca6b0d05443e85ecd7bb107dccf410696364aa (patch) | |
tree | e4f5c9a362e7a4c7b51b2d07087f422043de9f2f /fitz/image_save.c | |
parent | 48652e529ed1c0ae23cfd45f14d9655ad2849c89 (diff) | |
download | mupdf-7eca6b0d05443e85ecd7bb107dccf410696364aa.tar.xz |
Add ctx argument and rename fz_bound_pixmap to fz_pixmap_bbox.
Diffstat (limited to 'fitz/image_save.c')
-rw-r--r-- | fitz/image_save.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/image_save.c b/fitz/image_save.c index 614d18ce..95be1cd3 100644 --- a/fitz/image_save.c +++ b/fitz/image_save.c @@ -10,7 +10,7 @@ void fz_write_pixmap(fz_context *ctx, fz_pixmap *img, char *file, int rgb) if (rgb && img->colorspace && img->colorspace != fz_device_rgb) { - converted = fz_new_pixmap_with_bbox(ctx, fz_device_rgb, fz_bound_pixmap(img)); + converted = fz_new_pixmap_with_bbox(ctx, fz_device_rgb, fz_pixmap_bbox(ctx, img)); fz_convert_pixmap(ctx, converted, img); img = converted; } |