DPI on a JPEG or PNG is a print-density instruction stored inside the file's metadata that tells layout programs and printers how many pixels should be placed in each physical inch of output, and changing it does not add new pixels or improve the image's actual detail. A 3000-by-2400 pixel image stays 3000 by 2400 pixels regardless of whether the file is labeled 72 DPI or 300 DPI; only the intended print size that downstream software calculates from that label changes. The DPI value is one small block of metadata that programs read when they compute a physical size, and that block is exactly what tools like the Image DPI Changer write or rewrite without touching the image data underneath.

how to change image dpi in illustrator
Change Image DPI in Illustrator Without Re-encoding

What DPI Actually Means on a JPEG or PNG

A JPEG stores print density in its JFIF APP0 segment using two small numbers, Xdensity and Ydensity, measured in dots per inch. A PNG stores the same idea in a pHYs chunk using an integer pixels-per-metre value, which the W3C PNG specification defines as the only portable way to record physical pixel size in a PNG. In both cases the numbers are a hint, not a measurement of how sharp the picture is. The image already has a fixed number of pixels, and the DPI simply tells downstream software how to map those pixels onto paper or into a layout.

This is why a 72 DPI photo on a website is not necessarily worse than a 300 DPI scan of the same scene. Web browsers render images at the size set by HTML or CSS, so they usually ignore the DPI field entirely. Printers, page-layout programs, and export pipelines read the field and use it to compute a physical size; if the value is wrong for the workflow, the result prints too small, too large, or with the wrong density for the ink and paper.

How Illustrator Reads and Uses Image DPI

Adobe Illustrator is a vector editor, so the DPI label on an Illustrator document is a separate concept from the DPI label on a placed JPEG or PNG. When you place a bitmap image on an artboard, Illustrator reads the file's stored DPI and shows a physical size next to the bounding box. A 3000-by-2400 pixel JPEG labeled 300 DPI appears as a 10-by-8 inch placement; the same file labeled 72 DPI appears as a much larger placement because Illustrator is dividing the pixel count by the metadata value.

Inside an Illustrator document, the document's own raster-effect resolution lives in Effect > Document Raster Effects Settings. That value controls how raster effects such as drop shadows, inner glows, and textured fills are baked into the file when you flatten transparency, and it is also the default resolution used when a placed raster image is rasterized inside Illustrator. Changing this value does not rewrite DPI metadata inside a JPEG or PNG that has already been placed; it only changes how Illustrator computes sizes and how it renders raster effects for that one document.

Changing DPI Through Illustrator's Export Settings

When you export a placed image or an Illustrator composition to JPEG or PNG, Illustrator offers a resolution field that writes DPI into the exported file. To set it for an existing image without touching your document, place the file on the artboard, select it, and use File > Export > Export As. Choose JPEG or PNG, then look for the Resolution or ppi field in the options dialog and pick a value such as 150, 300, or 600.

This export path is useful, but it has two side effects that matter for print prep. First, Illustrator re-encodes the image: a JPEG is rebuilt through a fresh encode, and any PNG is recompressed through Illustrator's own rasterizer, which can subtly change the byte stream and any lossy compression. Second, when the chosen resolution does not match the source pixel count, Illustrator resamples the image during export to fit, which actually changes the pixel dimensions of the resulting file. For a print provider who only needs the right metadata on the original file, that re-encoding is more change than the job requires.

Setting Image DPI Locally Without Opening Illustrator

For projects where the source file already has the right pixel count and only needs the metadata updated, the cleanest path is to skip Illustrator entirely and write the DPI field directly into the JPEG or PNG. A local browser tool can read the existing JFIF or pHYs block, accept a whole-number DPI such as 72, 150, 300, or 600, and download a copy of the file with the new field in place. The pixels and the compressed image bytes are copied as-is, so the file you download is identical to the file you started with except for that small block of metadata.

