diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-06-22 14:26:10 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-06-22 14:26:10 +0000 |
| commit | 2bef43626ceb10288cf4e289dad406608c588eaf (patch) | |
| tree | 2068eaf3d22e88a66cd17bd8a5e107497660292e /src/main.cpp | |
| parent | remove setDoc(), part of fix for #1509854 (diff) | |
| download | inkscape-2bef43626ceb10288cf4e289dad406608c588eaf.tar.gz inkscape-2bef43626ceb10288cf4e289dad406608c588eaf.zip | |
apply patch 1498946 by zbsz (fixes #1492545 "PNG resolution value export")
(bzr r1262)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3c3655175..aa97f3aec 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -955,7 +955,7 @@ sp_do_export_png(SPDocument *doc) g_print("Bitmap saved as: %s\n", filename); if ((width >= 1) && (height >= 1) && (width < 65536) && (height < 65536)) { - sp_export_png_file(doc, filename, area.x0, area.y0, area.x1, area.y1, width, height, bgcolor, NULL, NULL, true, sp_export_id_only ? items : NULL); + sp_export_png_file(doc, filename, area.x0, area.y0, area.x1, area.y1, width, height, dpi, dpi, bgcolor, NULL, NULL, true, sp_export_id_only ? items : NULL); } else { g_warning("Calculated bitmap dimensions %d %d are out of range (1 - 65535). Nothing exported.", width, height); } |
