SVG rendering broken with small svg images

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Shores
Posts: 28
Joined: Sat Aug 23, 2014 5:42 pm

SVG rendering broken with small svg images

Post by Shores » Tue Mar 24, 2015 8:16 pm

When browsing a directory full of many small SVG images, as the 24px versions you can find here:

https://github.com/google/material-design-icons

It happens that both the miniatures and the preview images and the opened images show the SVG rendering garbled as if the image gets superimposed on another SVG of the same folder, or even more than one of the SVGs of the same folder.

Albeit SVG rendering in XnviewMP shows many little defects (sparse pixels, bars and other artifacts), and doesn't get re-rendered when you zoom in or out, showing pixels even if it shouldn't, since the file is vector and should be pixel perfect at every zoom level, if you use bigger SVG images (such as the 48 px versions of the very same icons), rendering is far better, and each image will be drawn on a fresh background, with no traces of other SVG images.

Note that this happens only with SVG images, and even if in the same folders there are other raster files, they don't get caught in this bug.

Shores
Posts: 28
Joined: Sat Aug 23, 2014 5:42 pm

Re: SVG rendering broken with small svg images

Post by Shores » Tue Mar 24, 2015 8:27 pm

Sorry, I was partially wrong: the bug happens even with bigger versions of the icons in the archive I linked...

Shores
Posts: 28
Joined: Sat Aug 23, 2014 5:42 pm

Re: SVG rendering broken with small svg images

Post by Shores » Mon Mar 30, 2015 11:45 am

Nobody has found this bug?

I'm attaching a screenshot to show the kind of problem...
Attachments
Untitled.png

Shores
Posts: 28
Joined: Sat Aug 23, 2014 5:42 pm

Re: SVG rendering broken with small svg images

Post by Shores » Wed Apr 15, 2015 8:55 am

I'm the only one experiencing this bug?

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: SVG rendering broken with small svg images

Post by oops66 » Thu Apr 16, 2015 9:04 pm

Shores wrote:I'm the only one experiencing this bug?
No ... I can confirm too.
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

Shores
Posts: 28
Joined: Sat Aug 23, 2014 5:42 pm

Re: SVG rendering broken with small svg images

Post by Shores » Thu Apr 16, 2015 9:31 pm

oops66 wrote:
Shores wrote:I'm the only one experiencing this bug?
No ... I can confirm too.
I'm happy I'm not alone... ;)

User avatar
xnview
Author of XnView
Posts: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: SVG rendering broken with small svg images

Post by xnview » Fri Apr 17, 2015 7:10 am

it seems that it's a bug in QT SVG engine
Pierre.

User avatar
xnview
Author of XnView
Posts: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: SVG rendering broken with small svg images

Post by xnview » Sat Apr 18, 2015 12:42 am

See Issue 640 for current status and details.
Pierre.

Shores
Posts: 28
Joined: Sat Aug 23, 2014 5:42 pm

Re: SVG rendering broken with small svg images

Post by Shores » Sat Apr 18, 2015 8:33 am

Thanks, where can we download version 0.75 which corrects this bug ?

Thanks again,
Shores

User avatar
XnTriq
Moderator & Librarian
Posts: 5432
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: SVG rendering broken with small svg images

Post by XnTriq » Sat Apr 18, 2015 9:30 am

Shores wrote:Thanks, where can we download version 0.75 which corrects this bug ?
Announcement: XnViewMP 0.75 beta
The final release (including versions for Linux and Mac OS) will be available soon.

User avatar
xnview
Author of XnView
Posts: 31607
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: SVG rendering broken with small svg images

Post by xnview » Sat Apr 18, 2015 9:55 am

the beta 0.75 available doesn't fix this issue
Pierre.

Shores
Posts: 28
Joined: Sat Aug 23, 2014 5:42 pm

Re: SVG rendering broken with small svg images

Post by Shores » Sat Apr 18, 2015 10:22 am

xnview wrote:the beta 0.75 available doesn't fix this issue
So we should wait for 0.75 final? :)

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: SVG rendering broken with small svg images

Post by helmut » Sun Feb 26, 2017 10:51 pm

I've just downloadd the following SVG icons from the above source to try and reproduce the problem in v0,.84.

Folder: ../material-design-icons/image/svg/production/
ic_add_a_photo_24px.svg
ic_add_a_photo_48px.svg
ic_add_to_photos_24px.svg
ic_add_to_photos_48px.svg
ic_adjust_24px.svg
ic_adjust_48px.svg
ic_assistant_photo_24px.svg
ic_audiotrack_24px.svg
ic_audiotrack_48px.svg
ic_blur_circular_24px.svg
ic_blur_linear_24px.svg
ic_blur_linear_48px.svg
ic_blur_off_24px.svg

For me, XnView MP v0.84 neither shows thumbnails for these SVG files nor it can open them. Could somebody else please verify?

Shores
Posts: 28
Joined: Sat Aug 23, 2014 5:42 pm

Re: SVG rendering broken with small svg images

Post by Shores » Mon Feb 27, 2017 12:11 am

I'm using 0.84 x64 and I see the thumbnails perfectly...

Are you sure that you haven't excluded SVG files from file list in Settings - File List - Custom filter ?

Nonetheless there still is no way to set SVG thumbnail background to something not white, and this means that white SVG images can't be seen since they're rendered on white bg!

User avatar
helmut
Posts: 8153
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: SVG rendering broken with small svg images

Post by helmut » Tue Feb 28, 2017 9:49 pm

Shores wrote:I'm using 0.84 x64 and I see the thumbnails perfectly...
O.k., strange.
Shores wrote:Are you sure that you haven't excluded SVG files from file list in Settings - File List - Custom filter ?
Yes, I deleted "svg" from the list of excluded file formats, already.
Shores wrote:Nonetheless there still is no way to set SVG thumbnail background to something not white, and this means that white SVG images can't be seen since they're rendered on white bg!
Do these SVG files have a transparent background? Or what is the background colour of the SVG files?

Post Reply