Friday, February 12, 2010

Understand PPI, DPI and LPI

Definitions
PPI = Pixels Per Inch
This is a clarity measurement used primarily with monitors. It's literally the number of linear pixels visible on a viewing screen. Digital camera file sizes are measured in pixel dimensions and megabytes of storage memory.

DPI = Dots Per Inch
This is a clarity measurement used primarily with home printers. It's literally how many dots of ink are placed along one linear line of paper.

LPI = Lines Per Inch
This is a clarity measurement used primarily with commercial presses. It's literally the number of etched lines packed into a single inch of a single printing screen (plate).

While ppi is roughly comparable to some printers' dpi if the display size is set to the correct proportion, lpi isn't. In essence, it's the difference between a tattoo and needing a tourniquet.

A tattoo is made of hundreds of tiny pin pricks on the skin. These can be seen as dots per inch.

A single full-page lpi can be seen as an 11.5-inch cut from a razor. Imagine what 275 of these razor cuts within one inch would do. Then, multiply these cuts times four for the four plate screens involved on a cyan/magenta/yellow/black (CMYK) press. Next, place these razor cuts at the correct degree angles (15C, 45M, 0Y, 75K) to ensure coverage.

Yup, you'd need a tourniquet or at least a skin graft. ;-}

Why do PJs need to know?
Working PJs need to know this information to adjust to the needs of different clients. For example, books and magazines are frequently printed at 275 lpi or higher while newspapers are more likely published around 85 lpi.

The required lpi is ultimately determined by paper quality and "dot gain" (ink bleed). Glossy (coated) paper has little dot gain and higher clarity. The ink on newsprint paper has serious dot gain and less clarity. When ink is absorbed in a wider circle by the paper, it needs a lower lpi to appear as a "full color" image.

These differences mean PJs may need to adjust their capture quality sizes. For most newspaper gigs, it's acceptable to capture .jpg images at fine quality, but medium size (roughly 3M). However, anything larger than 1M after a crop works.

For most magazine and book gigs, it's best to shoot RAW+.jpg at fine quality at the maximum file size (roughly 6M to 30M, depending on the camera). Most high-lpi publications seek images in a range higher than 5M (jpg).

Pixel measurements
Dots and pixels per inch are close measurement approximations, but they're not exactly the same. Furthermore, most dedicated computer monitors are set at resolutions of 72ppi (low-res Windows) or 163ppi (iPhones). While images may appear clear on some monitors, they won't necessarily reproduce well.

Most newspaper staffers use 200 ppi as a baseline measurement. However, for general PJ work, 400 ppi is a better working number.

Depending on the actual use of the image, these ppi measurements approximate how large or small an image could be used on the printed page.

For example images posted on this blog are set at 92ppi. At 92ppi, an average image may appear 3.565 inches tall or wide. However, at 400ppi, the same image is only 0.82 inches tall or wide.

The size will appear larger on a low-resolution monitor, and tiny on a high-resolution monitor. Nothing changes except the resolution of the viewing monitor.

Dot measurements
As stated above, dpi (dots per inch) is a measurement of most home computer printers. In casual conversation, it's often (incorrectly) used as a substitute for ppi.

Folks would like to imagine dpi is a universal "standard." It's not. Nobody could give a definitive answer for the size of a single dot because it varies between machines. It's deliberately vague.

It's safest to work in ppi when referring to images. A single pixel is made of red, green and blue light in combinations of millions of colors. A dot is just a single-colored dot.

Line measurements
Printers use LPI (lines per inch). This a far more detailed measurement because a million or even 10 million dots still don't technically fit into a solid line. Consequently, there is no real digital equivalent to press numbers. So, we use 400 ppi to approximate one lpi line because the dots become so small they appear to be a solid line.

Please understand the press reproduces every defect down to a single pixel, dot or snigglefritzel.

Book requirements
During the day, I'm a book Editor at a specialty publisher. At night and on weekends, I still shoot and write for newspapers and magazines.

The book publisher requires authors submit 1M (megabyte) .JPGs images for quarter-page placement. Full-page images must be 5M .JPGs to approximately fit on the page at the correct proportions. Other format images - such as .TIF or .EPS - should be much larger. To get the approximate proportions for layout, we divide the image dimensions by 400 (ppi) for an inch count. Then, measure the placement box.

For example, an image could be 2100 x 1575 pixels (683K). This means its maximum size is 5.25 x 3.9375 inches. It can’t be laid out to fit in a hole that is 11.25 x 8 inches because it's about half the size it should be. It’s too small.

To make the example image fit a full-page, the layout program (InDesign) would stretch and degrade (interpolate) the images. When we fit the image to fill the full-page hole, it's 161.904 percent at 300 ppi (the lowest acceptable setting for the press).

We can improve an image's resolution by sending the image through a software program to increase the file size with minimum degradation. The new file size would be 5.13Mb. If the original image had started as a 5.2Mb file, it would have been the correct size.

Artificially increasing file sizes
Most software is capable of increasing file sizes. If it can be avoided, DON'T ARTIFICIALLY INCREASE FILE SIZES. Most programs "invent" pixels between other pixels. This is called interpolation.

During interpolation, most software averages surrounding pixels and approximates a solid pixel of the average color. The average color between a red pixel and a blue pixel on a football uniform is magenta (bright pink). Magenta isn't exactly a "football color."

If required, let the publisher increase file sizes because they'll have special programs to accomplish this with minimal damage to the original image.

We use PhotoZoom Pro 3. It can be tweaked to increase resolution with minimal degradation of the original. It still degrades the image, but it's nowhere near as bad as "upsizing" through basic photo software.

While the software is helpful, it isn't as good as a full-size original because it artificially increased the file size. It still invented "stuff between stuff," but it does so better than other software programs.

If authors wanted to mail prints to our office, we can scan up to 9,600 ppi to ensure clarity. Otherwise, the software can handle minor "upsizes" if the images are clear.

However, if the image was already degraded (via previous artificial increases or other software manipulations) before we got it, the program simply enlarges all previous problems. The program can be set to fill pixel gaps and smooth lines, but this only degrades the actual image more.

In short, no program "improves" images by making them larger, artificial increases only degrade images. It's best to get the original capture medium (film, digital file, etc.) and work forward from there. Then, scan the original at the largest file size possible and run it in a location smaller than the actual file size.

Enough for now,

No comments: