What is Pixel Density or PPI?
Pixel density is a calculation that returns the number of physical pixels per inch on a screen or display of a device. It’s often referred to as Pixels Per Inch or PPI.
Pixel density has become increasingly important as the resolution of screens has increased dramatically in the past several years. For example, the Apple iPhone 14 has a high resolution screen with a pixel density of 460. In contrast, older XGA monitors had a PPI of around 85. Increased PPI can improve the quality of the viewing experience. Even when held closely, high PPI screens do not look pixelated (assuming that the image is of high enough quality to begin with).
What are the Key Inputs for Pixel Density Calculation?
As you might expect, the resolution and physical dimensions of the screen go into the pixel density calculation.
Struggling to get your SEO just right? Start with your image optimization, and start with our blog!
For a more detailed explanation, you can visit here.
It’s important to point out that most ua parsers or sniffers are not sophisticated or accurate enough to determine the device and its resolution and physical screen size. However, a fully fledged device detection solution like WURFL, built into ImageEngine’s image CDN, contains over 500 properties or capabilities of a device.
How Does Image Optimization Use Pixel Density?
While it has many use cases, pixel density is useful when optimizing, resizing, or reformatting images. Pixel density will tell you how far you can reduce the dimensions or compression of an image before visual quality is impacted.
ImageEngine has device-aware edge servers in its content delivery network (CDN). These servers use WURFL device detection to determine many device capabilities, including pixel density. If a device visits a website and there is not already an optimized image cached at the edge server, then it will pass pixel density and other device information back to ImageEngine’s optimization processor.