SVG icons

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
ajperks
Posts: 105
Joined: Sat Sep 06, 2014 3:38 pm

SVG icons

Post by ajperks »

I wonder what the point of SVG icons are.
Why are they better than simple images used as buttons?
I have tried reading up on them, and tried to use them, but it seems more trouble than they are worth.
Obviously, I am missing something.
Klaus
Posts: 14325
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: SVG icons

Post by Klaus »

Yes, you are missing something. :D

Import a little image (maybe 100*100 px) into your stack and scale it to the size of the stack.
Then do the same with an SVG icon.

If you scale a pixel image, it will get quite pixelated at a certain point.
SVG ("Scalable Vector Graphic", the magic word is VECTOR) do not, like all Vector graphics.
ajperks
Posts: 105
Joined: Sat Sep 06, 2014 3:38 pm

Re: SVG icons

Post by ajperks »

Thank you, I understand. I am familiar with vector graphics.
It seemed like the bar they were in had particular significance.
Post Reply