Page 1 of 1
How to view SVG files in XnView browser?
Posted: Mon Mar 29, 2021 2:31 pm
by mibro
Is there a way how to view svg files in XnView MP browser?
Thank you for any tips.
Re: How to view SVG files in XnView browser?
Posted: Tue Mar 30, 2021 7:55 am
by xnview
yes, remove svg from 'Exclude' list in settings>File list>custom filter
Re: How to view SVG files in XnView browser?
Posted: Tue Mar 30, 2021 8:18 am
by cday
xnview wrote: Tue Mar 30, 2021 7:55 am
yes, remove svg from 'Exclude' list in settings>File list>custom filter
Then svg files will be displayed in the browser as an icon, currently no way to display a thumbnail?
Re: How to view SVG files in XnView browser?
Posted: Tue Mar 30, 2021 2:21 pm
by mibro
I can open svg with XnView, but it would be also great if I could see svg thumbnails in the browser.
Re: How to view SVG files in XnView browser?
Posted: Tue Mar 30, 2021 2:23 pm
by mibro
xnview wrote: Tue Mar 30, 2021 7:55 am
yes, remove svg from 'Exclude' list in settings>File list>custom filter
It works! Thank you!
Re: How to view SVG files in XnView browser?
Posted: Tue Mar 30, 2021 2:31 pm
by cday
mibro wrote: Tue Mar 30, 2021 2:23 pm
xnview wrote: Tue Mar 30, 2021 7:55 am
yes, remove svg from 'Exclude' list in settings>File list>custom filter
It works! Thank you!
You can see thumbnails, or just the file icon?
I ask as in a similar thread last week it seemed that currently thumbnails weren't available.
Re: How to view SVG files in XnView browser?
Posted: Sat Apr 03, 2021 7:21 pm
by VictorVG
SVG removed:

- 1.png (18.06 KiB) Viewed 11701 times
Re: How to view SVG files in XnView browser?
Posted: Sat Apr 03, 2021 8:19 pm
by cday
@VictorVG
Sorry, to be clear is logotype-mail.svg above displayed as a thumbnail or an icon?
Re: How to view SVG files in XnView browser?
Posted: Thu Apr 29, 2021 2:31 am
by VictorVG
This is a SVG logo file with the pages saved in the HTML browser. Get such files easily - a browser "Save page as HTML entirely" and in the ./<save_page_name>_Files subdirectory We look at the presence of *.svg .

Re: How to view SVG files in XnView browser?
Posted: Thu Sep 16, 2021 3:27 am
by HaroldFinch
xnview wrote: Tue Mar 30, 2021 7:55 am
yes, remove svg from 'Exclude' list in settings>File list>custom filter
xnview: first, before saying anything else, I want to thank you for this program.
Concerning your reply above, yes, that Exclude solution works for me as well.
But...
1) why do I have to do that? If XnView supports SVG files, why is svg in the exclude list in the first place? Is the SVG support only preliminary, maybe unstable or something?
2) in fact, there ARE issues:
a) when XnView opens SVG files that I have created, it does so at a super small size, much smaller than other programs do. For example, there is one file that I am looking at which ~10 cm wide in XnView, ~22.5 cm wide in Brave & Chrome, ~23 cm wide in GIMP (IF, when opening the file, I manually override the default 90 DPI and replace it with my monitor's actual DPI of 163), ~42 cm in LibreOffice Draw.
b) if in XnView I zoom in on an SVG file, yes, the image blows up, but it looks awful. It is as if XnView converts the SVG into a bitmap and then simply blows up the bitmap. That is no good! The whole point of SVG's vector graphics is that they should support perfect scaling!
Re: How to view SVG files in XnView browser?
Posted: Thu Sep 16, 2021 12:59 pm
by xnview
SVG support is very basic, and not in vector
Re: How to view SVG files in XnView browser?
Posted: Sun Sep 19, 2021 3:27 am
by HaroldFinch
xnview wrote: Thu Sep 16, 2021 12:59 pm
SVG support is very basic, and not in vector
xnview: thanks for confirming.
I assume that you are using some 3rd party code library for the current SVG support. Do you know if that library has plans to properly supprt SVG vector graphics in the future? Or is there another code library which does?
Re: How to view SVG files in XnView browser?
Posted: Tue Sep 21, 2021 9:21 am
by xnview
Currently i use the one from QT libs, and i'm not sure that support will be better in future...