SVG: Difference between revisions

From FreeCAD Documentation
(Category)
No edit summary
Line 1: Line 1:
Scalable Vector Graphics, or SVG, is a type of vectorized image format for two-dimensional graphics.
Scalable Vector Graphics, or SVG, is a type of vectorized image format for two-dimensional graphics.


Vector-based formats such as SVG are very useful in technical drawing programs, like FreeCAD, because an SVG image can be scaled to any size without losing its shape or details. The SVG can be scaled to any required resolution and converted to other formats like PNG or JPEG for printing.
Vector-based formats such as SVG are very useful in technical drawing programs, like FreeCAD, because an SVG image can be scaled to any size without losing its shape or amount of details. The SVG can be scaled to any required resolution and converted to [[bitmap]] formats like PNG or JPEG for printing.


FreeCAD can read and export SVG graphics, and they are used for many things, including symbols and icons on the interface, and for templates in the workbenches, for example, the [[TechDraw Templates]].
FreeCAD can read and export SVG graphics using the [[Draft SVG]] function from the [[Draft Workbench]]. They are used for many things, including symbols and icons on the interface, and for templates, for example, the [[TechDraw Templates]] can be created as SVG files with some editable text fields to be filled by the user of the [[TechDraw Workbench]].


The SVG image is described in an XML-type language, which means that it can be opened and edited with a simple text editor to make changes. This SVG markup language is an international standard, and should be read and interpreted in the same way by SVG compliant viewers and drawing applications.
The SVG image is described in an XML-type language, which means that it can be opened and edited with a simple text editor to make changes. Due to its text-based nature, the file can also be searched, indexed, and compressed easily. This SVG markup language is an open standard developed by the World Wide Web Consortium (W3C) since 1999. This means that an SVG file should be read and interpreted in the same way by compliant viewers and drawing applications.


[[Category:User Documentation]]
[[Category:User Documentation]]

Revision as of 06:25, 4 November 2018

Scalable Vector Graphics, or SVG, is a type of vectorized image format for two-dimensional graphics.

Vector-based formats such as SVG are very useful in technical drawing programs, like FreeCAD, because an SVG image can be scaled to any size without losing its shape or amount of details. The SVG can be scaled to any required resolution and converted to bitmap formats like PNG or JPEG for printing.

FreeCAD can read and export SVG graphics using the Draft SVG function from the Draft Workbench. They are used for many things, including symbols and icons on the interface, and for templates, for example, the TechDraw Templates can be created as SVG files with some editable text fields to be filled by the user of the TechDraw Workbench.

The SVG image is described in an XML-type language, which means that it can be opened and edited with a simple text editor to make changes. Due to its text-based nature, the file can also be searched, indexed, and compressed easily. This SVG markup language is an open standard developed by the World Wide Web Consortium (W3C) since 1999. This means that an SVG file should be read and interpreted in the same way by compliant viewers and drawing applications.