0

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.)

  • 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) – cybernetic.nomad Sep 12 '18 at 14:14
  • I will edit the question with this info, thanks. – KAE Sep 12 '18 at 14:19
  • 1
    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 Sep 13 '18 at 13:00
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.

  • 1
    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. – KAE Sep 12 '18 at 14:18
  • 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. :) – LPChip Sep 12 '18 at 14:30
1

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.

  • 1
    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. – LPChip Sep 12 '18 at 13:20
  • @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. – KAE Sep 12 '18 at 13:24
  • 1
    @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 Sep 12 '18 at 13:32
  • @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 Sep 12 '18 at 13:51
  • @harrymc but I'll give it a shot, anyway. – LPChip Sep 12 '18 at 13:52
0

Dots per inch (DPI) is :

Dots per inch (DPI, or dpi) is a measure of spatial printing or video or image scanner dot density, in particular the number of individual dots that can be placed in a line within the span of 1 inch (2.54 cm).

DPI is a measure of how many dots in an inch, or in other words the quality of the image. A higher DPI helps when you are printing the image on a larger surface, such as a high-quality printer, to avoid pixels being "smeared".

The DPI has effect when the image is created, usually by a scanner, or in your case Matlab. Changing it afterward makes no sense.

The DPI is a property of the entire image and has no horizontal or vertical components.

You may specify any DPI that works with your printer. The default is usually 300, but for a high-quality printer 600 or 1200 is enough.

You may have meant resolution rather than DPI, and in this case the best one is the one that matches the printer,

The print quality also depends on the program you are using for the print, as well as on the printer being set to high quality print.

  • 1
    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. – KAE Sep 12 '18 at 12:22
  • 1
    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? – LPChip Sep 12 '18 at 12:27
  • 1
    @KAE: There might be some confusion here between DPI and resolution. – harrymc Sep 12 '18 at 12:28
  • 1
    @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. – harrymc Sep 12 '18 at 12:36
  • 1
    @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. – harrymc Sep 12 '18 at 13:21

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.