Skip to content

SVG Viewer (VCL)

Carlo Barazzetta edited this page Jun 21, 2022 · 4 revisions

SVG Viewer is a very useful demo to evaluate the quality of the SVG rendering of the 4 engines that can be used by SVGIconImageList components.

SVG Viewer Example

Warning: to start the application make sure you have enabled SKIA and therefore that you have sk4d.dll in the SVGIconImageList\ Demo\Bin folder where the application is compiled.

The demo, by default, points to the SVGIconImageList\Demo\svg_examples folder which contains a series of SVG files with particular characteristics, to test the rendering quality of the 4 engines, visible in the 4 boxes on the left.

SVG Viewer in action:

SVG Viewer Video

Scrolling the list of files (on the right) you can see the rendering result. As you can see, the best engine at the moment is Image32, Angus Johnson's library, which is the default engine used by SVGIconImageList.

It is also possible to change the working folder to test other files or apply the options: GrayScale, Opacity, Fixed Color to the images.