G
G
GrimJack2017-09-23 09:04:11
JavaScript
GrimJack, 2017-09-23 09:04:11

How to convert .svg to svg code (,, etc)?

Not so long ago I came across a small code (about 20 lines) in jQuery, which makes the image in the tag with all the insides of the view and so on. Now, when such a task has arisen, I can’t find this code, I’ve already rummaged through the whole Google. Maybe someone has? Or maybe someone knows similar online converters? <img><svg><g>, <path>, <circle>

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Danakt Frost, 2017-09-23
@GrimJack

svg-image consists of svg-code in advance. Open the image with any text editor and use the code as you like.

A
Artur Karapetyan, 2017-09-23
@architawr

https://gist.github.com/ArchiTawer/f4d7173f22c5369...

A
Andrey Fedoseev, 2017-09-23
@itlen

www.rapidtables.com/web/tools/svg-viewer-editor.htm
https://jakearchibald.github.io/svgomg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question