Set exact print size

ForumsFor GIMP users ► Set exact print size

Sent: 2010-05-12 18:46:35 UTC (almost 2 years ago)

From: uluru75

Set exact print size

I have a problem with setting print size of images.
When i set it to 148mm and 105mm, it's being set, then i save and close the
image.
However, when i re-open the jpg, it often show the sizes like 148.22mm or
105.05. Basically i don't want anything after the dot, i want exact size.
Does anyone has any idea how to fix it?

--
uluru75 (via www.gimpusers.com)
_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply to this message

Sent: 2010-05-12 19:14:15 UTC (almost 2 years ago)

From: Branko Vukelic

Set exact print size

It's probably a series of rounding errors when converting mm to inches
and then inches to pixels. The image should have:

148mm / 25.4mmpi = 5.82677165"
5.82677165" * 300ppi = 1748.0314950000002 px

105mm / 25.4mmpi = 4.133858267716536"
4.133858267716536" * 300ppi = 1240.1574803149608 px

as you can see, not clean round number. You should have something like
1748px x 1240px which translates to roughly 148x104.99mm.

On Wed, May 12, 2010 at 6:46 PM, uluru75 wrote:
> I have a problem with setting print size of images.
> When i set it to 148mm and 105mm, it's being set, then i save and close the
> image.
> However, when i re-open the jpg, it often show the sizes like 148.22mm or
> 105.05. Basically i don't want anything after the dot, i want exact size.
> Does anyone has any idea how to fix it?
>
> --
> uluru75 (via www.gimpusers.com)
> _______________________________________________
> Gimp-user mailing list
> Gimp-user@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
>

--
Branko Vukeli?

bg.branko@gmail.com
studio@brankovukelic.com

Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny

Reply to this message

Sent: 2010-05-12 22:18:00 UTC (almost 2 years ago)

From: Burnie West

Set exact print size

On 05/12/2010 09:46 AM, uluru75 wrote:
> I have a problem with setting print size of images.
> When i set it to 148mm and 105mm, it's being set, then i save and close the
> image.
> However, when i re-open the jpg, it often show the sizes like 148.22mm or
> 105.05. Basically i don't want anything after the dot, i want exact size.
> Does anyone has any idea how to fix it?
>
Images are always saved in integer numbers of pixels.

To get exactly 148mm by 105 mm, a mm should be an exact number of pixels.

The number of pixels you mention is not exactly commensurate with a 148
x 105 mm image,
so the image (if it's really 148.22 x 105.05) will have to be scaled to
be a little bit shorter.

So in the Image->Scale Image tool, select image size in mm, but don't
scale it yet.

Then set the X-Y resolution to exactly number of pixels you want in a mm
(10, say). This makes the specified print size come out exactly in pixels.

Then, click on the chain link on the Image Size x-y pair, so the image
can be scaled to exactly the dimensions you want. Notice that 72 pixels
per inch is 2.8346567 pixels/mm.

Now, enter 148 in the Width textbox and 105 in the Height textbox (the
pixels/mm entry should not change). NOW, scale the image. On this user
list, people have mentioned a few times that the best scaling quality
seems to be Sinc (Lanczos3) interpolation, but YMMV.

Actually, when I did this with a 3872x2592 pixel image, then saved and
reopened the image, it reopened with the image size default set to
inches, and then when I converted that image size to mm, it said 148.01
x 105.01. Then, when I clicked in the pixels/mm box, then the height
box, the .01's went away by themselves. This suggests it was a rounding
error, rather than a size problem.

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply to this message

Welcome!


Lost password?

Not a member? Sign up!

Random tutorials | Latest tutorials

  1. Creating the Che Guevara Effect Creating the Che Guevara Effect 8
  2. Creating a bloody splatter texture Creating a bloody splatter texture 36
  3. Vexel Simulation on Photos Vexel Simulation on Photos 9
  4. Extreme colors for your photos Extreme colors for your photos 3

Latest comments

But I just have 1 more prob (bear with me) I am really having troub... (1 day ago in [AVATAR] Become a real Na'Vi using GIMP!)

I got it to work :) I had to close the image and restart it. I thin... (1 day ago in Create cool rifts with translucent lights!)

there was a second and 3rd release of 2.6.12. we included the lates... (1 day ago in Last stable 2.6 release: 2.6.12 has arrived)

Poll

Is GIMP an adequate application for you to create printed graphics like flyers, advertisments etc?

Latest forum activities

Your Ad Here

facts & numbers

gimpusers.com RSS feed

48 identi.ca followers
750 Twitter followers

powered by bitfire it services