Advertisement


How can we talk about the “resolution” of a JPEG file?


Question

A JPEG is characterised with three parameters: width (pixel), height (pixel) and bit depth (bits per pixel). And resolution is a characteristic for output devices, e.g., monitors or printers. Why? Resolution is measured in dots per inch or pixels per inch, with other words: the ratio of some discrete value to some unit of length.

As we can see from JPEG file properties, it also has a horizontal/vertical resolution. But how can we apply the concept of resolution to something that does not have a length? (It sounds funny for me to talk about a “JPEG file with a width of 5 inches”.)

And another word to this is about user perception: Let’s assume we have a JPEG image with a width of 1920 px and we look at this picture on a monitor and an iPhone:

  • 24-inch wide-screen computer monitor: 1920 × 1200, 102.5 ppi
  • iPhone 6 Plus: 1920 × 1080, 401 ppi

So width is 1920 px in both cases and each pixel of the image corresponds to exactly one pixel of the device. So if we choose to look at these screens from a distance such that we have the same ratio of pixels per degree of vision, we would have exactly the same quality (≈ 70 PPD).

So why can we talk about the resolution of JPEG?


enter image description here

2015/02/11
1
2
2/11/2015 5:43:00 AM

Accepted Answer

Resolution means wildly different things to wildly different people. And a image has many resolution metrics. It has:

  • A pixel resolution
  • A Color resolution
  • A Unit conversion resolution (PPI, DPI etc)
  • The there are some even odder rarely seen resolutions

    • Like the subpixel resolution of a lense on the sensor*

      ...

So the term resolution is heavily overloaded, and Very often misunderstood.

Images do not have physical unit resolutions on digital media

We have gone over this subject quite many times on this forum. And the consensus is that the physical measurement conversion values do not apply on digital media as long as they stay digital. So the resolution of a jpeg image is the amount of pixels you have. Because as you correctly put it different devices have different sizes.

Problem arises when you output stuff to physical media

The confusion arises because the technology of printing something to paper is wildly different form making images on screen. Now people from a print background will be somewhat obsessed with the resolution of the image. What they call resolution is actually just a conversion factor from pixels to physical units for their output device. (They have pixels to spare so they can output at different resolutions.)

This resolution is meaningless for screens. But people aren't entirely attuned to different mediums. So you commonly see some print designers design for screen as if it was a printer.

DPI is just metadata, its just a expression of wish that the printer place this image at this size. It's useful for many tasks so you don't always need to resize the image. But that's all it is.

But these guys came first so they have already manipulated perceptions so they have dibs on image resolution as a topic. Right or wrong.

* I'm just saying this because I have dealt with this kind of stuff.

2015/04/03
4
4/3/2015 11:08:00 PM

The term resolution is used in many ways and not limited to pixels-per-length and similar resolutions (display resolution). What is probably confusing you is the difference between the display resolution and the recording resolution:

For every image file there is some underlying idealised image it tries to depict. This may be the light reflected or emitted by real objects to a certain point in space (the position of our camera, eyes or similar) or this may be an abstract description of a picture, e.g., a circle with the colour #FF0000 on a background of the colour #424242. These idealised images can be captured by our file with different resolutions, e.g., the following two images are displaying the latter example with a different resolution:

enter image description here     enter image description here

When we speak of the solution of a JPEG, we usually refer to this recording solution, i.e., how well whatever the image displays is captured. For example we could say about the above images:

The left image has a higher resolution than the right image.


There many other concepts of resolution. For example we could talk about the colour resolution (or colour depth) of an image or generalise the concept of resolution to lossy compression techniques.

2015/02/10