# I'm not understanding Gimp. Sometimes it works, sometimes it doesn't.

**URL:** https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645
**Category:** 3d Printing / Slicers / Setup / Problems
**Created:** [September 30, 2020, 8:51pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645 "2020-09-30T20:51:39Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [September 30, 2020, 8:51pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/1 "2020-09-30T20:51:39Z")

</div>

I can’t believe I’m having such a hard time using Gimp. I have already used it to make many lithophanes but sometimes it just doesn’t work. To make my lithophanes I need a background that is grey and 102 mm x 156 and apply a photo of 92 x 144 (ideally) It can be shorter. I have a “canvass” set to the 102 x 156 in the grey colour I wish, When I drag a photo on to it that has been sized to 92 x 144 or less it suddenly becomes too small. But sometimes it works. For the life of me I can’t tell what’s going on.

---

<div class="post-metadata">

### Author: ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)
#### Post date: [September 30, 2020, 11:08pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/2 "2020-09-30T23:08:19Z")

</div>

I suspect I know exactly what’s going on: pixels per inch. In my outline on how to set up for lithophanes I mentioned that you need to make sure the pixels per inch are exactly the same for both parts. Now, I do not know where you find out the number of pixels per inch in Gimp. In Photoshop it’s in the Image Size area, so you might want to look there to start.

In any case, you need to find out how many pixels per inch your template file (your canvas). Then, when you bring in a new image to put on top of the canvas, when you’re setting up the 92x144, make sure it has the same pixels per inch as what’s in the canvas.

BTW, this is a classic issue when merging photos in editing software. You are by no means the first to run into it.

---

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [October 1, 2020, 2:11am UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/3 "2020-10-01T02:11:18Z")

</div>

I always change to mm instead of pixels. But I make sure that both are in mm, I just don’t understand why it works sometime and not others. So Using the Canvass as the grey background is not wrong? Since I put both in mm why does it do that to me?

---

<div class="post-metadata">

### Author: ![Geit](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/geit/32/44_2.png) [@Geit](https://forum.makewithtech.com/u/Geit)
#### Post date: [October 1, 2020, 9:06am UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/4 "2020-10-01T09:06:31Z")

</div>

I guess it is the aspect ratio that causes the issues.

By default gimp is scaling with a locked aspect ratio, so an image does not get distorted.

---

<div class="post-metadata">

### Author: ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)
#### Post date: [October 1, 2020, 12:09pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/5 "2020-10-01T12:09:33Z")

</div>

> [@roon4660](#):
>
> I always change to mm instead of pixels. But I make sure that both are in mm, I just don’t understand why it works sometime and not others. So Using the Canvass as the grey background is not wrong? Since I put both in mm why does it do that to me?

You need to check the pixels per inch. Let’s make sure they’re both the same before tackling other possibilities.

---

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [October 1, 2020, 12:33pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/6 "2020-10-01T12:33:57Z")

</div>

I don’t understand pixels per inch. I am working in mm. I have the choice of pixels, inches, mm etc. I set everything to mm.

---

<div class="post-metadata">

### Author: ![Geit](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/geit/32/44_2.png) [@Geit](https://forum.makewithtech.com/u/Geit)
#### Post date: [October 1, 2020, 12:44pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/7 "2020-10-01T12:44:17Z")

</div>

Next to the height and width gadgets in the UI of Gimp there is a lock symbol. If you click that you can scale the image to any size you want.

In more modern versions of Gimp (I just tried 2.10) it looks like a junktion box with leads connecting the height and width gadget. Click on it and it opens.

---

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [October 1, 2020, 1:09pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/8 "2020-10-01T13:09:08Z")

</div>

I am aware of it. My problem is keeping the canvass related to the photo I drag on top. I need a grey border around the photo so that the lithophane is 2 mm thick all around so that it will fit into the lamp. Something is happening even though I size the canvass and the photo in mm they do not keep the sizes when I drag the photo on top. Sometimes it works and sometimes it doesn’t.

---

<div class="post-metadata">

### Author: ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)
#### Post date: [October 1, 2020, 1:28pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/9 "2020-10-01T13:28:57Z")

</div>

> [@roon4660](#):
>
> I don’t understand pixels per inch. I am working in mm. I have the choice of pixels, inches, mm etc. I set everything to mm.

You need to ensure both images have the same resolution. AFAIK, you cannot do that with anything except pixels per inch. You don’t have to understand pixels per inch, only make sure they are both the same. Once you have that, you can switch to mm to set the size to what you want.

OK, I just checked in Photoshop. Notice in this image how the Width & Height are set to Millimeters, but the Resolution is still set to Pixels/Inch. That’s because it isn’t possible to set Resolution to mm. You have only 2 choices: pixels/inch, or pixels/centimeter.

[ATTACH=JSON]{“data-align”:“none”,“data-size”:“custom”,“height”:“373”,“width”:“662”,“data-attachmentid”:4253}[/ATTACH]

I’m not sure where you find the equivalent to this image in Gimp, but it’s what you need in order to correct the issue. What you’re trying to do will never work until you get the resolution exactly the same.

 ![PSimageSize.JPG](https://canada1.discourse-cdn.com/flex035/uploads/makewithtech/original/1X/883e5c88203260b2af7d79fc92f2da4e61691f17.jpeg)

---

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [October 1, 2020, 1:36pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/10 "2020-10-01T13:36:25Z")

</div>

Okay I shall check that. After my morning coffee.

---

<div class="post-metadata">

### Author: ![Geit](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/geit/32/44_2.png) [@Geit](https://forum.makewithtech.com/u/Geit)
#### Post date: [October 1, 2020, 5:56pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/11 "2020-10-01T17:56:27Z")

</div>

Its like with movies. If the aspect ratio is wrong you get borders or people with long heads 😃

---

<div class="post-metadata">

### Author: ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)
#### Post date: [October 1, 2020, 6:40pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/12 "2020-10-01T18:40:43Z")

</div>

In this case, I don’t think aspect ratio is the issue. Even if the ratio is exactly the same for his background and foreground images, they still don’t match up size-wise because, when he changes to mm measurements and sets his image to 92mm x 144mm, he expects the image to fit his 102mm x 156mm background properly. Unfortunately, if the background is set to 300 pixels/in and his foreground image is set to 200 pixels/in, the foreground & background will not line up as he expects.

I’ll illustrate. The black background on the left is 102mm x 156mm x 300 pixels per inch. The orange foreground on top of the background is 92mm x 144mm x 200 pixels per inch. The black background on the right is also 102mm x156mm x 300 pixels per inch. However, the orange foreground on the right is 92mm x 144mm x 300 pixels per inch.

[ATTACH=JSON]{“alt”:“Click image for larger version Name: 300x200pixelsPerInch.jpg Views: 0 Size: 41.2 KB ID: 4258”,“data-align”:“none”,“data-attachmentid”:“4258”,“data-size”:“medium”}[/ATTACH][ATTACH=JSON]{“alt”:“Click image for larger version Name: 300x300pixelsPerInch.jpg Views: 0 Size: 49.7 KB ID: 4257”,“data-align”:“none”,“data-attachmentid”:“4257”,“data-size”:“medium”}[/ATTACH]

Please note that the ratio is exactly the same in both images. Resolution is what makes the difference.

 ![300x300pixelsPerInch.jpg](https://canada1.discourse-cdn.com/flex035/uploads/makewithtech/original/1X/95638d1ac439cf34c79f74032aec821f35f9d40b.jpeg)

 ![300x200pixelsPerInch.jpg](https://canada1.discourse-cdn.com/flex035/uploads/makewithtech/original/1X/4504164a6b602456a3a4527086178a6a2ffc9f51.jpeg)

---

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [October 1, 2020, 7:03pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/13 "2020-10-01T19:03:06Z")

</div>

Thank you for your help. I get the idea but haven’t tried it out yet because my brain is giving me another bad day.

---

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [October 2, 2020, 12:40pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/14 "2020-10-02T12:40:51Z")

</div>

Success. With your help I have solved my problem.

---

<div class="post-metadata">

### Author: ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)
#### Post date: [October 2, 2020, 3:17pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/15 "2020-10-02T15:17:45Z")

</div>

Excellent. And now you have a formula for all future lithos.

---

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [October 2, 2020, 4:07pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/16 "2020-10-02T16:07:26Z")

</div>

I was surprised to see a hole in the last litho I did. It is supposed to be set up with a minimum thickness of .3 mm. I noticed on the photograph that there was a white glare spot where sunlight reflected off something and it printed a hole. Actually the lithophane is still usable.

---

<div class="post-metadata">

### Author: ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)
#### Post date: [October 2, 2020, 4:13pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/17 "2020-10-02T16:13:10Z")

</div>

That’s fascinating. What you’re saying is that, if the source image has a bright enough spot, or spots, the litho will just leave an empty spot, to ensure the full brightness of the light source somes through.

ps. I just described this to my wife. She laughed. She thinks it’s fascinating too. And @roon4660, you may be one of very few people who have ever run into this.

Question: do you have a regular colour printer (see what I did there?) ?

---

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [October 2, 2020, 4:22pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/18 "2020-10-02T16:22:44Z")

</div>

I have an ender 3 pro. I’m not sure what I’m supposed to see.

---

<div class="post-metadata">

### Author: ![Ender5r](https://avatars.discourse-cdn.com/v4/letter/e/b4bc9f/32.png) [@Ender5r](https://forum.makewithtech.com/u/Ender5r)
#### Post date: [October 2, 2020, 4:24pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/19 "2020-10-02T16:24:01Z")

</div>

Not a 3D printer; a regular printer for paper.

---

<div class="post-metadata">

### Author: ![roon4660](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.makewithtech.com/roon4660/32/35_2.png) [@roon4660](https://forum.makewithtech.com/u/roon4660)
#### Post date: [October 2, 2020, 4:53pm UTC](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645/20 "2020-10-02T16:53:50Z")

</div>

No I don’t have one.

[Next page](https://forum.makewithtech.com/t/im-not-understanding-gimp-sometimes-it-works-sometimes-it-doesnt/2645.md?page=2)
