SVG image is incomplete

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: XnTriq, helmut, xnview

Finn
Posts: 4
Joined: Fri Dec 17, 2021 10:30 am

SVG image is incomplete

Post by Finn »

I need to convert some SVG files to png. But XnConvert don't read all content from file. In attached zip SVG file and screenshots: how it look in InkScape and in XnConvert. What a problem with file?
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 44583
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: SVG image is incomplete

Post by xnview »

XnView/XnConvert use the SVG engine from Qt, but it's a basic implementation, so you can have problems on some files
Pierre.
Finn
Posts: 4
Joined: Fri Dec 17, 2021 10:30 am

Re: SVG image is incomplete

Post by Finn »

It's very sadly to hear... Any prospects for a more advanced engine?
User avatar
DerRuhri
Posts: 6
Joined: Sun Dec 15, 2019 8:24 pm
Location: Ruhr area, Germany

Re: SVG image is incomplete

Post by DerRuhri »

Don't know whether this makes sense for XnView?
https://github.com/RazrFalcon/resvg
It renders the SVG from above just fine. And QtSvg undoubtedly is one of the worst SVG libraries, unfortunately.

It's actively maintained, developped in Rust and really high quality.
To quote the authors: "The core idea is to make a fast, small, portable SVG library with the goal to support the whole SVG spec"

Here is a comparison of some of the SVG engines regarding SVG feature support (more is better) Image
User avatar
DerRuhri
Posts: 6
Joined: Sun Dec 15, 2019 8:24 pm
Location: Ruhr area, Germany

Re: SVG - reSVG new version

Post by DerRuhri »

nice subject title, which says it all :D : new version, changelog here https://github.com/RazrFalcon/resvg/blo ... ANGELOG.md