Digital Home Thoughts

Digital Home Thoughts - News & Reviews for the Digital Home

Register in our forums so you're ready for our next giveaway contest...


Zune Thoughts

Loading feed...

Apple Thoughts

Loading feed...

Laptop Thoughts

Loading feed...




Go Back   Thoughts Media Forums > DIGITAL HOME THOUGHTS > Digital Home Talk

Reply
 
Thread Tools Display Modes
  #1  
Old 06-29-2004, 06:15 PM
Jason Dunn
Executive Editor
Jason Dunn's Avatar
Join Date: Aug 2006
Posts: 29,160
Default How Big Can You Print That Image? PPI Explained

Digital Media Thoughts reader ctmagnus asked a question about PPI in our forums and I thought a column on this topic would be useful for everyone. PPI is a confusing issue, but hopefully this column will clarify it for you. Here's the question ctmagnus asked, and it's certainly a common one:

"I have an image I'd like to have printed. It's 2272 pixels by 1704 pixels at 180dpi. How big can I get this printed before it starts looking bad?"

First off, what is PPI you might ask? It stands for "pixels per inch". PPI is a physical measurement of how many dots are printed on a piece of paper. Ignore what you know about DPI and screen resolution - PPI is a measurement of the physical world, where digital pixels get transformed into physical dots on the page. The basic concept is this: the more pixels you can have per square inch on your page, the better the quality of your print will be.

The Painting Analogy...
Here's an analogy that might help this concept make sense: let's say you have one gallon of paint. If you have a wall that's 10 feet high and ten feet wide, you can give that wall several coats of paint and it will look great - full, lush, rich colour. But if you had to paint a wall that was 100 feet high and 100 feet wide, you'd have to spread your paint very thin to cover it all - the net result would be a poor quality paint job. The concept is exactly the same when it comes to printing your digital images. If you take a low resolution (640 x 480) image without many pixels (paint) and print it at a 3" x 2" wallet size (small wall), the quality will be acceptable. But if you took that same 640 x 480 image and tried to do an 8" x 10" print (a big wall), the quality would be poor because there's not enough pixels (paint) to cover it properly.

How Many Pixels Per Inch Do You Need?
You can't have a PPI value until you know what size of paper you're printing it on - all you have is the resolution (total number of pixels). PPI is an unknown until you pick a physical print size.

In the scenario above, ctmagnus has 3.8 megapixels worth of image data (2272 x 1704 = 3,871,488). If you have a program such as Picasa, it will give you the PPI value for each print size that you choose, and warn you when the PPI value is low. 300 PPI is ideal - anything above that is overkill. I was surprised to find, however, that I could go all the way down to 100 ppi on my 8.5" x 11" sample print image and it still looked quite good at 8.5 x 11 when viewed from a normal distance (holding the image at chest-height). At 50 PPI I could see significant image degradation. This will vary from image to image, and perhaps from printer to printer (I used a Canon i950 for my images), but 100 PPI is the "danger zone" that you don't want to go below. Some might argue that 150 PPI is the line never to cross - it depends on the eyes of the person looking at the image, and how closely they inspect it for flaws).

How To Calculate PPI
I taught a college class on PPI and printing a few weeks ago, and I spent some time working out the math (with the help of Ed Hansberry). How do you calculate PPI? There's the quick way and the painful way.

The quick way is to take the largest pixel value on the image (in this case, 2272) and divide it by the longest print side of the page size you're going to print it on. So if you were printing an 8" x 10", you'd divide 2272 by 10 and get 227 PPI. No quality problems with that PPI! At 11" x 14" you'd have 162 PPI. Still ok there, and at 16" x 20" you'd be at 113 PPI. This is pushing the barrier of acceptable quality, but I think it would still look decent - especially since the larger the image the further away people tend to view it.

So what's the painful way of calculating PPI? If you're a math person, you won't find this painful, but I'm not, so I did find it moderately painful. :wink: The formula for the data above would look like this: (2272 x 1704) / (8.5 x 11) = x. In this instance, we'd get 41,406 and change. We'd then take the square root of that number and get a PPI value of 203. This is the most accurate method of calculating PPI (the quick method above gave us 227 PPI), but it's more involved. If your software gives you the PPI value, all the better, but if it doesn't you can safely use the quick method to crank out a PPI value before you waste valuable ink and paper.

And there you have it. Go out and conquer the digital photo printing world with your new-found knowledge of PPI! :way to go:
 
Reply With Quote
  #2  
Old 06-29-2004, 07:06 PM
Doug Johnson
Intellectual
Join Date: Mar 2004
Posts: 186
Send a message via MSN to Doug Johnson

Now if someone would be kind enough to explain Lines Per Inch...
 
Reply With Quote
  #3  
Old 06-29-2004, 07:19 PM
PJE
Thinker
Join Date: Jul 2003
Posts: 335

Quote:
Originally Posted by djdj
Now if someone would be kind enough to explain Lines Per Inch...
Check out...

http://desktoppub.about.com/cs/inter...easure_lpi.htm

PJE
 
Reply With Quote
  #4  
Old 06-29-2004, 07:51 PM
jim s
Ponderer
Join Date: Jul 2003
Posts: 79

If you want to be really accurate, you should figure in the margins on the long version, so 8.5x11 might be more like 8x10.
 
Reply With Quote
  #5  
Old 06-29-2004, 07:58 PM
Jason Dunn
Executive Editor
Jason Dunn's Avatar
Join Date: Aug 2006
Posts: 29,160

Quote:
Originally Posted by jim s
If you want to be really accurate, you should figure in the margins on the long version, so 8.5x11 might be more like 8x10.
Depends on the printer - my i950 does full page prints, edge to edge (usually called borderless), so I was quoting the true size of the print. :-)
 
