# Add labels on parts

**URL:** <https://forum.fritzing.org/t/add-labels-on-parts/12778>\
**Category:** parts help\
**Created:** [April 29, 2021, 7:35pm UTC](https://forum.fritzing.org/t/add-labels-on-parts/12778 "2021-04-29T19:35:19Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![vanepp](https://forum.fritzing.org/user_avatar/forum.fritzing.org/vanepp/32/4426_2.png) [@vanepp](https://forum.fritzing.org/u/vanepp)\
**Post date:** [April 29, 2021, 9:51pm UTC](https://forum.fritzing.org/t/add-labels-on-parts/12778/8 "2021-04-29T21:51:13Z")

</div>

It needs to be extracted from the .fz file. Instructions for doing so are here:

> [@Recovering the pcb outline svg from a .fzz file](https://forum.fritzing.org/t/recovering-the-pcb-outline-svg-from-a-fzz-file/7306):
>
> I recently needed to recover the svg for a board outline with only the fzz file. Because the source svg is in the fzz file. Since I had to do this I figured I document how to do it for other people. un zip the .fzz file to get the .fz file which is standard xml so edit the fz file with a text editor. search for the text ’ instance moduleIdRef=“BoardLogoImageModuleID” ’ select the data after ’ \<property name=“shape” value=" ’ til ’ \</svg\> ’ and copy that text in to a new svg file. Yo…

In this case you are looking for logo in the Pico-breadboard.fz file which finds:

```
        <instance moduleIdRef="newBreadboardLogoImageModuleID" modelIndex="85441645" path=":/resources/parts/core/newbreadboardlogoimage.fzp">
        <property name="color" value="#787878"/>
        <property name="width" value="35.3"/>
        <property name="height" value="49.93322657653061"/>
        <property name="shape" value="&lt;?xml version='1.0' encoding='UTF-8' standalone='no'?&gt;&#10;&lt;!-- Created with Inkscape (http://www.inkscape.org/) --&gt;&#10;&lt;svg xmlns=&quot;http://www.w3.org/2000/svg&quot; id=&quot;svg2798&quot; width=&quot;1.38976in&quot; viewBox=&quot;0 0 35.327335 49.971893&quo

```

The “shape” property contains the html encoded svg. The vi commands undo the html encoding to leave you with this svg. Here is one recovered svg (click on it and choose “save as” and you should get the svg):

![t](https://forum.fritzing.org/uploads/default/original/2X/2/2712da44529a9f7ed49918f2e0eab0d88c3a2108.svg)

It appears it wants the layerId (the group for the whole svg) to be breadboard (pcb wants boardoutline as I recall.) Other than that it is a normal svg. If you put this file name in to the load image file box in Fritzing it should load the svg in to a logo ready for use.

Peter

---

_[View the full topic](https://forum.fritzing.org/t/add-labels-on-parts/12778)._
