diff --git a/src/bin/svg2png/svg2png.cpp b/src/bin/svg2png/svg2png.cpp index 745b6c5c..72da8579 100644 --- a/src/bin/svg2png/svg2png.cpp +++ b/src/bin/svg2png/svg2png.cpp @@ -109,7 +109,8 @@ public: w = static_cast(h * scale); } cout << "Warning: The SVG width and/or height values exceed the 8k resolution. " - "To avoid the heap overflow, the conversion to the PNG file made in " << WIDTH_8K << " x " << HEIGHT_8K << " resolution." << endl; + "To avoid the heap overflow, the conversion to the PNG file made in " << w << " x " << h << " resolution." << endl; + picture->size(static_cast(w), static_cast(h)); } } else { picture->size(static_cast(w), static_cast(h));