diff options
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; } |