Code

apply patch 1498946 by zbsz (fixes #1492545 "PNG resolution value export")
[inkscape.git] / src / selection-chemistry.cpp
index 1225a66f369dcbef3c0d23e87a79407ff4e2bcfd..352a0b6ad5943353c39b350242585079c10193e1 100644 (file)
@@ -2332,7 +2332,7 @@ sp_selection_create_bitmap_copy ()
     // Do the export
     sp_export_png_file(document, filepath,
                    bbox.x0, bbox.y0, bbox.x1, bbox.y1,
-                   width, height,
+                   width, height, res, res,
                    (guint32) 0xffffff00,
                    NULL, NULL,
                    true,  /*bool force_overwrite,*/