diff --git a/lib/postprocessing/image.js b/lib/postprocessing/image.js index c6943707..e37fc76d 100644 --- a/lib/postprocessing/image.js +++ b/lib/postprocessing/image.js @@ -646,7 +646,7 @@ function convertSvg(img, instructions) { } // some svgs have no size (only percentage width/height), so we scale them to our target size - img.in("-size", `${width}`); // 2020-11-10 img.rawSize() will not be applied at the correct time and the SVG will be upscaled resulting in a fuzzy final rendition + img.in("-size", `${imageSize}`); // 2020-11-10 img.rawSize() will not be applied at the correct time and the SVG will be upscaled resulting in a fuzzy final rendition return img; }