This approach is useful when a print provider asked for 300 DPI on a file you already exported at 72, when you want to match a paper size without enlarging the image, or when a layout template expects a specific density label. It also keeps the original compressed stream intact, which matters when the file came from a camera, a scan, or a previous lossless save and you do not want another lossy pass.

How to Update Image DPI With the Image DPI Changer

  1. Choose one JPEG or PNG up to 25 MiB on the Image DPI Changer page and review the detected print-density metadata that the page reports after it inspects the file's signature and header.
  2. Enter a whole-number target DPI, such as 72, 150, 300, or 600; this number updates the print-density instruction in the file's JFIF or pHYs block and does not change pixel dimensions.
  3. Select Update image DPI, download the local copy the page creates, and verify the intended size by opening the downloaded file in Illustrator's Place dialog or in the destination layout program.

Why the Pixels Stay the Same After a DPI Update

Metadata-only tools work because the DPI field and the pixel grid are stored separately. In a JPEG, the JFIF APP0 segment sits near the start of the file, before the compressed scan data, and the W3C JFIF 1.02 specification defines the bytes for units, Xdensity, and Ydensity. In a PNG, the pHYs chunk appears among the ancillary chunks and uses an integer pixels-per-metre field followed by a unit byte. Writing to either location does not require decoding and re-encoding the pixel data, so the file's compressed bitstream is preserved.

The practical consequence is that the same JPEG file labeled 72 DPI becomes the same compressed bitstream labeled 300 DPI, with no resampling, no sharpening, no cropping, and no quality loss from a second JPEG encode. A PNG readback can show a value that differs from the requested DPI by a tiny rounding fraction because PNG stores an integer number of pixels per metre and the conversion between metres and inches is not perfectly representable; that is a storage precision limit, not a change in the actual image pixels.

Choosing the Right DPI for Your Print or Layout Goal

Pick a DPI from the physical size you want and the pixel count you already have. The relationship is pixels divided by DPI equals inches. A 3600 pixel wide image intended for a 12 inch print is 300 DPI, because 3600 pixels divided by 300 DPI equals 12 inches. For a larger print of the same source pixels the DPI value drops, and for a smaller print it rises; the pixel count never changes and no DPI value can invent new detail.

For most color photographic print work at hand-out size, 300 DPI is the usual target. For large-format posters viewed from a distance, 150 DPI is often enough. For draft proofs and contact sheets, 72 DPI matches typical screen rendering and keeps the file's printed footprint aligned with its on-screen size. When a print provider specifies pixel count, export profile, bleed, or file format, follow that provider's documented requirements instead of trusting a single DPI label.

DPI valueTypical use caseEffect on the same pixel grid
72Screen reference, on-screen proofingLargest physical print size from the same pixels
150Draft prints, large posters viewed from a distanceMid-size physical print, modest pixel density
300Standard photo and document print at hand-out sizeSmaller physical print, denser pixels per inch
600Fine art, detailed line work, small printsSmallest physical print from the same pixels

For projects where the printed size is fixed and the pixel count needs to change to match it, a metadata-only update is the wrong tool and a true resize is needed; the related guide on converting DPI with a formula walks through that distinction in more detail. When the pixels are already right and only the metadata needs to follow, an in-place DPI update keeps the file clean and verifiable.

Verifying the Updated DPI in the Destination Workflow

After downloading the updated file, confirm the result in the program that will print or lay out the image. Open the file in Illustrator's File > Place dialog and read the reported physical size; it should now reflect the new DPI value against the same pixel dimensions. If the layout program reads a different DPI than the one you set, that program may be reading an EXIF, XMP, or vendor extension that the focused metadata tool did not rewrite. In that case, strip the conflicting metadata or set the placement size manually inside the layout program.

The downloaded copy from the Image DPI Changer keeps the original compressed image data intact, so the file behaves like the original on disk except for the DPI label. Test small text, edges, and photos at the final output dimensions before approving a print run; a metadata update cannot compensate for insufficient source pixels, and no DPI value will turn a low-resolution scan into a high-resolution print.