This version adds a new config option, resolution
. This allows the developer to override the default DPI scaling - this is useful if, for instance, you'd like to export the image at a higher resolution than displayed.
Big thanks to @Innders for the suggestion!