SVG files opened in XnView MP using the included plugin open at reduced pixel dimensions, in the case of the attached example file at 100x100 versus 450x450 pixels when opened in another popular freeware software.
As originally reported in the following thread: svg to png: bad quality
Edit: As a vector file as no associated DPI value until it is rasterised when it is opened, presumably the file is being opened at a lower DPI value in XnView software, due to a value set in the addon used or set in XnView software.
Issue with viewing SVG files
Moderators: XnTriq, helmut, xnview, Dreamer
-
- XnThusiast
- Posts: 4304
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Issue with viewing SVG files
You do not have the required permissions to view the files attached to this post.
-
- Author of XnView
- Posts: 45561
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Issue with viewing SVG files
the default size for this file is 100x100
viewBox="0 0 100 100"
Pierre.
-
- XnThusiast
- Posts: 4304
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Issue with viewing SVG files
xnview wrote: Fri Nov 27, 2020 9:10 am the default size for this file is 100x100viewBox="0 0 100 100"
A parameter in the SVG file, so no way to view at higher resolution using the included plugin?
It is a surprise that a vector file format specifies viewing pixel dimensions.
Edit:
A web image standard, rather than a typical image format:
Wikipedia - SVG
-
- XnThusiast
- Posts: 4304
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: Issue with viewing SVG files
On further investigation, SVG is evidently more than a vector image format, the specification allowing other forms of image content including bitmap content:
Wikipedia - Scalable Vector Graphics
It remains unexplained why the 'other' software renders the same file with significantly larger pixel dimensions, and correspondingly much improved image quality...
Wikipedia - Scalable Vector Graphics
It remains unexplained why the 'other' software renders the same file with significantly larger pixel dimensions, and correspondingly much improved image quality...

-
- Posts: 1
- Joined: Wed Jun 16, 2021 4:23 pm
Re: Issue with viewing SVG files
I am encountering the same issue. In other softwares, when loading an SVG format, you get usually prompted for import resolution during the rasterisation process. I think XnConvert is ignoring the "Resolution" property from the "PS/PDF" tab of the "Load Format Setting" which should be the intended behaviour...