mirror of
https://github.com/GNS3/gns3-registry.git
synced 2024-12-18 20:37:57 +00:00
Update README.rst
This commit is contained in:
parent
4c33cba6ab
commit
982c35928b
@ -1,31 +1,38 @@
|
||||
Symbols
|
||||
*******
|
||||
|
||||
This directory contain symbols that you can import in GNS3.
|
||||
This directory contains symbols that you can use in GNS3.
|
||||
|
||||
Rules
|
||||
=====
|
||||
|
||||
* All symbols must be provided as a SVG file
|
||||
* A file named symbol.txt should exist and contain symbol licence
|
||||
* Try to keep a small file size
|
||||
* Max height 70px unless you have a specific reason
|
||||
* All symbols must be a SVG file
|
||||
* A file named symbol.txt should exist and contains the symbol licence
|
||||
* Try to keep the file size small
|
||||
* The recommended maximum width and height is 70px, please see how to resize a SVG below
|
||||
|
||||
|
||||
Resize a svg
|
||||
Resize a SVG
|
||||
============
|
||||
|
||||
If the height of your SVG is too big. You can resize it with
|
||||
a tools understanding SVG.
|
||||
It is possible to resize a SVG file using a software like Inkscape or any
|
||||
other editor that works for SVG images.
|
||||
|
||||
For imagemagick you need a version with rsvg (often it's OK on Linux).
|
||||
For installating it on mac with Homebrew:
|
||||
Alternatively, you could use ImageMagick (with rsvg support) on Mac OS and Linux
|
||||
|
||||
Example to install ImageMagick on Mac using Homebrew:
|
||||
|
||||
```
|
||||
brew install imagemagick --with-librsvg
|
||||
```
|
||||
|
||||
For resizing with a height of 70:
|
||||
Example to install ImageMagick on Debian or Ubuntu:
|
||||
|
||||
```
|
||||
sudo apt-get install imagemagick
|
||||
```
|
||||
|
||||
Example to resize to a width and height of 70px:
|
||||
|
||||
```
|
||||
convert -background none symbols/firefox.svg -resize x70 firefox.svg
|
||||
|
Loading…
Reference in New Issue
Block a user