Skip to main content
@ Follow Us
Newsletter Sign Up
Newsletter Sign Up

Understanding DPI, Resolution, and Compression

27th March 2023

The world of digital imagery can be quite confusing for those who are not well-versed in its intricacies. One of the most common misconceptions in this field revolves around the concepts of DPI (dots per inch) and resolution. Understanding DPI, resolution, and compression and their role in digital images, especially focusing on their importance in the context of website images is very important. We will also address some frequently asked questions on this subject to help you gain a deeper understanding of these concepts and their practical implications.

Understanding DPI and Resolution:

Before delving into specific questions, it is essential to understand the fundamental concepts of DPI and resolution.

Definition of DPI

DPI (dots per inch) is a measure of printed image quality, which refers to the density of printed dots on a physical surface, such as paper or canvas. The higher the DPI value, the more dots there are in a given area, resulting in sharper and more detailed prints. DPI is a crucial factor in the context of printed materials, as it directly impacts the final output’s quality.

Definition of Resolution

Resolution, on the other hand, pertains to digital images displayed on screens. It is measured in pixels and refers to the total number of pixels that make up an image. A higher resolution image will have more pixels, resulting in a sharper and more detailed display on a screen. Resolution plays a significant role in determining the quality of digital images.

Difference between DPI and Resolution

Though DPI and resolution are often used interchangeably, they are distinct concepts that cater to different aspects of image quality. DPI is primarily relevant for print materials, as it determines the quality of the printed image based on the density of dots per inch. Resolution, however, is crucial for website images, as it defines the number of pixels in an image, directly impacting its quality when displayed on screens.

Importance of Resolution in Website Images

Optimising image resolution for websites offers numerous benefits, including maintaining visual quality, improving page load times, and enhancing overall website performance. By ensuring that images are appropriately sized for various screen sizes and resolutions, you can provide a seamless and visually appealing browsing experience for your users.

Tips for Optimising Image Resolution

To optimise image resolution on websites, consider implementing the following best practices:

  • Use appropriate file formats, such as JPEG for photographs and PNG for images with transparency or sharp lines.
  • Compress images without losing quality to reduce file size and improve page load times.
  • Ensure images are responsive and adapt to different screen sizes and resolutions for optimal display across various devices.

With a solid understanding of DPI, resolution, and their respective roles in image quality, we can now address some specific questions related to these concepts.

Frequently Asked Questions:

  1. What resolution is 300 DPI? A 300 DPI value alone does not define a specific resolution, as DPI is a measure of print quality. To determine the resolution of a 300 DPI image, you need to know the dimensions in inches. For example, a 4×6 inch image at 300 DPI would have a resolution of 1200×1800 pixels (4 inches * 300 DPI by 6 inches * 300 DPI).
  2. What DPI is 1920 x 1080? DPI is not directly relevant for digital images displayed on screens, as resolution is the key determinant of image quality in this context. A 1920 x 1080 image has a resolution of 1920 pixels wide by 1080 pixels high. The DPI value would depend on the intended print size if you were to print the image.
  3. Is 1200 DPI better than 300 DPI? In the context of printed materials, a higher DPI generally results in sharper images with more detail. A 1200 DPI image would have more dots per inch than a 300 DPI image, resulting in better print quality. However, for website images, DPI is not relevant, and resolution is the key factor
  4. What is the difference between 72 and 300 DPI? The difference between 72 DPI and 300 DPI lies in the density of dots per inch in a printed image. An image with 300 DPI has a higher dot density than an image with 72 DPI, resulting in sharper and more detailed prints. However, for digital images displayed on screens, DPI is not a relevant factor, and resolution takes precedence.
  5. How does compression play a part in the resolution of your photo? Compression is a technique used to reduce the file size of an image by eliminating redundant data or approximating the information in the image. The level of compression applied can affect the resolution and overall quality of a photo. Higher compression levels may result in a loss of detail and reduced image quality.
  6. Can you compress a photo and keep the resolution? It is possible to compress a photo (using a service such as TinyPNG) while maintaining its resolution using lossless compression methods, such as PNG or TIFF formats. Lossless compression retains all the image data and ensures that the image quality remains unchanged after compression.
  7. Can you compress a photo and keep the DPI? Yes, you can compress a photo and maintain its DPI, as DPI is a separate attribute from file size. However, the choice of compression method (lossy or lossless) may affect the overall quality of the image when printed at the specified DPI.
  8. Does altering the DPI affect file size? Altering the DPI of an image does not directly affect the file size, as DPI is a measure of print quality. However, if you resize the image based on a specific DPI, the number of pixels in the image (resolution) may change, which in turn could affect the file size.
  9. Does altering the resolution affect file size? Yes, altering the resolution of an image directly affects the file size. Higher resolution images have more pixels, which leads to larger file sizes. Reducing the resolution of an image will decrease the number of pixels and, consequently, the file size.

What is the role of an SVGs in Website Imagery

In the context of optimising website images, it’s essential to mention Scalable Vector Graphics (SVGs) as a powerful alternative to traditional raster images. SVGs are vector-based images, which means they are composed of mathematical equations rather than pixels. This unique characteristic offers several advantages for website images:

  1. Scalability without quality loss: Unlike raster images (JPEG, PNG, etc.), SVGs can be scaled up or down without any loss of quality, as their mathematical descriptions are resolution-independent. This makes SVGs an excellent choice for responsive designs, where images need to adapt to various screen sizes and resolutions. Perfect for website logo’s and icons.
  2. Smaller file sizes: As SVGs are vector-based, they often have smaller file sizes compared to raster images, especially for graphics with simple shapes or sharp lines (e.g., logos, icons, or illustrations). This smaller file size can help improve page load times and overall website performance.
  3. Easy to edit and style: SVGs can be easily manipulated and styled using CSS or JavaScript, allowing for greater flexibility and control over the appearance and behaviour of images on your website.

It’s worth noting that SVGs are not suitable for all types of images, as they may not provide satisfactory results for complex or highly detailed images, such as photographs. However, when used appropriately, SVGs can be a powerful tool for optimising image resolution and improving the overall performance of your website.


For those of you who learn visually here are a few sample images using the featured image of this article:

#1 Banner Image Variation:

  • 1200 x 750 Resolution
  • 1200 DPI
  • Compression Level: Medium
  • File Size: 440kb

#2 Banner Image Variation:

  • 1200 x 750 Resolution
  • 72 DPI
  • Compression Level: Medium
  • File Size: 452kb
Comparison #1/#2

Were you able to tell that one of the images has 94% less DPI?

#3 Banner Image Variation:

  • 600 x 375 Resolution
  • 3000 DPI
  • Compression Level: Medium
  • File Size: 177kb

#4 Banner Image Variation:

  • 600 x 375 Resolution
  • 72 DPI
  • Compression Level: High
  • File Size: 116kb (-35%)
Comparison #3/#4

Were you able to tell that one of the images has 97+% less DPI and was compressed a further 35%?

I’m guessing probably not, however if you were to print these out you would instantaneously know which one was which.


In conclusion, understanding the differences between DPI, resolution, and compression is essential for managing digital images effectively. While DPI is crucial for print materials, resolution is the primary concern for website images. Balancing image resolution, compression, and file size can help ensure optimal image quality and performance in various contexts. By prioritising resolution over DPI when dealing with website images and employing best practices for optimising image resolution, you can provide a seamless and visually appealing experience for your users.

Something in the article peaked your interest? We’re never more than a contact form or a quick call away so please don’t hesitate to get in touch!

27th March 2023
Understanding DPI, Resolution, and Compression - Avatar
Related Article
Free Consultation

Book a Call