IMAGE, AUDIO AND COORDINATE WORKSHEETS

Checking both axes before forcing a print size

One print resolution fits both axes only if the image and the print area have the same shape. This guide shows how a 3,000 by 2,400 image needs 300 pixels per inch across and 240 down in a 10 by 10 inch square, and what to do about it.

What the axis-by-axis check tells you

Pixels per inch is a simple ratio: the number of pixels along one side divided by the length of that side in inches. A print has a width and a height, and the image has a pixel width and a pixel height, so there are two ratios, one for each axis. When the image and the print area have the same shape, both ratios are equal and one number describes the print. When the shapes differ, the ratios disagree, and no single resolution can fill the area without cropping, adding borders or stretching the image. The Print PPI Calculator computes pixels divided by inches for one axis at a time. Running it twice, once per axis, reveals a mismatch before any file is sent to a printer. Software that reports a single resolution for a file is usually reading a metadata tag or assuming square pixels, so it will not show the mismatch, which only appears once a specific print size is chosen.

The worked case in numbers

The image is 3,000 pixels wide and 2,400 tall. Its aspect ratio is 3,000 divided by 2,400, which is 1.25, the same as 5 to 4. The target print is a 10 inch square. Across the width, 3,000 pixels over 10 inches is 300 pixels per inch. Down the height, 2,400 pixels over 10 inches is 240 pixels per inch. The two figures are not equal, and the ratio between them, 300 divided by 240, is again 1.25, the aspect ratio of the image. Whenever the print and image shapes differ, the ratio of the axis resolutions equals the ratio of their aspect ratios. A square print has an aspect ratio of 1, so the image shape of 1.25 shows up directly.

Option one: crop to the target shape

The most common remedy is to cut the image to the shape of the print. To fill a 10 by 10 square at a uniform resolution, the image must be square. The limiting dimension is the height of 2,400 pixels, so the largest square crop is 2,400 by 2,400. Dividing by 10 inches gives 240 pixels per inch along both axes. The cost is the loss of 600 pixels of width, which is 20 percent of the original width, taken from the left, the right or both sides. If the subject sits near an edge, choose the crop with care. The crop makes the check consistent, and the retained pixel count is 5,760,000, or 5.76 megapixels, compared with 7.2 megapixels in the original.

Option two: scale to fit and add borders

Another remedy keeps the whole image and accepts empty margins. The image is limited by its width in a 10 inch square, so scaling it to 300 pixels per inch makes it 10 inches wide and 8 inches tall. Check the height: 2,400 pixels divided by 300 is 8 inches. The remaining 2 inches, split as 1 inch at the top and 1 inch at the bottom, becomes a border. The print resolution is a uniform 300 pixels per inch, and no pixels are lost. This is how mats and white margins are produced in practice. It also shows that the 240 figure measured earlier is only the resolution you would get if you stretched the image vertically to fill the square.

Option three: stretching and why it is usually avoided

If the layout software fills the square without keeping proportions, it will stretch the image by different amounts on the two axes. Here that means 300 pixels per inch horizontally and 240 vertically, and the picture would look 25 percent taller than the original, because each pixel is printed larger vertically than horizontally. Circles become ovals, faces look elongated, and text distorts. The effect is easy to miss on a small screen and plain on paper. A tool that warns about nonuniform scaling is helpful, but the arithmetic in this guide catches it first. If the two axis resolutions differ, something will be stretched, cropped or padded, and you should decide which of those is acceptable.

A target that matches the image shape

The easiest fix is to choose a print size that matches the image shape in the first place. The image has a 5 to 4 shape, so a 10 by 8 inch print gives 300 pixels per inch both ways: 3,000 divided by 10 and 2,400 divided by 8 both equal 300. A 12.5 by 10 inch print gives 240 pixels per inch both ways, since 3,000 divided by 12.5 is 240 and 2,400 divided by 10 is also 240. Common frame sizes such as 8 by 10 and 11 by 14 have shapes that differ from many camera formats, which is why a crop or a border is often needed. Checking the shape before ordering saves a surprise at the lab.

How much resolution is enough

