# Parts Editor Not Importing SVG With Right Colors

**URL:** <https://forum.fritzing.org/t/parts-editor-not-importing-svg-with-right-colors/22372>\
**Category:** parts help\
**Created:** [February 8, 2024, 11:36pm UTC](https://forum.fritzing.org/t/parts-editor-not-importing-svg-with-right-colors/22372 "2024-02-08T23:36:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadinkaiser](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/k/ecae2f/32.png) [@kadinkaiser](https://forum.fritzing.org/u/kadinkaiser)\
**Post date:** [February 8, 2024, 11:36pm UTC](https://forum.fritzing.org/t/parts-editor-not-importing-svg-with-right-colors/22372/1 "2024-02-08T23:36:40Z")

</div>

Hello,  
I am working on a board for fritzing. I’m using inkscape to make the board. Most of the pieces of the board I got from other boards found in fritzing. I changed the colors of some of the pieces and put the board together. When I group all the pieces together and export the board as an SVG, it saves fine. But when I import the SVG file to the fritzing parts editor in the breadboard section, some of the colors I changed go back to default, and my gradient color disappears. Can anyone take a look at this for me? I have attached the .svg file. Thanks!  
[SVG File](https://drive.google.com/file/d/1ENJCN1-xRJf5fGS9CvCvg4SxqYvddkif/view?usp=sharing)

---

<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:** [February 9, 2024, 2:22am UTC](https://forum.fritzing.org/t/parts-editor-not-importing-svg-with-right-colors/22372/2 "2024-02-09T02:22:33Z")

</div>

Fritzing doesn’t support (nor will it render AFAIK) gradients. It only supports the Svg tiny subset. The svg needs to be saved as plain svg in Inkscape as well and it needs a single group enclosing the entire svg with the label breadboard. This is a corrected svg which may work better. If it doesn’t upload the .fzpz file of the part from the parts editor by Fie-\>save as new part (upload is 7th icon from the left in the reply menu) and I will have a look at what is going on.

![PAM8406 Audio Amplifier-fixed](https://forum.fritzing.org/uploads/default/original/3X/6/e/6e8276e853383157334cf0fa8025202f4de9377a.svg)

(to download the svg right click on it and select save image as.) Note I ran this svg through FritzingCheckPart.py in order to remove various things Fritzing doesn’t support (mostly px in font-sizes but other things as well.) This tutorial may help you as well:

> [@Part creation howto part 1 breadboard and pcb](https://forum.fritzing.org/t/part-creation-howto-part-1-breadboard-and-pcb/7692):
>
> Someone in this forum post [http://forum.fritzing.org/t/tarjeta-s4a-edu-pieza-en-proceso-solamente-falta-la-imagen-en-pcb-y-en-esquematico/7487](http://forum.fritzing.org/t/tarjeta-s4a-edu-pieza-en-proceso-solamente-falta-la-imagen-en-pcb-y-en-esquematico/7487) requested help to fix up a part. So while doing that I decided to record what I needed to do in order to fix the part to provide a tutorial to create new / fix broken parts. If you start from the Tarjeta S4A EDU.fzpz file posted in the above thread, you should be able to recreate my improved part posted in the same thread. I started by loading the origi…

Peter
