If my printer can print at 1200 x 4800 dpi, what resolution do I save my tiff at for max printed resolution?

10,525

Solution 1

The answers here already explain what DPI is, but your question isn't really what DPI is, but what the highest DPI setting is that you should use for your image.

Just a recap so others don't have to read the comments I posted on the other answers: DPI is a conversion from pixels to physical size, such as cm, inch, etc. When a program or printer uses the DPI setting, it will basically calculate how small or big on the paper the image should be without changing the actual image itself. So a 1024x768 image with a low DPI setting can fill an entire A4 paper, but will look very pixellated when printed, as where the same image printed with a very high DPI setting will appear very small on paper.

Now, what happens if you print on a higher DPI setting than the printer supports, the same basically as when you use your photo editor and resize the photo to a smaller image. You lose details.

This makes the question really hard to answer. If you specify a DPI that is too low, the image gets bigger on paper. If you specify a DPI that is too high, you lose details in the image which can result in text not being readable anymore, or lines vanishing, depending on how much fine detail the image has.

Although I cannot answer the question for sure, because I don't know how well the printer copes with a DPI that is too high, I suspect that if you go higher than the 1200DPI setting on the vertical axis, you will lose details. So even though 4800 DPI is on the wide axis, I suspect that 1200DPI should be the maximum DPI setting you should use in order to ensure that you won't actually lose any information.

