GIMP Help Needed - Image Size v Print Size


I am a new user struggling with this software - its probably way too complex for what I want to do but lets see

Is there a simple way to crop an image to 5.5 x 3.5 Inches and add a border (or position the image) so when it is sent to print (on 6 x 4 paper) I can trim the paper so I get the photo in the desired dimensions?

Many thanks

1 Like

Hi, yes. See 4.5. Crop An Image and 6.20. Print Size

So if I crop an image to certain dimensions (5.5 x 3.5) but set the print size to 6x4 I should be OK?



No, as you want the image itself (!) to have a print size of 5.5 x 3.5, and not 6x4 which is your paper size (image size plus your custom margin).


Thats not going to work for me as I’m do not have a photo printer so will be uploading them to be printed - the online photo printers fill the 6x4 with the uploaded image whatever the size.

I guess that I need to add a border to my image so I can trim the photo down to the required size when its printed?

Sorry, should have mentioned 4.13. Border to add a border to the image itself

1 Like

Image -> Print Size... to change the desired print-output size (to 5.5 x 3.5) without resampling the pixels on-screen (but they will be resampled on printing). This will change your PPI value to an odd number, just ignore it and leave it as is - and then, on the Print dialog, there is an Image Settings tab which will allow you to offset the image on the 6x4’’ paper as you want.

If you want to crop the image to a given size, e.g., 5.5 x 3.5in, you can use the rectangular select tool to select the part you want and then crop the image using the Image/Crop to Selection command. If you want to scale the image to a given size, you can first crop the image to its contents or whatever you want and then scale it using the Image/Scale image command.

There’s also a crop tool, but I usually use select and then crop. It’s six-of-one, half-a-dozen of the other.

I never print directly from GIMP. I’m sure it works, I just already had my way of doing things, which works well for me. It’s quite simple, reliable and flexible, so you could try it, if you feel like it.

You can export the image as EPS (Encapsulated PostScript) using the “File/Export as …” command.

I use TeX (plain TeX, not LaTeX) together with the DVIPS package to include graphics.
This is the code for a simple TeX file that includes the image “abc.eps” (text following % are comments):

\input epsf

\special{papersize=6in, 4in} % Command for the PostScript interpreter: width by height.

% The same thing, this time for TeX. The dimensions in the two commands must match up!

% Get rid of the predefined margins and skips:
\advance\voffset by -1in
\advance\hoffset by -1in

\def\epsfsize#1#2{#1} %% Set things up so that images are include at their normal sizes in both dimensions.

% Include the graphic and place it on the page:

\vbox{\vskip1cm % Top margin 1cm
\hbox{\hskip1cm % Left margin 1cm
\epsffile{abc.eps}% Include the graphic (no space before % to make sure the space isn’t read.
\hss}% Fill up and end the line and don’t issue a warning if it goes over the right edge.
} % End the “vbox” (vertical material)
\vfil % Fill up the rest of the page
\eject % End the page

\bye % Exit

If this code is stored in “abc.tex”, run:
tex abc
dvips -o abc.dvi

This generates the PostScript file For PDF, run this instead of dvips:

dvipdfmx abc.dvi

In this case, the name for the output file isn’t needed (and abc.pdf will be created).

Please note that this won’t work with pdfTeX. Of course, you could use pdfTeX instead, but then the commands in the TeX file would be different.

See here: Image size in Gimp

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.