DPI Explained

The dpi writ­ten to the image are just a fac­tor to tell the sys­tem how large to scale the image when print­ing it. If they are omit­ted, most 2D imag­ing apps sim­ply assume ’72′. To be cor­rect, these are indeed actu­aly the ppi (pix­els per inch). The ppi don’t affect the actual image res­o­lu­tion in pix­els. For exam­ple, lets say you like to print the image with a 4:3 aspect at 4″×3″ inch size. Your printer is capa­ble of pro­duc­ing 1,440 dpi. The image is 8 bits deep. This means 256 inten­sity lev­els per color. This num­ber is slightly decreased by the CMYK con­ver­sion (assum­ing your image was RGB before) but this is neg­li­gi­ble. Now you only need to cal­cu­late the ppi of the image from the lpi (lines per inch — or the ‘screen fre­quency’) being printed.

The for­mula to cal­cu­late the num­ber of inten­sity lev­els printed is:

levels_printed = (dpi ÷ lpi) ^ 2 + 1

ppi should be cal­cu­lated as

ppi = lpi × 2.5

Note that lower val­ues will also work, depend­ing on the fre­quen­cies in the source image, but 2.5 is said to be a save value.

Since levels_printed is known (should be 256 for 8 bits), as are dpi (1,440), we can reorder the above term like this to find out the value of lpi:

lpi = dpi ÷ √(levels_printed – 1)

in our case 1440 ÷ √(255) ≈ 90; since 90 × 2.5 = 225 your image should have 225 ppi.

4″ × 225 pixels/inch = 900 pixels

3″ × 225 pixels/inch = 675 pixels

Voila; your image needs to be 900×675 pix­els in size if you want it to print at 90 lpi on an 1440 dpi printer w/o banding.

This is all that counts. Even if f.e. a TIFF file of the pixel dimen­sions in our exam­ple is set to 72 ppi, arriv­ing being 12.5″ × 9.375″ large in your DTP/imaging pro­gram, you could still scale the image to 4″ × 3″ w/o phys­i­cally touch­ing it, i. e. by plain chang­ing the ppi to 225; and every­thing will be all right.

For exam­ple, in Pho­to­shop, open the ‘Image Size’ dia­log, uncheck ‘Resam­ple Image’ and enter the new ppi in the ‘Res­o­lu­tion’ field. You see that the ‘Print Size’ ‘Width’ and ‘Height’ are changed accord­ingly while the (grayed out) ‘Pixel Size’ ‘Width’ and ‘Height’ stay fixed.

No Comments

Sorry, the comment form is closed at this time.

A Comment on the iPhone 4’s “Retina Display” Debate

Sev­eral blogs and mail­ing lists I fre­quent linked to an arti­cle inves­ti­gat­ing the valid­ity of Apple’s claims that the iPhone 4′s dis­play has a ‘ter­mi­nal’ res­o­lu­tion for the appli­ca­tion at hand: namely a human read­ing its dis­play at an ‘aver­age’ dis­tance (which, being unspec­i­fied in Apple’s press release, offers quite a bit of lat­i­tude for interpretation).

The arti­cle ignores sev­eral impor­tant facts.

Con­tinue »

On Plagiarism & Creativity in the Digital Age

A while ago there was a thread on the 3D-Pro mail­ing list that diverged from its orig­i­nal sub­ject and took a turn towards a debate about copyright.

The debate resulted when some­one dis­cov­ered that part of an image was being used as a back­drop for another image with­out giv­ing proper credit. It is note­wor­thy that the lat­ter work was not of com­mer­cial nature. The poster got very upset about this nev­er­the­less. I think what upset them most was the fact that the cre­ator of the derived work claimed copy­right. The poster called that per­son an “artist” (they used quotes to express their dis­agree­ment with the use of that term) who had “the filthy guts to rip of another (real) artist’s hard work”.

Con­tinue »

Planet Japan

I arrived in Tokyo last week but due to the sen­sory over­load this city imposes on the brain, par­tic­u­larly on a geek’s brain, I needed some time to con­tem­plate (read: process) my impres­sions before writ­ing any­thing about it.

Let me start by say­ing that I feel utterly stu­pid, by now, for not hav­ing vis­ited Japan ear­lier. My aunt is Japan­ese; through her I got to watch “Naus­caä of the Val­ley of the Wind” (in Japan­ese, w/o sub­ti­tles), when I was 11 years old, in 1985, the year after the movie came out. The images never left my head and I believe they were part of the rea­son I ended up pur­su­ing a career in film.

Con­tinue »