Commit e145bf40 authored by Thomas Karl Pietrowski's avatar Thomas Karl Pietrowski
Browse files

Adding icon and export script

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com> (github: thopiekar)
parent 07459946
#!/bin/bash
# Copyright (c) 2018 Thomas Karl Pietrowski
icon="icon"
for res in 32 64 128 256 512
do
rm -f $icon.$res.png
inkscape -z -e $icon.$res.png -w $res -h $res $icon.svg
done
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="200"
height="200"
viewBox="0 0 150 150"
version="1.2"
id="svg7"
sodipodi:docname="FreeCAD.V1.svg"
inkscape:version="0.92.3 (2405546, 2018-03-11)">
<metadata
id="metadata13">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs11" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1017"
id="namedview9"
showgrid="true"
inkscape:zoom="2.1213203"
inkscape:cx="126.11428"
inkscape:cy="73.929893"
inkscape:window-x="-8"
inkscape:window-y="32"
inkscape:window-maximized="1"
inkscape:current-layer="svg7"
showguides="false"
units="px">
<inkscape:grid
type="xygrid"
id="grid16" />
</sodipodi:namedview>
<g
id="surface604"
transform="translate(0,8.2700062)"
style="fill:#d32f2f;fill-opacity:1">
<path
style="fill:#d32f2f;fill-opacity:1;fill-rule:nonzero;stroke:none"
d="M 49.5,-8.2700062 0,42.729994 V 141.72999 H 150 V -8.2700062"
id="path2"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccccc" />
</g>
<flowRoot
xml:space="preserve"
id="flowRoot8"
style="font-style:normal;font-weight:normal;font-size:40px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none"
transform="translate(0,8.2700062)"><flowRegion
id="flowRegion10"><rect
id="rect12"
width="120.60162"
height="118.3368"
x="36.237106"
y="44.024906" /></flowRegion><flowPara
id="flowPara14" /></flowRoot> <flowRoot
xml:space="preserve"
id="flowRoot24"
style="font-style:normal;font-weight:normal;font-size:74.66666412px;line-height:1.25;font-family:sans-serif;text-align:center;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#ffffff;fill-opacity:1;stroke:none"
transform="matrix(0.75000002,0,0,0.75000002,2.7123106,33.724065)"><flowRegion
id="flowRegion26"
style="font-size:74.66666412px;text-align:center;text-anchor:middle;fill:#ffffff"><rect
id="rect28"
width="188.90787"
height="189.14717"
x="0.062903889"
y="-0.14815156"
style="font-size:74.66666412px;text-align:center;text-anchor:middle;fill:#ffffff" /></flowRegion><flowPara
id="flowPara30"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:96px;font-family:'Noto Mono';-inkscape-font-specification:'Noto Mono';text-align:center;writing-mode:lr-tb;direction:ltr;text-anchor:middle;fill:#ffffff">FC</flowPara></flowRoot></svg>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment