# Silkscreen image wrong size?

**URL:** <https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214>\
**Category:** bugs\
**Created:** [July 6, 2024, 12:13am UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214 "2024-07-06T00:13:01Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![PhantomX](https://forum.fritzing.org/user_avatar/forum.fritzing.org/phantomx/32/14821_2.png) [@PhantomX](https://forum.fritzing.org/u/PhantomX)\
**Post date:** [July 6, 2024, 12:13am UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/1 "2024-07-06T00:13:01Z")

</div>

Hi,  
I’m having an issue with the silkscreen image being the wrong size when exported to Gerber file.  
Here you can see the difference between Fritzing and Gerbv.

 ![image](https://forum.fritzing.org/uploads/default/original/3X/f/9/f91da111099a900e3e955500260fe3c3a209a6b6.png)

Even if I put the image much smaller (or larger) it always appear that size in the Gerber.

(using Fritzing 1.0.3)  
Thanks!

---

<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:** [July 6, 2024, 1:36am UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/2 "2024-07-06T01:36:59Z")

</div>

Probably your best bet is to upload the sketch file (the .fzz file, upload is 7th icon from the left in the reply menu.) With that I can try the export and likely figure out what is going wrong. The .fzz file should contain the image used for silkscreen.

Peter

---

<div class="post-metadata">

**Author:** ![PhantomX](https://forum.fritzing.org/user_avatar/forum.fritzing.org/phantomx/32/14821_2.png) [@PhantomX](https://forum.fritzing.org/u/PhantomX)\
**Post date:** [July 6, 2024, 1:52pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/3 "2024-07-06T13:52:06Z")

</div>

Hey,  
here you go!

I’m also having issue where loading an image that is not SVG will result in the image being completely black in Fritzing. For example the attached one. I used that image in a the past and it was fine.

Thanks!

![LogoSilkScreen](https://forum.fritzing.org/uploads/default/original/3X/d/d/dd8cefe2c453f69d721de279950e2cd0a6538a9d.png)  
[LedController24v-C3.fzz](https://forum.fritzing.org/uploads/short-url/h0rrDc7Q10Rqh4OF3UawJN8yHkl.fzz) (56.6 KB)

---

<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:** [July 6, 2024, 2:54pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/4 "2024-07-06T14:54:07Z")

</div>

I think there is an issue open (but not fixed yet) on the png image issue (it does the same for me on 1.0.3):

 ![capture](https://forum.fritzing.org/uploads/default/original/3X/1/2/12c481cb556aca0ac96d31eee5fe0a91eeae158f.jpeg)

but your problem is fixable:

 ![capture1](https://forum.fritzing.org/uploads/default/original/3X/7/e/7e48732913bf8422630db71c9f425c24b94e4d41.jpeg)

just select the image and change the size in inspector (circled in green here) leaving the aspect ratio ticked so it changes both x and y to keep the image correct.

 ![capture3](https://forum.fritzing.org/uploads/default/original/3X/3/f/3f876be968328a57f0e5493168eaf8b93b55a4b9.jpeg)

Peter

---

<div class="post-metadata">

**Author:** ![PhantomX](https://forum.fritzing.org/user_avatar/forum.fritzing.org/phantomx/32/14821_2.png) [@PhantomX](https://forum.fritzing.org/u/PhantomX)\
**Post date:** [July 8, 2024, 1:27pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/5 "2024-07-08T13:27:14Z")

</div>

Hi,  
I don’t understand.  
I changed the size using the Width and height keeping the aspect ratio ticked, but when I export to Gerber format, the image is still the wrong size.

 ![image](https://forum.fritzing.org/uploads/default/original/3X/c/b/cbd45288cf288a54bd326c1219ed0f0e26192fab.png)

Am I missing something?  
Thanks!

---

<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:** [July 8, 2024, 1:59pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/6 "2024-07-08T13:59:21Z")

</div>

Which Fritzing version? For me on Fritzing 1.0.3 on Win10 it appears to work (for some reason Inspector has put it on the bottom layer though!)

 ![capture1](https://forum.fritzing.org/uploads/default/original/3X/6/3/63e378fdebd49d4583fddc7bbf5bac4c6db1c30d.jpeg)

The gerber output displayed in gerbv (on the bottom layer as requested in Inspector though!)

 ![capture](https://forum.fritzing.org/uploads/default/original/3X/e/d/ed2ff95878d35ab510b04830e4ed344e0b7087cc.jpeg)

Peter

---

<div class="post-metadata">

**Author:** ![PhantomX](https://forum.fritzing.org/user_avatar/forum.fritzing.org/phantomx/32/14821_2.png) [@PhantomX](https://forum.fritzing.org/u/PhantomX)\
**Post date:** [July 8, 2024, 2:35pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/7 "2024-07-08T14:35:40Z")

</div>

I’m on 1.0.3, Windows 11, the PCB layer bottom was fine (I was testing)  
However in your screenshot I can see that the image is also wrong.

In fritzing it’s bigger.  
Result when you overlay the two from your screenshot:

 ![image](https://forum.fritzing.org/uploads/default/original/3X/2/a/2aa329cb39af8bcf877177b44456751a55946ab1.jpeg)

---

<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:** [July 8, 2024, 2:50pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/8 "2024-07-08T14:50:30Z")

</div>

You look to be correct (which would indicate a bug in gerber processing.) Here I aligned the logo with the center of the pad in Fritzing

 ![capture](https://forum.fritzing.org/uploads/default/original/3X/a/c/acc41c7edc15d3e7001960aeb16fd6b93dc71573.jpeg)

but in the gerber output it is offset to the left slightly and down in Y)

 ![capture2](https://forum.fritzing.org/uploads/default/original/3X/c/3/c3550a11bcaeed8dd93d544299d8e949392f32ed.jpeg)

that could be worked around by moving the logo a bit in Fritzing but should be reported as a bug I expect.

Peter

---

<div class="post-metadata">

**Author:** ![PhantomX](https://forum.fritzing.org/user_avatar/forum.fritzing.org/phantomx/32/14821_2.png) [@PhantomX](https://forum.fritzing.org/u/PhantomX)\
**Post date:** [July 8, 2024, 3:17pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/9 "2024-07-08T15:17:51Z")

</div>

I think it’s not a position issue, but more a scale issue.  
If you look closely, the top right of the image is at the correct location, but the scale changes which makes you think the image moved.

It looks like the scale in the Gerber is always the same no matter the scale in Fritzing.  
If you put the image to be giant in fritzing it will look the same in Gerber as if you put the image really small as long as the top right corner are at the same position in both case.

For example here, you can notice that the square corner is at the right position, but the scale is wrong.

 ![image](https://forum.fritzing.org/uploads/default/original/3X/9/e/9e8672f5da39a0606b4032633bf46b4ecfa281a6.png)

---

<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:** [July 8, 2024, 3:31pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/10 "2024-07-08T15:31:46Z")

</div>

Best bet is to open a bug here:

> **[Issues · fritzing/fritzing-app](https://github.com/fritzing/fritzing-app/issues)**
>
> Fritzing desktop application. Contribute to fritzing/fritzing-app development by creating an account on GitHub.

with either the information above or a pointer to this post for how to reproduce it. The developers do sometimes read the forums, but the official bug repository is github. I would also open a separate issue on Win10 and Win11 processing gerber differently (if they indeed are, I don’t have Win11 to try it on side by side!)

Peter

---

<div class="post-metadata">

**Author:** ![PhantomX](https://forum.fritzing.org/user_avatar/forum.fritzing.org/phantomx/32/14821_2.png) [@PhantomX](https://forum.fritzing.org/u/PhantomX)\
**Post date:** [July 8, 2024, 5:06pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/11 "2024-07-08T17:06:24Z")

</div>

Thanks Peter,  
I filled a bug report on github [here](https://github.com/fritzing/fritzing-app/issues/4154)

---

<div class="post-metadata">

**Author:** ![KjellM](https://forum.fritzing.org/letter_avatar_proxy/v4/letter/k/a3d4f5/32.png) [@KjellM](https://forum.fritzing.org/u/KjellM)\
**Post date:** [July 9, 2024, 2:39pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/12 "2024-07-09T14:39:48Z")

</div>

Fritzing 1.0.4 will contain some improvements, so less detours to Photoshop or other tools are required. A relatively easy fix was to support alpha channels for PNG images. Also, I am thinking about using smarter thresholds, vectorizations and more.

It would be great to have s set of real world example images, so we can verify Fritzing works with these. If you have an image that you want to import to the PCB (not breadboard or schematic), please attach it to [Test images for PCB load image import · Issue #4157 · fritzing/fritzing-app · GitHub](https://github.com/fritzing/fritzing-app/issues/4157) .

---

<div class="post-metadata">

**Author:** ![PhantomX](https://forum.fritzing.org/user_avatar/forum.fritzing.org/phantomx/32/14821_2.png) [@PhantomX](https://forum.fritzing.org/u/PhantomX)\
**Post date:** [July 9, 2024, 5:04pm UTC](https://forum.fritzing.org/t/silkscreen-image-wrong-size/24214/13 "2024-07-09T17:04:20Z")

</div>

that sounds great!  
Thanks!