The number that results from the check is only useful when compared with what the print needs. A resolution of 300 pixels per inch is a common target for photographs viewed at arm length, and many labs accept values from about 200 to 300, though recommendations differ by printer, paper and viewing distance. Posters viewed from farther away often use much lower values. These are rules of thumb and not standards. If the lowest axis resolution is 240, as in the worked case, the print is acceptable for many purposes, but if the uniform crop were forced to a smaller size, the number could fall further. Use the lab or printer guidance for your job, and treat the calculator output as the input to that comparison.

PPI is not the same as DPI

Pixels per inch describes the image data mapped onto paper. Dots per inch describes how finely a printer places ink or toner dots. A printer might lay down 1,200 or more dots per inch while the image supplies 300 pixels per inch, because several printer dots are used to render the color of each image pixel. The two numbers are related but are not interchangeable, and a file does not become sharper by relabeling its resolution. Metadata in an image file, sometimes called its DPI tag, only suggests a default print size. The actual pixel count does not change when you edit it. For the check in this guide, only pixels and inches matter, and the tag can be ignored.

Resampling and what it cannot do

Software can resample the image to add pixels, so that a 3,000 by 2,400 file becomes 3,000 by 3,000 or 4,000 by 3,200. The new pixels are calculated from neighbors, and they do not add real detail. Resampling to hit a nominal 300 pixels per inch for a stretched layout produces a larger file with the same sharpness and the same geometric distortion. It can help when a lab insists on a specific pixel count, but it does not cure an aspect mismatch. Cropping and padding change the content or the layout, and resampling changes only the pixel grid. The Print PPI Calculator is therefore best used before resampling, to find out what the native file supports.

A camera-shaped example

Many cameras produce images with a 3 to 2 shape. Take a file of 6,000 by 4,000 pixels. On a print of 18 by 12 inches, which also has a 3 to 2 shape, both axes give the same density, since 6,000 divided by 18 and 4,000 divided by 12 are the same number. Move to a 20 by 16 inch frame, which has a 5 to 4 shape. Along the long side, 6,000 pixels over 20 inches is 300 pixels per inch. Along the short side, 4,000 pixels over 16 inches is 250 pixels per inch. The ratio of 300 to 250 is 1.2, which equals 1.5 divided by 1.25, the ratio of the two shapes. The mismatch is smaller than in the guide example, so a modest crop of the long side, down to 5,000 pixels, makes both axes 250. The illustrative sizes show the method, and the same two divisions work on any file.

Reading the ratio as a stretch amount

The ratio between the two axis resolutions tells you how much distortion forced filling would cause. A ratio of 1.00 means none. In the guide example the ratio is 1.25, so the picture would be stretched by 25 percent, which is obvious on a face or a circle. In the camera-shaped example the ratio is 1.2, a 20 percent stretch, which is still easy to see. A ratio of 1.02 would be a 2 percent stretch that most viewers would not notice, which is why a tiny trim to the edges is often enough to close a small gap. If you can state the largest distortion you will tolerate, you can decide whether to crop, pad or choose another print size using only the two divisions. The calculator provides the numbers, and the comparison is your own.

Working backward from a target resolution

The same ratio can be turned around to ask how many pixels a print needs. Multiply the target pixels per inch by the print dimension in inches. A 10 by 8 inch print at 300 pixels per inch needs 3,000 by 2,400 pixels, which is exactly the image in the guide. A 10 by 10 inch print at the same density needs 3,000 by 3,000, so the image falls 600 pixels short in height. At 240 pixels per inch the square needs 2,400 by 2,400, which the image can supply in height but not without discarding width. Working this way before shooting or exporting lets you plan the framing. If you know the intended print shape, compose the picture with some spare room on the sides that will be trimmed, instead of discovering the mismatch afterward.

Reproduce the checks

Horizontal requirement

Open the Print Ppi Calculator and enter:

Pixel count
3000
Print length
10

Expected output:

Image pixel density

300

The width requires three hundred pixels per inch.

Vertical requirement

Open the Print Ppi Calculator and enter:

Pixel count
2400
Print length
10

Expected output:

Image pixel density

240

The height requires another scale.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks