drawsvg iconDRAWSVG user's manual
PreviousNextContentsPDFdrawsvg

3.3. Open a document

3.3.1. Loading a SVG file
3.3.2. Loading an image file
3.3.3. Loading an URL
3.3.4. Loading a svg from freesvg gallery

This function is available from the document menu .

Item Description

With this function you can load a SVG document from four sources :

  • from a svg file on your hard drive

  • from a image file on your hard drive

  • from a web URL

  • from the freesvg gallery

3.3.1. Loading a SVG file

Check the SVG file source radio button. Select the svg file with the browse button and load it.

Figure 3.2. Loading a SVG file

Loading a SVG file

If the document does not contains html audio/video controls, and if its size is different than (100%,100%), then the document can be edited :

  • with its real size, and scrollbars if needed

  • or with an adjusted size to the drawsvg window.

Otherwise, the document is edited with its defined size and this option is disabled.

3.3.2. Loading an image file

This mode allows to set an SVG from an image. The dimensions and the coordinate system of the document are identical to the image.

Check the image file source radio button. Select the image file with the browse button and load it.

Figure 3.3. Loading an image file

Loading an image file

By default, the document is edited with the size of the image.

3.3.3. Loading an URL

Check the url source radio button. Copy the URL of an SVG document from the browser to the edit field. Then view the URL and load it.

For example, to load https://upload.wikimedia.org/wikipedia/commons/f/f3/Blank_World_Map.svg

Figure 3.4. Loading a SVG URL

Loading a SVG URL

If the option save is checked, when saving, DRAWSVG will suggest to update the resource with an HTTP PUT Request with the document contents.

Figure 3.5. Saving a SVG URL

Saving a SVG URL

3.3.4. Loading a svg from freesvg gallery

FreeSVG is a well known WEB site with a lot of SVG files free to use. You can search documents in the gallery with tags, author names.

DRAWSG has a navigation GUI in the gallery of FreeSVG that lets you edit it's documents directly.

The source is only available with the expert profile.

Check the freesvg source radio button. Query the gallery, browse documents, look them and load the selected one.

Figure 3.6. Loading a SVG from Freesvg gallery

Loading a SVG from Freesvg gallery

See showcase load freesvg document