Maison BeaulieuMAISON BEAULIEUAB ÉDITIONS · CULINARY ARTS & ARCHIVES
Private Editions · Images

Pixels and Print Size: Preparing a Photograph for a Family Book

A photograph can be plenty sharp for a small illustration, yet run short of pixels when given a full page. The file itself has not changed. To understand what is happening, you have to link the pixel count to the printed space, and then recognize which operations actually alter those pixels. A single resolution value stored in the file does not capture both questions.

We will start from the dimensions of 3,000 × 2,000 pixels given in Adobe’s documentation. The layouts, crops, and number sequences that follow are constructed for this dossier. They do not come from an examined family photograph or an actual print run. The values of 250 and 300 pixels per inch will serve as chosen criteria for our calculations, with no guarantee of sharpness or legibility on a finished print.

🎁 Free Heritage Gift · A4 Illustrated Booklet + 5 MP3s

Receive the “Pantheon of 28 Legendary Chefs” Dossier (Free A4 PDF) + 5 Audio Stories

Instant complimentary access to our illustrated gastronomic & historical dossier, plus 5 DRM-free MP3 audio chronicles.

Linking the file to its space on paper

According to Adobe, pixel density in pixels per inch (PPI) is calculated as R = N / L for N pixels across L inches.

Take our 3,000 × 2,000 image and a layout space of 12 × 8 inches. Horizontally, 3,000 / 12 gives 250 PPI. Vertically, 2,000 / 8 also gives 250. The two results agree because the chosen ratios match in both directions. They do not mean there are 250 pixels across the whole photograph: they relate the available pixels to each inch of this layout.

To convert dimensions into centimetres, NIST states the exact equivalence of 25.4 millimetres to one inch, or 2.54 centimetres. Our 12 × 8 inches therefore correspond to 30.48 × 20.32 centimetres. We keep this conversion explicit, because dividing 3,000 directly by 30.48 would yield a density per centimetre rather than per inch. Those two figures would not be two different assessments of quality: they would simply use different units for the same distribution.

Let us repeat the calculation starting from a width specified in centimetres. The formula becomes R = N × 2.54 / width in centimetres. With 3,000 × 2.54 / 30.48, we get back to 250. This second route lets you work on a metric layout without losing sight of the inch built into the acronym PPI. For the height, 2,000 × 2.54 / 20.32 gives the same result. Converting units creates no extra pixels; it merely expresses the occupied length differently.

The two size indications

Without resampling, the pixel count stays fixed. In the GIMP 2.10 manual, the Print Size command changes print dimensions and resolution without resampling.

Suppose our file initially carries a metadata value of 72 PPI. The formula would yield a width of 3,000 / 72, or about 41.67 inches, and a height of 2,000 / 72, about 27.78 inches. In centimetres, that is roughly 105.83 × 70.56. Those huge dimensions are merely the arithmetic consequence of the recorded value. They do not oblige us to reserve that much space in a book.

At 300 PPI, with the very same 3,000 × 2,000 pixels, the corresponding print size becomes roughly 10 × 6.67 inches, or 25.4 × 16.93 centimetres. The total count remains six million pixels. All we have changed is a piece of information about how they are placed.

Now place that same pixel grid onto the 12 × 8 inches chosen at the outset. For that fixed placement, the quotient remains 250 in both directions, even if the file carries a 300 PPI tag. We fed the calculation the length actually chosen, rather than echoing the isolated metadata tag. A spec sheet can therefore list both a nominal value of 300 and a placement density of 250 without the two divisions contradicting each other.

To solve the problem, you must decide what is allowed to vary. With the available pixels, a 10-inch width would achieve a quotient of 300. Holding the width at 12 inches with the same pixel count gives a quotient of 250. Asking for 12 inches, 300 PPI, and only 3,000 pixels at the same time imposes three incompatible constraints.

Calculating with the pixels of the cropped area actually kept

Let us define a cropped portion of 1,500 × 1,000 pixels, without discussing here which people or objects it might show. If it still fills 12 × 8 inches, its densities are 1,500 / 12 and 1,000 / 8: 125 PPI in both directions. Reusing the full image’s 3,000 pixels to compute its width would credit the crop with pixels that are no longer part of it.

Halving the initial dimensions leaves a quarter of the total pixel count: 1.5 million instead of six million. This difference explains why reasoning solely in terms of area or solely in terms of width can mislead. We divided both directions by two. Their product is therefore divided by four, whereas density at an unchanged print length is divided by two in each direction.

