r/HTML • • 7d ago

Question SVG Tutorial - Learn how to code images in HTML with SVG

https://svg-tutorial.com/

I have been working on this tutorial, but it doesn't include how to create a svg from a map or from a pre-drawn picture, or a photo. I am looking for how to do those things. I can't find a tutorial that does that. Know of any?

6 Upvotes

5 comments sorted by

3

u/Tall_Addendum_368 7d ago

You can look at r/svg ; but I suggest learning vector as a whole. Look at the Inkscape editor, it's open source.

1

u/Unicef_Fonzie 2d ago

Exporting from a vector editor also leaves a ton of extra metadata in the file that you usually have to strip out before dropping it into the html

-1

u/username95050 7d ago

How does one learn vectors as a whole? What is the inkscape editor?

3

u/Tall_Addendum_368 7d ago • Bravo

There are plenty of tutorials on youtube. inkscape.org/ Honestly, I learned it over many years, the hard way, but most of the process is either standard shapes, or the pen tool.

3

u/phn-cloudsnake 6d ago

Don’t forget you can use JavaScript in SVG. So don’t trust SVG uploads to your server. Client side you can do really cool stuff.