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.
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.
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?
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.
You need to check the pixels per inch. Let’s make sure they’re both the same before tackling other possibilities.
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.
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.
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.
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.
Okay I shall check that. After my morning coffee.
Its like with movies. If the aspect ratio is wrong you get borders or people with long heads
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.
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.
Success. With your help I have solved my problem.
Excellent. And now you have a formula for all future lithos.
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.
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?) ?
I have an ender 3 pro. I’m not sure what I’m supposed to see.
Not a 3D printer; a regular printer for paper.
No I don’t have one.