To return to 250 PPI with this crop, we can choose 6 × 4 inches, or 15.24 × 10.16 centimetres. The quotients again equal 250. This answer preserves the crop’s pixel dimensions and reduces its footprint on the page. It adds nothing to the retained fragment. If the project instead insists on the large 12 × 8-inch space, the calculation stays at 125: the change in requirements must remain visible in the numbers.

Forecasting the pixel count of a resampling

Now set a target of 300 PPI across 12 × 8 inches. That requires a result of 12 × 300, or 3,600 pixels wide, and 8 × 300, or 2,400 pixels high. The result will contain 8,640,000 pixels. This time we have defined a new grid, not merely a different print dimension for the old one.

Starting from the 3,000 × 2,000 image, the linear scale factor is 3,600 / 3,000 = 1.2, matching 2,400 / 2,000. The total pixel count is multiplied by 1.2², or 1.44: six million becomes 8.64 million, an increase of 2.64 million. Saying that the image is enlarged by 20% in each direction and saying that its pixel count grows by 44% are therefore two consistent descriptions of the same request.

Starting from the 1,500 × 1,000 crop, the linear factor becomes 2.4. Its square is 5.76: 1.5 million likewise becomes 8.64 million. This time the gap between the two counts is 7.14 million. Both requests reach the same final total, yet start from very different quantities. The final file’s pixel count alone would never reveal which of these two preparations produced it.

Resampling alters the number of pixels. Our target specifies the size of the new grid; its values still have to be computed according to a chosen operation.

To examine that choice, let us construct an operation small enough to calculate in full. Our input values will be integers between 0 and 255, treated strictly as numbers; they do not represent measured light. We choose to replace each adjacent pair with its average, forming pairs starting from the first element. This choice is not presented as the algorithm used by Photoshop or GIMP.

A window can fall between the new pixels

Where the pairs fall becomes decisive when we want to extract a detail. Take the sequence [0, 0, 100, 100, 0, 0]. We assign the six elements positions 0 through 5. In an edge-based coordinate frame, they occupy the intervals from 0 to 1, from 1 to 2, and so on up to 6. The reduction groups the first two, the next two, and the last two, producing [0, 100, 0].

Now retain, from the initial sequence, the four elements at positions 1 through 4. Their edges run from 1 inclusive to 5 exclusive, giving [0, 100, 100, 0]. If we restart pairwise grouping at the start of this crop, its averages become [50, 50]. The pairs have changed neighbours: the first pair now joins elements that belonged to two different groups in the global reduction.

What does that same window represent on the already-reduced grid? Each new group spans two units of the original frame. Edges 1 and 5 therefore become 0.5 and 2.5. They land right in the middle of the first and last affected groups. Our request can no longer be expressed as picking two whole elements from the three-element list. We need to acknowledge that difficulty rather than rounding the edges and claiming we extracted the exact same portion.

The two pairs of whole elements we could pick are [0, 100] and [100, 0]. They correspond to different edges in the original frame. Their disagreement with [50, 50] does not, by itself, prove that an identical operation simply changed order—we also changed what was covered. The right question becomes sharper: is the global result enough to compute the averages that our original window produced?

To test this, construct a second input compatible with the same global result: [0, 0, 80, 120, 0, 0]. Its pairs still yield [0, 100, 0], since 80 and 120 average to 100. Yet its crop across the very same edges 1 to 5 is [0, 80, 120, 0]. Restarting pairwise grouping on this crop gives [40, 60], not [50, 50]. The two valid inputs therefore require different answers for this extraction.

No unique answer can be deduced from the global triplet alone in this case. It is identical for both inputs, whereas the desired output is not. Any rule given only that triplet would necessarily produce the same output in both cases and miss at least one of the intended results. We have established this limit strictly through numbers, without appealing to any judgement about whether an image looks soft or pleasing.

Edge alignment explains one further difference. In the first input, take instead the first four elements, between 0 and 4. Grouping this portion gives [0, 100]—the exact first two elements of the global reduction. This time, the boundaries coincide with those of the original pairs. The same kind of extraction can thus match a simple slice of elements when its edges align, yet require something different when they cut through the middle of groups.

Our operation therefore requires specifying two starting points: where grouping begins in the whole sequence, and where it begins in the crop. They line up in the latter case, but not in the shifted window. The result depends on that alignment, not just on the final length of two elements. For real image work, how a given piece of software handles those edges would require its own inspection. The calculations here give a concrete reason to preserve the starting grid whenever a detail still needs to be prepared, without claiming to test any software or prescribe a universal editing order.

Checking the second direction as well

The GIMP manual distinguishes X and Y resolutions and how they are linked; it also distinguishes pixel density from a printer’s dot resolution. The two commands in the 2.10 manual do not constitute a measure of printed appearance.

