S
S
Sergey Burduzha2019-02-25 16:57:15
SVG
Sergey Burduzha, 2019-02-25 16:57:15

Why does the svg icon have an image attribute when exporting from Photoshop?

Good afternoon.
I export the icon from Photoshop as svg, as a result I get the svg tag, and inside the image tag.

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
  <defs>
    <style>
      .cls-1 {
        opacity: 0.3;
      }
    </style>
  </defs>
  <image id="login.svg" class="cls-1" width="16" height="16" xlink:href="data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAyUlEQVQ4jYWTzQrCQAyEv5biL3gX9B0EPXnwID67V6+CzyB4UBRqqUxJQdpNOlC2Jcl0JslmdV3jIANOwNjeu/jqKbxqg1csqLaIFAhzIAe6SfreA5MhBa8gJgsNu4cpsAzi+RDBG9gBm0hiYU3KHJ8lsLb4xSM42pnqZtujlZ09EiXMIol/WKSUiuAczHoLjICn5fVUiuAe/FXFDyuuUgnRHmiMN+Aa+YrG+BkobuxEBOGOt32LLCjhYFZSO6KLFhIIGrGXUwHlD0DMJrAktGJgAAAAAElFTkSuQmCC"/>
</svg>

Here is a link to the file https://www.dropbox.com/s/gsjmqjv7bb6u65s/login.sv... Is
this a design flaw, or are my hands crooked?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2019-02-25
@serii81

photoshop is not a vector editor
svg - vector format
So if you need to make svg from a picture - you need to vectorize it. Use Abode Illustrator or InkScape

S
Sergey Burduzha, 2019-02-25
@serii81

Exported the smart object to a file and opened it in illustrator.
I finally realized.
This wonderful designer inserted the icons into Photoshop not as svg, but as illustrator ai files, that's where the dancing with tambourines comes from.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question