SVG - The fantastic format
Posted
#1
(In Topic #675)
Regular

I fully agree that it is OK to use SVG because, as seen in the other posts, it is more versatile and the image quality is superior.
I would like to comment on other aspects, to broaden the horizons of this format. On the one hand the possibility of using it as a template and the other to change the colors at will, because SVG is an XML that is text, so you can do a lot of things before "converting" it to pixels.
References:
The benefits of using vector graphics - revisited - Gambas ONE
Vector graphics support ? - Page 2 - Gambas ONE
Sample
If you look at tradukisto there I use SVG for the icons and the reason is that on the one hand it is possible to easily modify the geometry of the graphic and on the other hand it is possible to change the color, which I do when I switch from a light to a dark theme (I just find and replace text).
But there are other method more interesting using XML parser and TAGS, here the code:
<IMG src="https://imgur.com/93RIHWL.png">
</IMG>
1 guest and 0 members have just viewed this.