Consider one last constructed layout: 2,400 × 1,800 pixels stretched across 8 × 8 inches. The horizontal density is 300 PPI, but the vertical density is only 225. Their arithmetic mean would be 262.5. Under our chosen criterion of 250 in each direction, that average does not let the vertical check pass. You have to inspect both quotients separately. This layout also alters the aspect ratio; it is not a composition choice to adopt as is.

What additional data would let us recover the original values?

Now change what we choose to keep from an original sequence. The first sequence is [40, 60, 80, 100, 120, 140]. The second is [60, 40, 100, 80, 140, 120]. All entries remain integers between 0 and 255. This time, we compute an average for every pair of neighbours, advancing by one element at a time. The pairs overlap: the second pair begins on the second element, before the first pair ends.

The five averages of the first sequence are [50, 70, 90, 110, 130]. The second produces the exact same list. To verify this without merely doing five additions, look at their difference: it is +20, −20, +20, −20, +20, −20. In every adjacent pair, the two offsets cancel out. Keeping the five averages alone therefore still leaves both sequences compatible. Matching outputs are not enough to determine their original values.

Two distinct sequences, the same five averagesNumerical construction. Sequence 1 is 40, 60, 80, 100, 120, 140. Sequence 2 is 60, 40, 100, 80, 140, 120. Their five adjacent averages are 50, 70, 90, 110, 130. Keeping the first value, 40, rules out the second sequence.Deux suites distinctesSuite 140 · 60 · 80 · 100 · 120 · 140Suite 260 · 40 · 100 · 80 · 140 · 120Cinq moyennes communes50 · 70 · 90 · 110 · 130Première valeur gardée : 40Elle écarte la seconde suite.
Two constructed inputs of the numerical model. The five averages alone remain compatible with both sequences; the additional original datum allows us to tell them apart.

Now add one original datum stored separately: the first value is 40. We did not derive it from the averages. In our construction, it is available before the reduction. We should also be clear about what changed compared with the reduction into three disjoint groups. That earlier reduction would have kept only [50, 90, 130]. We now hold the two intermediate averages, 70 and 110, plus the starting value. Adding only the starting value to the three old averages is not the problem we are about to solve.

Knowing the first value unlocks a new calculation. If the average of the first two values is 50, their sum is 100; the second value is therefore 100 − 40 = 60. The next pair averages 70, so its sum is 140. Its first value is the one we just recovered: 60. The third value is thus 140 − 60 = 80. The chain relies on the overlap, since each result becomes a known member of the next pair.

We continue with the average 90: 2 × 90 − 80 gives 100. Then 2 × 110 − 100 gives 120. Finally, 2 × 130 − 120 gives 140. We have recovered [40, 60, 80, 100, 120, 140]. In this exact model, the rule next = twice the average − current value leaves no choice at any step. Once the first value is fixed, the other five are determined. The second sequence compatible with the averages alone is now ruled out, because it began with 60.

We did, however, store five averages plus one original value—six numbers for six starting values. This proves no storage savings. The count of values does not even tell us how many bits their representation would require. An exact average can be a half-integer; automatically replacing it with an integer would alter the reconstruction data. Our success rests on the extra information retained and its exactness, without turning it into a compression method or a property of resampling in general.

A second calculation shows why that precision matters. Take the new input [40, 61, 80, 101, 120, 141]. The five exact averages are now [50.5, 70.5, 90.5, 110.5, 130.5]. We again keep the first value, 40. If the averages remain exact, the same chain recovers the chosen values. Now alter how they are recorded using a stated rule: round to the nearest integer, rounding upward when a positive value sits exactly halfway.

The recorded list becomes [51, 71, 91, 111, 131]. Running the chain from 40, the second computed value is 2 × 51 − 40 = 62. The third is 2 × 71 − 62 = 80. We next obtain 102, then 120, then 142. The reconstructed sequence is [40, 62, 80, 102, 120, 142]. It does have six elements, all within the allowed range. Yet it is not the starting sequence: the second, fourth, and sixth values each differ by one unit.

Checking the count, the range, and the initial value therefore passes without proving that the reconstruction is identical. The sums the chain had to satisfy changed with rounding. Here, the averages fed into the chain are half a unit higher than the exact averages. This failure does not measure a perceptible photographic flaw: it establishes the difference between two number sequences within the given construction.

Both branches ultimately answer the question left open by our detail extraction. We can resolve an ambiguity in a defined system by keeping suitable additional information. Doing so requires stating which data are actually available and what precision their calculation assumes. Generating a longer list from the reduced output alone did not supply that information. Our exact reconstruction has it because we changed what was kept before the loss, not because a new pixel count somehow created it.