I’m finding that the Parts Editor looses images embedded within the SVG. Google failed me on this occasion
My new part is a DC-DC Boost Buck Adjustable Step Up Step Down Automatic Converter XL6009 Module. At this stage all I really want is parts for the Breadboard & Icon, I’m not planning on creating PCBs.
I have used InkScape to create the image, and when I got problems I used Boxy SVG to do a Save As to check the image. All are attached.
I started with the following image created in Paint:
C:\Users\Geoff\Documents\Fritzing\parts\svg\user\breadboard\XL6009 Buck module\archive:
I then created various SVGs in C:\Users\Geoff\Documents\Fritzing\parts\svg\user\breadboard:
EDIT: please see the FZP & FZPZ below since I don’t seem to be able to upload the SVGs to this Post.
Using InkScape ‘XL6009_BuckModule_fromJPG_v2d_MovedUp.svg’:
(it appears that I can’t show my SVGs: > )
Boxy SVG ‘XL6009_BuckModule_fromJPG_v2f_byBoxySVG.svg’:
(so why that doesn’t upload… > )
and Fritzing even created many, including ‘XL6009-v5_6339b8a6f7f49072dcf6e68da80a4cc9_3_breadboard.svg’:
(does IMG SRC not work here?: > )
It’s been a long journey, at one point I found the following old XML element in the SVG so I removed it.:
inkscape:export-filename=“D:\1\tech\IoT\subProjects\1_Fritzing\XL6009_BuckModule\XL6009_BuckModule_fromJPG.svg.png”
Simplest case:
-
right-click the Mystery Part.
-
Edit Part (new parts editor)…
- shows the Breadboard tab.
-
File > Load image for view…
-
C:\Users\Geoff\Documents\Fritzing\parts\svg\user\breadboard\XL6009_BuckModule_fromJPG_v2f_byBoxySVG.svg
- shows the image OK.
-
Icon tab.
-
File > Reuse Breadboard image.
- this image is never seen elsewhere in Fritzing.
- Breadboard tab.
- sometimes the image is no longer visible here…, perhaps if the pins are set.
-
Change the Metadata so I can recognise the new part.
-
Drag the new part onto the Breadboard tab
- no embedded image…!
XL6009-v5_6339b8a6f7f49072dcf6e68da80a4cc9_3.fzp (3.3 KB)
The latest Export (doesn’t show the image):
XL6009 v5.fzpz (46.4 KB)
(I’m aware that this one only has 3 pins, all un-assigned, but I’ve grown weary of repeatedly doing that bit…)
I’m using:
- Windows 7 SP1 (and https://www.microsoft.com/en-us/download/details.aspx?id=49093
Update for Windows 7 for x64-based Systems (KB2999226) ) - fritzing.0.9.3b.64.pc
- InkScape 0.92
- Boxy SVG v2.16.3
Thanks for any help