SVG rendering broken with small svg images
Moderators: XnTriq, helmut, xnview, Dreamer
SVG rendering broken with small svg images
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.
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.
Re: SVG rendering broken with small svg images
Sorry, I was partially wrong: the bug happens even with bigger versions of the icons in the archive I linked...
Re: SVG rendering broken with small svg images
Nobody has found this bug?
I'm attaching a screenshot to show the kind of problem...
I'm attaching a screenshot to show the kind of problem...
Re: SVG rendering broken with small svg images
I'm the only one experiencing this bug?
Re: SVG rendering broken with small svg images
No ... I can confirm too.Shores wrote:I'm the only one experiencing this bug?
XnViewMP Linux X64 - Debian - X64
Re: SVG rendering broken with small svg images
I'm happy I'm not alone...oops66 wrote:No ... I can confirm too.Shores wrote:I'm the only one experiencing this bug?
Re: SVG rendering broken with small svg images
See Issue 640 for current status and details.
Pierre.
Re: SVG rendering broken with small svg images
Thanks, where can we download version 0.75 which corrects this bug ?
Thanks again,
Shores
Thanks again,
Shores
Re: SVG rendering broken with small svg images
Announcement: XnViewMP 0.75 betaShores wrote:Thanks, where can we download version 0.75 which corrects this bug ?
The final release (including versions for Linux and Mac OS) will be available soon.
Re: SVG rendering broken with small svg images
the beta 0.75 available doesn't fix this issue
Pierre.
Re: SVG rendering broken with small svg images
So we should wait for 0.75 final?xnview wrote:the beta 0.75 available doesn't fix this issue
Re: SVG rendering broken with small svg images
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?
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?
Re: SVG rendering broken with small svg images
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!
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!
Re: SVG rendering broken with small svg images
O.k., strange.Shores wrote:I'm using 0.84 x64 and I see the thumbnails perfectly...
Yes, I deleted "svg" from the list of excluded file formats, already.Shores wrote:Are you sure that you haven't excluded SVG files from file list in Settings - File List - Custom filter ?
Do these SVG files have a transparent background? Or what is the background colour of the SVG files?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!