You could test this by creating an interlaced pattern based image with one pixel black, then one pixel white, then one pixel red then one pixel white, then one pixel green and one last pixel white and repeat that vertically (so you get a long vertical line (you can make these pixels wider though, so the line is easier to spot), then print it out on 1200DPI and on 4800DPI and see if you are keeping the information, or that some colors vanish.

Even better would it be if Matlab can somehow specify different DPI settings for the entire image. It is also possible that the printer calculates the dimensions based on a formula and thus the max DPI setting you could use is 3/4th of 4800DPI, namely 3600DPI (because 1200DPI is 1/4th of 4800DPI, so you reduce that from 4800DPI to compensate for going over.

So my answer is going to be: experiment a little to make sure. The information in this answer should help you understand how and why it works like this.

Solution 2

There are already a lot of good answers, but one piece of the explanation seems to be missing, so I'll focus on that; the relationship between pixels and printer dots. The 1200x4800 printer resolution doesn't refer to image pixels, but the mechanics of how the printer can reproduce those pixels.

You have a specific, and somewhat unique, use case, but this general question can apply to a lot use cases. I'll cover the situation in general, which may be of use to other readers, and then apply that to your requirement.

Background

A pixel is the smallest meaningful element of an image. It contains information about the image, itself (as opposed to detail about how to recreate it on a specific device). If it is a grayscale image, the pixel tells you how dark that spot is. If it is a color image, the colors will be defined by a color space. For monitors, it's typically primary colors of red/green/blue. For a printer, it's typically primary colors of cyan/magenta/yellow (black is often added because it's difficult to create pure black by mixing colors; photo inkjet printers sometimes add additional colors that are hard to reproduce by combining other colors). The pixel color is defined by the intensity of each component primary color.

To reproduce the pixel color on a monitor, the monitor has a subpixel for each primary color and can vary the brightness of each subpixel. A printer can't do that; it can only print or not print a dot of a primary color (and put multiple primary colors in the same area). Some inkjet photo printers can actually vary the size of the dot a little, but otherwise work the same way. Printers recreate the pixel color by printing a pattern of tiny dots. For each primary color, it varies the intensity of the color by how many dots it puts in the pixel's area.

Printer resolution

Printers are designed to reproduce a document or image that looks good when viewed at a normal distance. They use some tricks to accomplish it that are invisible at normal viewing distance but visible under magnification. As I'll explain, what you want to do is to work at a level that the printer isn't really designed to support.

The printer resolution refers to how tightly it can put down dots to create shades of each color. I'm going to oversimplify a little because the resolution, say 4800 dpi, refers to how close together the dots are, not the diameter of the dot. If the dot diameter is no more than 1/4800th inch, there will be paper showing through gaps between the dots, so it will not be able to achieve 100% color intensity. If the dots are larger in diameter than 1/4800th inch, they will overlap and you will lose some increments of shading. But for this explanation, lets assume perfect dots.

If it can print a grid of 16x16 dots within the area of a pixel, it has 256 dots to work with. It can use anywhere between none and all to reproduce 256 shades of the color (excluding white for none), which is typically the color depth of an image.

At 4800 dpi, printing a pixel resolution of 300 ppi gives you 16 dots in that direction to recreate the color intensity. In the other direction, 1200 dpi for the same 300 ppi gives you only 4 dots for recreating the color intensity.

In this case, 4x16 gives you get a grid of 64 potential dots, which provides a color depth of 64 shades. So at 300 ppi, it can't accurately reproduce the original color precision of 256 shades per primary color, it can reproduce only every fourth increment of shading. But 1/300 of an inch is pretty small; you can only see that detail with magnification. So the printer employs an optical illusion. By making surrounding pixels more or less intense to compensate, from a normal viewing distance, the errors blend and cancel out.

The higher the printed pixel resolution, the fewer potential dots per pixel in the grid. The printer can reproduce fewer shades of the color, so color accuracy degrades.

There is also an issue of detail size at normal viewing distance. For something like a line to be visible as a line, it needs to be wide enough to be perceived by your eye as a feature. In the image, a line must be at lease one pixel wide to exist. If you print that pixel too small (too high a pixel print resolution), it becomes essentially invisible as a line. It becomes more like shading; color on the page that makes the paper off-white, but not really visible as a feature. That is similar to how printers produce color shading -- dots or lines too small to be seen as a feature that add some percentage of color to the paper.

Image resolution

If you think about a fax, that is typically 200 dpi black and white. Normal-sized text tends to look a bit blocky and jagged. Black and white laser printers produce smooth text outlines at 400-600 dpi, which is fine enough resolution to require magnification to see the detail (the text characters are typically represented as vectors, which don't have a ppi measurement).

If it was a grayscale image, 200 ppi would look much better, and 24 bit color (8 bits per color) at 200 ppi looks pretty good at normal viewing distances. At normal document or picture viewing distances, 24 bit color at 300 ppi gives you pretty much all of the detail your eye is capable of distinguishing. At higher pixel resolutions, you would lose the ability to differentiate some of the smallest image details.

Printers rely on that fact to fake it. Your software application defines the pixel resolution, which determines the size of the image and the size and density of the image detail. The printer driver figures out how to best reproduce that given the constraints it has to work with. It can only lay down dots of primary color at intervals limited by the printer's resolution to simulate the color depth of the image pixels.

But your eyes can't see detail at that level. It you printed an image at 4800 ppi, every pixel, regardless of its color shade, would be reduced to the presence or absence of a single dot (color depth of 1 shade) of each of its component primary colors. So the printer would need to pick from a pallet of 8 possible colors to reproduce any of the 16.8 million colors a pixel could be. You also wouldn't be able to distinguish any of the detail; it would look like a muddy blob.

Determining what resolution to save the image for typical use

For typical use, basically ignore the printer resolution, that will just affect how accurately it can reproduce the image. Determine the image resolution based on how the result will be viewed. In a typical document or photo print, 300 ppi is a good target. If you may need to enlarge the image, or part of it, a higher resolution will preserve smaller detail for that purpose (base the ppi on how much you might need to enlarge). If the image will be viewed from a distance, like a poster, 150 ppi or even less might be adequate.

If you use a ppi spec greater than what you really need, you will be storing and working with a much larger file. Resolution is in two directions, so doubling the resolution quadruples the image pixels and the file size. This can slow processing time to work with it. It will also limit the printer's ability to use its tricks, which could result in a poorer print reproduction.

Special "microfiche" use case

You have a special use case where you want to print small and then magnify. You will bump against two kinds of problems that are limitations of the printer technology. One is the color accuracy that was previously discussed. The other is the precision at which the dots are placed.

When you are viewing content printed at say 300 ppi, the pixels are already small enough to require magnification to see them. The dots used to create the pixels need to be at a certain density, but the placement doesn't need to be all that precise. From dot to dot, or line to line, if a dot is off position by 50%, you're talking about roughly 1/10,000th of an inch at 4800 dpi.

The printer also uses what is essentially "randomization" of some dot placement to avoid accidentally creating groups of coloration dots that happen to form a pattern that is perceivable as an artifact or feature. It also manipulates dot location to create the color error offsets in adjacent pixels.

The high dot resolution isn't intended for you to use to print detail, it's the secret sauce the printer uses to synthesize the detail visible at normal viewing distances. So what would happen if you tried to print at a pixel resolution approaching the printer's dpi?

If it was just text, you could theoretically print at 1200 ppi (this will be limited by the direction with the lowest resolution). This would sort of mimic how simple text characters are displayed on a monitor. In practice, though, this would be very crude, perhaps to the point of being barely usable. The printer isn't designed to place the individual dots with the precision that would produce nice smooth lines.

If you are talking about color images, it would be even worse. there would be too few dots to reproduce a broad range of colors, and the dot placement would be too random to reproduce accurate detail. If you weren't at all worried about color accuracy you might get something usable at up to about 400-600 ppi (only guessing, you would need to test it). But the appearance under magnification would likely be a bit "faxish". It would also be horribly "grainy" because you would be looking at the component dots. It definitely wouldn't pass for something "photographic".

In the days of dot matrix printers, people with a lot of time on their hands "digitized" photos into ASCII art. By that, I mean converted pixels to alphabetic characters of similar darkness density to create a "document". Printing the document would produce something that was recognizable as a picture from across the room, but at normal viewing distance, you could see all the characters. Your magnified image would be similar.

Simple colored squares wouldn't be quite as bad as long as color accuracy and clean outlines aren't important. If they are actually next to each other, you would get irregular outlines and color bleeding between them due to imprecise and randomized dot placement.

The bottom line is that the printer resolution isn't designed for printing detail or accurate color at that resolution. It's just a resource the printer uses to simulate decent-looking output at normal viewing distances. The dots don't change, they're the basic component used to create output. At different pixel resolutions, more or less of them are used to create each pixel. Regardless of the printed pixel resolution, under magnification, you'll be viewing the contents of the secret sauce.

Solution 3

Printer DPI (dots per inch) and image resolutions, measured in PPI (pixels per inch) -- confusingly enough too many sources use DPI for this also, even though they shouldn't -- are not the same, nor are they equivalent.

With one exception (see below), when printing greyscale or colour images, you do not need one pixel for every dot a printer can print in order to have ooptimum quality. As harrymc pointed out, in the case of colour or grayscale images, 300 PPI is usually enough. The increase in printer resolution merely means you have access to more shades of gray as pointed out by the formula in the first answer in the link ((Output Resolution / Screen Frequency)^2 + 1 = Gray Levels) provided in the question.

The exception is line art which you want to save as a bitmap (not the file format, the bit depth), where every pixel is either black or white and cannot be any other colour. In the case of line art, you ideally want to match the printer's resolution. That said a line 1/1200th of an inch wide is thin indeed and finer detail is probably wasted on anyone looking at the image at a normal viewing distance (40-60 cm) since it roughly matches the human eye's acuity (see this answer). So 1200 PPI is usually enough for line art.

Share:
10,525

Related videos on Youtube

KAE
Author by

KAE

Updated on September 18, 2022

Comments

  • KAE
    KAE over 1 year

    I have a color laser printer with max resolution specified to be 1200 x 4800 dpi, which is vertical by horizontal resolution based on this answer. I want to print an image at the highest possible resolution, so first I create a tiff file of the image using Matlab, which allows me to specify a single dpi value when I save the file. Do I specify 4800 dpi? Would the printer then print my image at 4800 dpi in the horizontal and 1200 dpi in the vertical? (The use case: I am seeking to print out a small color image containing tiny squares which need to be distinct when seen under a magnifying glass.)

    • cybernetic.nomad
      cybernetic.nomad over 5 years
      What kind of printer is it? Laser? Inkjet? something else? Also: is it colour or B&W? And what about your images? Are they colour? greyscale? or bitmaps? all this will affect the answer (as I've tried to explain)
    • harrymc
      harrymc over 5 years
      To future readers : Be cautious, this post and some of the answers are not very clear on the differences between DPI, resolution, pixels and dots.
  • harrymc
    harrymc over 5 years
    Why the immediate downvote?
  • KAE
    KAE over 5 years
    I was not the one who downvoted you, but it seems that a printer can actually have different DPIs in the horizontal and vertical directions based on link. But I don't know how this works with software that assumes one DPI value for the whole image, like Matlab does.
  • LPChip
    LPChip over 5 years
    I was also not the one who downvoted it, but it doesn't actually seem to answer the question, rather only explain what DPI is. If I were the OP, this answer would not help me. For example, would OP need to do 4800x1200=... DPI? or is 4800DPI for a square inch? Or is 4800DPI already higher than the max, and is the max 3/4th of 4800DPI?
  • harrymc
    harrymc over 5 years
    @KAE: There might be some confusion here between DPI and resolution.
  • harrymc
    harrymc over 5 years
    @LPChip: The explanation was because of the confusion between DPI and resolution. DPI in my experience has little effect on print quality - resolution is the important parameter. The DPI I advocated is quite enough for high-quality print.
  • KAE
    KAE over 5 years
    @harrymc: I am likely confusing DPI and resolution. The printer specification says it is capable of "printing at up to 1200 x 4800 dpi". Meanwhile Matlab says the user can save the tiff file "indicating the resolution in dots per inch". Are these different? If so what resolution do I choose in Matlab to print the image at the highest resolution on the printer?
  • harrymc
    harrymc over 5 years
    @KAE: Yes, very different. The resolution determines the number of pixels/dots in the image, which is what the printer prints. DPI is just a property of the image relating more to the setting of the scanner that created it. Image resolution smaller than the printer page means that the printer must create pixels by approximation.
  • KAE
    KAE over 5 years
    @harrymc: I am printing something tiny which must be legible when looked at under a magnifying glass. That is why I need the highest possible resolution that the printer can produce. I control the DPI value when I create the file, so what should I choose given the printer's specifications?
  • harrymc
    harrymc over 5 years
    You cannot create pixels from nothing. Only in films is it possible to infinitely enlarge images, in real life the pixels are smeared. A large image can be displayed as smaller and still be legible, but no way that a small image can be enlarged without losing quality, unless it is in vector format such as PDF which can always adapt.
  • harrymc
    harrymc over 5 years
    A strong enough magnifying glass will be able to see the individual pixels, not the image. What you need to do is have several versions of the image in various resolutions, and switch to larger-resolution when magnification is required. Or make the image the best quality that is practical (resolution) and hope that the magnifying glass is not too strong. Displaying it larger will help.
  • LPChip
    LPChip over 5 years
    DPI is a conversion between pixels and physical size. A photo in photoshop can have a resolution of 1024x768 with a low DPI and print to an A4 paper almost full screen. But if you make the DPI high and not change the resolution, then it prints out tiny. So if you change the DPI of an image without changing the resolution, it will be bigger or smaller printed, so getting the max DPI setting is definitely something you want to look for to get the best result on an as small possible space, so you can fill the paper with more image.
  • LPChip
    LPChip over 5 years
    The reason why one would want the highest DPI is to be able to scale the image down on paper without changing the resolution, so one could then place many of these images next to eachother on paper. This is often done to archive lots of information to a small physical size, where one uses a magnifying glass to aquire the data. I believe this is the quiestion OP wants answered. That said, no where in the answer do I read what DPI setting he needs to use to get the max out of his printer.
  • harrymc
    harrymc over 5 years
    @LPChip: The image is filled with pixels. The DPI is only meaningful during the creation of the image, since it indicates (normally to the scanner) how many pixels to generate per inch. In the poster's case, he can set Matlab to a given resolution, and the DPI is then really just a comment and has no effect when displaying the pixels.
  • KAE
    KAE over 5 years
    @LPChip - Your use case is correct: I am seeking to print out something tiny which I will read with a magnifying glass. I will edit the question.
  • harrymc
    harrymc over 5 years
    @LPChip: You are lucky that it was I that received the downvote for suggesting that DPI cannot help for enlarging an image with a magnifying glass (or printing a small image). There is a confusion of terms here, but I'm unable to make it clear to the poster that there is no magic possible. Maybe you can do better.
  • harrymc
    harrymc over 5 years
    @LPChip: Correction : The DPI can be used by the printing program to scale the image when printing, in the sense that so-many-pixels-per-inch. But that can be overridden to accord with the pixels.
  • LPChip
    LPChip over 5 years
    @harrymc I would've posted an answer if I was able to properly formulate it and have the answer to the question he has. I know exacly how DPI works from a photo editor perspective as I had to deal with it when I created my Album art for the shop that printed my album, but as to know how to deal with different height and width settings of a printer, not sure. In theory, exporting the image with DPI of 4800 would not change the amount of pixels, but tell the printer how small to make it. But he may lose details on the vertical axis. So 1200dpi might be the max. I'm just not sure.
  • LPChip
    LPChip over 5 years
    @harrymc but I'll give it a shot, anyway.
  • KAE
    KAE over 5 years
    Thanks to all for the light bulb that the file DPI and the printer resolution are unrelated. Once I understood this, I stopped making a tiff file. Instead I printed directly from the Matlab figure window and experimented as suggested. In Printer Properties, I choose '4800 x 1200 dpi equivalent' since that was the maximum DPI I could select, and in the printout I was able to see all the needed detail with a magnifying glass. My education here was a group effort and I am sorry I can only select one answer, since all were helpful.
  • LPChip
    LPChip over 5 years
    You're welcome. :) Glad you sorted it out, and that I could assist in some way. I'm sure others will also learn from this group effort. :)
  • Máté Juhász
    Máté Juhász almost 5 years
    You wrote a long explanation on what DPI is and what it isn't, but forgot to answer the question: "what resolution do I save my tiff at for max printed resolution?"