{
  "id": 5893210,
  "title": "What's actually inside an image's DPI tag (and why changing it is lossless)",
  "url": "https://urgent.news/2026/09/06/whats-actually-inside-an-images-dpi-tag-and-why-changing-it-is",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-06T02:56:22.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/caseymarlin/whats-actually-inside-an-images-dpi-tag-and-why-changing-it-is-lossless-57pb"
  },
  "original_language": "en",
  "account": "The DPI tag in an image file is a piece of metadata that indicates the printer's suggested density, not the actual resolution or pixel dimensions. This tag can be found in different formats, such as JPEG, PNG and TIFF, and it lives in a header segment or chunk. When you change the DPI value in the tag, it doesn't affect the actual pixels or compressed data in the image. The only impact is on how the image is interpreted when it's printed. For example, a file with a 72 DPI tag can be printed at 8 x 10 inches, while the same file with a 300 DPI tag can be printed at 10 x 13.33 inches. The pixels remain the same, and the image's sharpness is unaffected as long as the physical size is what the tag suggests. The confusion often arises because most image editing software doesn't just change the tag, but also resizes and resamples the image, which can lead to a loss in quality.",
  "summary": "A print shop rejected a 4000 × 2667 px photo last week because the file \"was only 72 DPI\". The photo had more than enough pixels for the 8 × 10 in print they were making — at 300 DPI that size only needs 2400 × 3000. Nothing about the image was wrong. One integer in the file header was. This post is about where that integer lives, byte by byte, and why rewriting it doesn't touch a single pixel.…",
  "key_points": [
    "DPI tag indicates printer's suggested density, not actual resolution",
    "Changing DPI value in tag doesn't affect actual pixels or compressed data",
    "Only impact is on how image is interpreted when printed"
  ],
  "editors_take": "Changing an image's DPI tag only affects its printed size, not the pixels or quality, as long as no additional resizing or resampling is done by image editing software.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}