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: heatherlaine, Klaus, FourthWorld, kevinmiller

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

SVG icons

Post by ajperks » Thu Nov 08, 2018 7:33 pm

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: 10388
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: SVG icons

Post by Klaus » Thu Nov 08, 2018 7:50 pm

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: 55
Joined: Sat Sep 06, 2014 3:38 pm

Re: SVG icons

Post by ajperks » Thu Nov 08, 2018 10:24 pm

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

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”