Reply With Quote
  #6  
Old 06-29-2004, 08:50 PM
sub_tex
Theorist
sub_tex's Avatar
Join Date: Aug 2006
Posts: 298

Great article!

That quick and dirty ppi calc is going to make my life a little easier.
 
Reply With Quote
  #7  
Old 06-30-2004, 02:00 AM
Gordo
Intellectual
Gordo's Avatar
Join Date: Mar 2004
Posts: 206

If the image size is not large enough for the size of print you really want; one trick I read about, but haven�t tried, is to resize the image larger in 10% increments. If I recall correctly the author did this step upsizing 20 times in 10% increments to produce a poster size image. I have not tried this approach but heard from a co-worker who tried that it and they indicated it worked quite well.
 
Reply With Quote
  #8  
Old 06-30-2004, 05:16 PM
craigf
Pupil
Join Date: Apr 2004
Posts: 22

Technicallly, the formula given isn't exactly correct unless the ratio of length to width is the same for both the image and the print.

If you have an 1600x1200 image, the ratio is 4:3. That's great if you're making a 4x3 or 8x6 print. But, if you want a standard size, say 10x8 (which has a ratio of 5:4), you're going to have to crop the image and make it more squarish. That means you'll lose pixels off of your longest side, reducing your PPI and degrading your print quality.

To continue the example: If we were to print a 1600x1200 pixel image onto a 10" long piece of paper, the article would lead you to believe you'll get 160 ppi. However, the width of the image would be only 7.5 inches. How'd I get that? 1600 pixels over 10" = 160ppi. Now, divide 1200 pixels by 160 ppi to get 7.5 inches (just keep your units straight). So, in order to fill up a 10x8 image, we're going to have to use our short side: 1200 pixels divided by 8" = 150ppi. Multiply 150ppi by the 10" of our paper and you get only 1500 pixels. That means you'll lose 100 pixels off the long end of the image due to cropping.

So, while 150 ppi versus 160 ppi doesn't seem to make a lot of difference (and it won't most of the time), if you start moving to/from highly rectangular image sizes (e.g. 3:2 ratios), then the effect becomes more pronounced.

Anyway, I thought I'd mention this, since it isn't obvious unless you've been mangling, er, managing digital photos for a while and it's helpful to understand (especially when sending images off to online printers like Shutterfly and Ofoto).
 
Reply With Quote
  #9  
Old 06-30-2004, 07:10 PM
Jason Dunn
Executive Editor
Jason Dunn's Avatar
Join Date: Aug 2006
Posts: 29,160

Quote:
Originally Posted by craigf
Technicallly, the formula given isn't exactly correct unless the ratio of length to width is the same for both the image and the print.
That's true - I was taking into account the final pixels once the aspect ratio has been fixed, but you're right in that if someone uploads an image to Ofoto and crops it, they'll be losing some PPI.

That's one of the things I like about Picasa - it shows you the PPI value for the image as you change the print size, so there are no surprises.
 
Reply With Quote
  #10  
Old 07-01-2004, 02:30 AM
Pony99CA
Swami
Pony99CA's Avatar
Join Date: May 2004
Posts: 4,396
Default Re: How Big Can You Print That Image? PPI Explained

Quote:
Originally Posted by Jason Dunn
The quick way is to take the largest pixel value on the image (in this case, 2272) and divide it by the longest print side of the page size you're going to print it on. So if you were printing an 8" x 10", you'd divide 2272 by 10 and get 227 PPI. No quality problems with that PPI! At 11" x 14" you'd have 162 PPI. Still ok there, and at 16" x 20" you'd be at 113 PPI. This is pushing the barrier of acceptable quality, but I think it would still look decent - especially since the larger the image the further away people tend to view it.

So what's the painful way of calculating PPI? If you're a math person, you won't find this painful, but I'm not, so I did find it moderately painful. :wink: The formula for the data above would look like this: (2272 x 1704) / (8.5 x 11) = x. In this instance, we'd get 41,406 and change. We'd then take the square root of that number and get a PPI value of 203. This is the most accurate method of calculating PPI (the quick method above gave us 227 PPI), but it's more involved.
I am a math person (BS in Math and Computer Science from Michigan), and I don't see how the "complicated" calculation is "more accurate". What you're doing is (if I recall correctly) taking the geometric mean of the two ratios, which is creating an artifical number that doesn't reflect either dimension properly.

I haven't thought completely about it, but I believe the following is the most accurate way to do things.
  1. Assume we're going to be printing the larger dimension of the image on the longer side of the paper (typically landscape mode unless you rotated the camera).
  2. Take the larger image pixel count and divide by the larger print dimension. In the example above, 2272/11 = 206.55 ppi.
  3. Take the smaller image pixel count and divide by the smaller print dimension. 1704/8.5 = 200.47 ppi in the above example.
  4. Use the greater of the two pixels per inch values. That corresponds to the dimension that will print all the way to the edge; the other dimension will be letter-boxed (assuming truly round dots) because it will print at the same density as the other dimension.
Of course, to actually fill up that 8.5x11" paper, we'll have to resize the image to match the printer's specifications. (Some programs fit-to-page automatically, but resizing it yourself allows you to inspect the image before committing to paper.)

If you're going to print at 300 dpi, that's 2550x3300 pixels. Resize the number with the higher ppi to its corresponding size (2272 goes to 3300 in the example; 3300/2272 = 1.45 expansion ratio). The other dimension will be printed using 2475 dots and will use 8.25" of the paper.

Does that sound right?

The best algorithm for increasing the size of an image is left to the reader. :-D

Steve
__________________
Silicon Valley Pocket PC
http://www.svpocketpc.com
 
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:33 PM.