SVG files directly inline in HTML

Issues related to previewing and publishing your web site.
Post Reply
User avatar
tommy888
 
 
Posts: 214
Joined: Mon Sep 28, 2009 5:41 pm
Location: Poland
Contact:

SVG files directly inline in HTML

Post by tommy888 »

Are SVG files (publish as SVG) directly inlined in HTML so to avoid http requests?

And another questions regarding SVG? W
Why when I insert SVG as an image in WB it makes an impression of being blurred. In the browser it is scalable and looks fine.

I've noticed SVG image keeps proportion and cannot be easy st to whatever size? Is it true? Or is it WB behaviour?

Thank you for the response. :)
User avatar
Pablo
 
Posts: 21573
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: SVG files directly inline in HTML

Post by Pablo »

Are SVG files (publish as SVG) directly inlined in HTML so to avoid http requests?
Yes
Why when I insert SVG as an image in WB it makes an impression of being blurred.
This is done for performance reasons. The SVG is converted to pixels in the workspace preview to reduce the number of render calls.
User avatar
tommy888
 
 
Posts: 214
Joined: Mon Sep 28, 2009 5:41 pm
Location: Poland
Contact:

Re: SVG files directly inline in HTML

Post by tommy888 »

Good to know. Thank you :)
Post Reply