Adding artwork from Jerry Jacobs for bitmap2component

This commit is contained in:
Marco Serantoni 2010-12-27 15:41:20 +01:00
parent a6c6041266
commit 916f80f1b4
4 changed files with 494 additions and 0 deletions

View File

@ -0,0 +1,440 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64"
height="64"
id="svg249"
sodipodi:version="0.32"
inkscape:version="0.48+devel r9983"
sodipodi:docname="bitmap2component.svg"
inkscape:export-filename="/Users/jerry/bitmap2component-512.png"
inkscape:export-xdpi="30"
inkscape:export-ydpi="30"
inkscape:output_extension="org.inkscape.output.svg.inkscape"
version="1.1">
<defs
id="defs3">
<linearGradient
id="linearGradient6494">
<stop
style="stop-color:#729fcf;stop-opacity:1;"
offset="0"
id="stop6496" />
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="1"
id="stop6498" />
</linearGradient>
<linearGradient
id="linearGradient15662">
<stop
style="stop-color: rgb(255, 255, 255); stop-opacity: 1;"
offset="0.0000000"
id="stop15664" />
<stop
style="stop-color: rgb(248, 248, 248); stop-opacity: 1;"
offset="1.0000000"
id="stop15666" />
</linearGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
fy="64.567902"
fx="20.892099"
r="5.257"
cy="64.567902"
cx="20.892099"
id="aigrd3">
<stop
id="stop15573"
style="stop-color: rgb(240, 240, 240);"
offset="0" />
<stop
id="stop15575"
style="stop-color: rgb(154, 154, 154); stop-opacity: 1;"
offset="1.0000000" />
</radialGradient>
<radialGradient
gradientUnits="userSpaceOnUse"
fy="114.5684"
fx="20.892099"
r="5.256"
cy="114.5684"
cx="20.892099"
id="aigrd2">
<stop
id="stop15566"
style="stop-color: rgb(240, 240, 240);"
offset="0" />
<stop
id="stop15568"
style="stop-color: rgb(154, 154, 154); stop-opacity: 1;"
offset="1.0000000" />
</radialGradient>
<linearGradient
id="linearGradient269">
<stop
style="stop-color: rgb(163, 163, 163); stop-opacity: 1;"
offset="0.0000000"
id="stop270" />
<stop
style="stop-color: rgb(76, 76, 76); stop-opacity: 1;"
offset="1.0000000"
id="stop271" />
</linearGradient>
<linearGradient
id="linearGradient259">
<stop
style="stop-color: rgb(250, 250, 250); stop-opacity: 1;"
offset="0.0000000"
id="stop260" />
<stop
style="stop-color: rgb(187, 187, 187); stop-opacity: 1;"
offset="1.0000000"
id="stop261" />
</linearGradient>
<linearGradient
id="linearGradient12512">
<stop
style="stop-color: rgb(255, 255, 255); stop-opacity: 1;"
offset="0.0000000"
id="stop12513" />
<stop
style="stop-color: rgb(255, 245, 32); stop-opacity: 0.891089;"
offset="0.50000000"
id="stop12517" />
<stop
style="stop-color: rgb(255, 243, 0); stop-opacity: 0;"
offset="1.0000000"
id="stop12514" />
</linearGradient>
<inkscape:perspective
id="perspective9"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 526.18109 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 32 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="64 : 32 : 1"
inkscape:persp3d-origin="32 : 21.333333 : 1"
id="perspective5533" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 50 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="100 : 50 : 1"
inkscape:persp3d-origin="50 : 33.333333 : 1"
id="perspective3275" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 60 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="150 : 60 : 1"
inkscape:persp3d-origin="75 : 40 : 1"
id="perspective2777" />
<inkscape:perspective
sodipodi:type="inkscape:persp3d"
inkscape:vp_x="0 : 526.18109 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_z="744.09448 : 526.18109 : 1"
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
id="perspective2819" />
<inkscape:perspective
id="perspective2806"
inkscape:persp3d-origin="0.5 : 0.33333333 : 1"
inkscape:vp_z="1 : 0.5 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 0.5 : 1"
sodipodi:type="inkscape:persp3d" />
<inkscape:perspective
id="perspective2714"
inkscape:persp3d-origin="25 : 10 : 1"
inkscape:vp_z="50 : 15 : 1"
inkscape:vp_y="0 : 1000 : 0"
inkscape:vp_x="0 : 15 : 1"
sodipodi:type="inkscape:persp3d" />
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient4081-7"
id="linearGradient4104"
gradientUnits="userSpaceOnUse"
x1="54"
y1="62"
x2="29"
y2="13" />
<linearGradient
id="linearGradient4081-7">
<stop
id="stop4083-6"
offset="0"
style="stop-color:#3465a4;stop-opacity:1;" />
<stop
id="stop4085-1"
offset="1"
style="stop-color:#3465a4;stop-opacity:0;" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="13"
x2="29"
y1="62"
x1="54"
id="linearGradient4087-6"
xlink:href="#linearGradient4081-7"
inkscape:collect="always" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="13"
x2="29"
y1="62"
x1="54"
id="linearGradient4087"
xlink:href="#linearGradient4081"
inkscape:collect="always" />
<linearGradient
id="linearGradient4081">
<stop
id="stop4083"
offset="0"
style="stop-color:#d7d333;stop-opacity:0.52991456;" />
<stop
id="stop4085"
offset="1"
style="stop-color:#3465a4;stop-opacity:0;" />
</linearGradient>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="0.32941176"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="4"
inkscape:cx="35.663182"
inkscape:cy="10.246735"
inkscape:current-layer="layer1"
showgrid="true"
inkscape:grid-bbox="true"
inkscape:document-units="px"
inkscape:window-width="1280"
inkscape:window-height="708"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:showpageshadow="false"
inkscape:window-maximized="0"
inkscape:snap-global="false"
showguides="true"
inkscape:guide-bbox="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0">
<inkscape:grid
type="xygrid"
id="grid6416"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true" />
</sodipodi:namedview>
<metadata
id="metadata4">
<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></dc:title>
<dc:creator>
<cc:Agent>
<dc:title>Jakub Steiner</dc:title>
</cc:Agent>
</dc:creator>
<dc:source>http://jimmac.musichall.cz</dc:source>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-sa/2.0/" />
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by-sa/2.0/">
<cc:permits
rdf:resource="http://web.resource.org/cc/Reproduction" />
<cc:permits
rdf:resource="http://web.resource.org/cc/Distribution" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Notice" />
<cc:requires
rdf:resource="http://web.resource.org/cc/Attribution" />
<cc:permits
rdf:resource="http://web.resource.org/cc/DerivativeWorks" />
<cc:requires
rdf:resource="http://web.resource.org/cc/ShareAlike" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Shadow"
id="layer6"
inkscape:groupmode="layer"
transform="translate(13.889947,11.662785)" />
<g
id="layer1"
inkscape:label="Base"
inkscape:groupmode="layer"
style="display:inline"
transform="translate(13.889947,11.662785)">
<g
inkscape:label="Layer 1"
id="layer1-3"
transform="translate(-13.889947,-11.662785)">
<rect
y="0"
x="0"
height="64"
width="64"
id="rect4019-0"
style="fill:#ffffff;fill-opacity:1;stroke:none" />
<rect
y="1.0239642"
x="1.0239637"
height="61.952072"
width="61.952072"
id="rect4019"
style="fill:url(#linearGradient4087);fill-opacity:1;stroke:#2e3436;stroke-width:2.04792738;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:7.69999981;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
<path
style="fill:none;stroke:#0000ff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 50.348369,54 -45,-0.303481"
id="path4031"
inkscape:connector-curvature="0" />
<path
sodipodi:type="arc"
style="fill:#ffffff;fill-opacity:1;stroke:#0000ff;stroke-width:3.59950399;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="path4033"
sodipodi:cx="12.545455"
sodipodi:cy="12.272727"
sodipodi:rx="5.090909"
sodipodi:ry="4.909091"
d="m 17.636364,12.272727 a 5.090909,4.909091 0 1 1 -10.181818,0 5.090909,4.909091 0 1 1 10.181818,0 z"
transform="matrix(-0.81842984,0,0,0.84874203,64.434127,43.583621)" />
<path
style="fill:none;stroke:#0000ff;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 14.651631,9 45,-0.303481"
id="path4061"
inkscape:connector-curvature="0" />
<path
sodipodi:type="arc"
style="fill:#ffffff;fill-opacity:0.66513815;stroke:#0000ff;stroke-width:3.59950399;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="path4063"
sodipodi:cx="12.545455"
sodipodi:cy="12.272727"
sodipodi:rx="5.090909"
sodipodi:ry="4.909091"
d="m 17.636364,12.272727 a 5.090909,4.909091 0 1 1 -10.181818,0 5.090909,4.909091 0 1 1 10.181818,0 z"
transform="matrix(0.81842984,0,0,0.84874203,0.56587345,-1.4163792)" />
</g>
</g>
<g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="new"
style="display:inline"
transform="translate(13.889947,11.662785)">
<path
style="fill:none;stroke:#000000;stroke-width:0.56568825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline"
d="m 16.690684,31.262644 6.492962,0 0.0063,-7.828712"
id="path6446"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.56568825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline"
d="m 3.6853883,33.993093 -16.2555643,0"
id="path6452"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.56568825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline"
d="m 3.70476,13.514719 -3.24648089,0 0,15.017474 3.24648089,0"
id="path6458"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:0.56568825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline"
d="m 41.184464,21.108782 7.161933,0"
id="path6464"
inkscape:connector-curvature="0" />
<path
inkscape:connector-curvature="0"
style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.56568825;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
d="m 3.9049413,5.3032969 9.3152157,5.4809711 -9.3152157,5.48097 0,-10.9619411 z"
id="rect2193"
sodipodi:nodetypes="cccc" />
<path
sodipodi:type="arc"
style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:7.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
id="path2247"
sodipodi:cx="285.3176"
sodipodi:cy="89.843887"
sodipodi:rx="20.152544"
sodipodi:ry="20.152544"
d="m 305.47014,89.843887 a 20.152544,20.152544 0 1 1 -40.30509,0 20.152544,20.152544 0 1 1 40.30509,0 z"
transform="matrix(0.08223127,0,0,0.06916054,-8.4978708,4.5706159)" />
<path
inkscape:connector-curvature="0"
id="path6454"
d="m 3.4108761,8.0538189 -15.8500151,0"
style="fill:none;stroke:#000000;stroke-width:0.56568825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
inkscape:connector-curvature="0"
id="path6462"
d="m -12.45304,21.108782 12.70307447,0"
style="fill:none;stroke:#000000;stroke-width:0.56568825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
style="fill:#ff0000;stroke:#000000;stroke-width:0.49164903;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;display:inline"
d="m 30.589681,17.789079 0,7.119238 c 0,0 4.232355,0 7.053925,0 1.175654,0 2.295803,-0.895414 2.821571,-1.779809 0.630923,-1.061273 0.630923,-2.498345 0,-3.559619 -0.525768,-0.884394 -1.645917,-1.77981 -2.821571,-1.77981 -2.82157,0 -7.053925,0 -7.053925,0 z"
id="path6418"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccsaasc" />
<path
inkscape:connector-curvature="0"
style="fill:none;stroke:#000000;stroke-width:0.56568831;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 30.589682,18.975618 -5.850528,0"
id="path3061" />
<path
id="path6420"
d="m 30.589682,23.721777 -7.406035,0"
style="fill:none;stroke:#000000;stroke-width:0.63646221;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
inkscape:connector-curvature="0" />
<path
sodipodi:nodetypes="cccc"
id="path6436"
d="m 3.9049413,25.781672 9.3152157,5.480971 -9.3152157,5.480969 0,-10.96194 z"
style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:0.56568825;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
inkscape:connector-curvature="0" />
<path
transform="matrix(0.08223127,0,0,0.06916054,-8.4978708,25.048991)"
d="m 305.47014,89.843887 a 20.152544,20.152544 0 1 1 -40.30509,0 20.152544,20.152544 0 1 1 40.30509,0 z"
sodipodi:ry="20.152544"
sodipodi:rx="20.152544"
sodipodi:cy="89.843887"
sodipodi:cx="285.3176"
id="path6438"
style="fill:#ff0000;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:7.5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0"
sodipodi:type="arc" />
<path
style="fill:none;stroke:#000000;stroke-width:0.56568825;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
d="m 16.690684,10.784268 6.492962,0 0,8.19135 1.623241,0"
id="path6444"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -18,11 +18,27 @@ if(WIN32)
endif(MINGW)
endif(WIN32)
if(APPLE)
set(BITMAP2COMPONENT_RESOURCES bitmap2component.icns)
set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/bitmap2component.icns"
PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
set(MACOSX_BUNDLE_ICON_FILE bitmap2component.icns)
set(MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.bitmap2component)
endif(APPLE)
add_executable(bitmap2component WIN32 MACOSX_BUNDLE
${BITMAP2COMPONENT_SRCS}
${BITMAP2COMPONENT_RESOURCES})
if(APPLE)
set_target_properties(bitmap2component PROPERTIES MACOSX_BUNDLE_INFO_PLIST
${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
endif(APPLE)
target_link_libraries( bitmap2component
${wxWidgets_LIBRARIES}
potrace

View File

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDocumentTypes</key>
<array/>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>bitmap2component</string>
<key>CFBundleGetInfoString</key>
<string></string>
<key>CFBundleIconFile</key>
<string>bitmap2component.icns</string>
<key>CFBundleIdentifier</key>
<string>org.kicad-eda.bitmap2component</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleLongVersionString</key>
<string></string>
<key>CFBundleName</key>
<string>bitmap2component</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string></string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string></string>
<key>CSResourcesFileMapped</key>
<true/>
<key>LSRequiresCarbon</key>
<true/>
<key>NSHumanReadableCopyright</key>
<string></string>
</dict>
</plist>

Binary file not shown.