-2009-12-06 6.5.8-4 Nicolas George <nicolas.george@norma...>
- * Produce the correct resolution when the SVG file is coded in units rather
- than pixels.
-
2009-12-04 6.5.8-3 Glenn Randers-Pehrson <glennrp@image...>
* Changed the one instance of PNG_COLOR_TYPE_RGBA to PNG_COLOR_TYPE_RGB_ALPHA
in coders/png.c
g_error_free(error);
#if defined(MAGICKCORE_CAIRO_DELEGATE)
rsvg_handle_get_dimensions(svg_handle,&dimension_info);
- image->columns=dimension_info.width;
- image->rows=dimension_info.height;
+ image->columns=dimension_info.width*image->x_resolution/72.0;
+ image->rows=dimension_info.height*image->x_resolution/72.0;
pixels=(unsigned char *) NULL;
#else
pixel_info=rsvg_handle_get_pixbuf(svg_handle);