Guide

Images: The Usual Reason a PDF Is Too Large

Understand image resolution, DPI, downsampling, and JPEG quality so you can shrink the pictures inside a PDF without making them look bad.

Key takeaways

  • Pictures are almost always the heaviest content in a PDF.
  • DPI is a relationship between pixel count and displayed size: 600 pixels across 2 inches is 300 DPI.
  • Downsampling reduces pixels and cannot be undone in that copy; keep the original.
  • Use lossy compression for photographs and lossless for flat graphics and sharp-edged screenshots.
  • Ghostscript's presets target 72, 150 and 300 dpi for color images, a useful reference for screen, ebook and printer output.

If you only remember one thing about PDF size, make it this: pictures are almost always the heaviest content. A page of text might take a few kilobytes, while one unoptimized photograph can take several megabytes. Learning how images are stored in a PDF, and which settings control their weight, gives you the most powerful lever for reducing file size.

What are pixels, resolution and DPI?

A digital image is a grid of pixels. The more pixels it has, the more data it needs. Resolution describes how densely those pixels are packed when the image is shown at a particular physical size, and it is usually measured in dots per inch, or DPI (sometimes written PPI for pixels per inch). If an image is printed two inches wide and contains six hundred pixels across that width, its effective resolution is three hundred DPI.

The crucial point is that DPI is a relationship between pixel count and displayed size, not a property of the image on its own. A photograph with thousands of pixels across, placed in a small box on a page, has a very high effective DPI. That is far more detail than the page can use, and the extra pixels are pure weight.

How much resolution do you really need?

The right target depends on where the PDF will be seen:

  • Reading on a screen: a modest effective resolution is typically enough, because screens show far fewer pixels per inch than a printer.
  • Everyday office printing: a middle setting is generally sufficient for documents containing photographs.
  • Professional or commercial printing: keep higher resolution, because press work shows detail that a desk printer hides.

These are general ranges rather than strict rules, and the sensible choice depends on the image content and viewing distance. For a concrete reference, Ghostscript's documented presets target 72 dpi for color images in screen mode, 150 in ebook mode and 300 in printer and prepress modes, with a downsample threshold of 1.5 in each preset. Fine line drawings, small text inside screenshots, and detailed diagrams may need more pixels than a soft-focus photograph to stay crisp.

Resolution targets in Ghostscript's presets

PresetColor images (dpi)Grayscale images (dpi)Monochrome images (dpi)
screen7272300
ebook150150300
printer3003001200
prepress3003001200

Downsampling: throwing away pixels you never needed

Downsampling reduces the number of pixels in an image. A program takes groups of neighboring pixels and combines them into fewer, larger ones. If the original was far denser than the destination requires, the change is hard to see, but the data shrinks dramatically. Most PDF-saving options, in office programs, design programs, and PDF editors, include a downsampling setting that lets you choose a target resolution and a threshold above which it applies.

Because downsampling is lossy, it cannot be undone. Once pixels are merged, the original detail is gone from that copy of the file. This is another reason to keep your original document and produce a reduced copy.

Different resampling methods exist, and they give slightly different looks. Some average neighboring pixels smoothly, others pick representative pixels, and others weigh surrounding pixels more carefully. If a tool offers a choice, the smoother averaging approaches tend to suit photographs, while approaches that keep edges crisper can suit screenshots and diagrams.

How does compression change image size?

After the pixel count is settled, images are compressed. There are two broad families:

  • Lossless compression stores the pixels exactly and simply packs them more efficiently. It is ideal for logos, flat-color graphics, and screenshots with sharp edges. Savings are real but limited on photographs.
  • Lossy compression, most familiar as JPEG, discards information the eye is least likely to miss. It is very effective on photographs and shrinks them far more than lossless methods can.

JPEG quality is usually presented as a scale or as named levels such as low, medium, and high. Lower quality means smaller files but more visible artifacts: blockiness, blurred edges, and muddy color transitions. The relationship is not linear. Moving from maximum quality down a few steps often saves a great deal with little visible change, while pushing to the lowest settings tends to cost a lot of visual quality for comparatively little extra saving.

Beware of compressing twice

Each time an image is re-compressed with a lossy method, it can lose more quality. If a photo that was already saved as a low-quality JPEG is compressed again inside a PDF, artifacts can stack up. Where possible, start from the best source image you have and let the final export do the compression once.

How does color mode affect size?

Color mode also matters. A full-color image carries more data per pixel than a grayscale one, and a black-and-white image (one bit per pixel) is lighter still. If a page does not need color, such as a scanned text letter, converting to grayscale or pure black and white can cut size substantially. Be careful with this conversion on anything where color carries meaning, like charts with colored categories.

Practical steps for images in an existing PDF

  • Open the options of your PDF editor or the save-as-reduced-size function and look for separate settings for color, grayscale, and monochrome images.
  • Set a target resolution appropriate to the destination, and apply downsampling only to images above a certain density.
  • Choose lossy compression for photographs at a medium-high quality, and lossless for graphics with flat colors and crisp edges.
  • Preview the result at the zoom level readers will actually use, and compare a few of the most detailed pages with the original.
  • If it is still too large, reduce further in small steps rather than jumping to the lowest option.

Can I fix image size at the source?

When you still have the original document, the cleaner solution is often to shrink the images before they ever reach the PDF. Resize photographs to the dimensions they will occupy, crop away unused edges, and save them with moderate quality. Cropping inside a layout program usually only hides the unwanted area while the whole picture remains stored, so crop in an image editor, or use a function that offers to discard the cropped areas.

Also avoid pasting oversized screenshots at a fraction of their natural size. A screenshot captured on a high-density display can contain many times the pixels a page will show. Capturing a smaller region, or scaling it down before inserting, keeps the file lean.

What are the signs of going too far?

  • Text inside images turns fuzzy or develops halos.
  • Smooth gradients show visible bands or blocks.
  • Thin lines in diagrams look broken or uneven.
  • Faces and skin tones look blotchy.

When you notice any of these, back off one step. A readable, slightly larger file beats a tiny one nobody can decipher.

Images deserve the most attention because they offer the largest savings with the least effort. Combined with a clear idea of where the document will be viewed, sensible resolution and quality settings turn most bloated PDFs into comfortable ones.

Sources and further reading

Frequently asked questions

What DPI should I choose when reducing a PDF?

It depends on the destination. Screen reading needs less resolution than printing, and commercial printing needs the most. Start moderate, preview the result, and adjust.

Is downsampling reversible?

No. Once pixels are merged the lost detail cannot be recovered from that copy, so always keep the original file.

Should I use lossless or lossy compression for images?

Use lossy compression, such as JPEG, for photographs, and lossless compression for logos, flat-color graphics, and sharp-edged screenshots.

Does cropping an image in a layout program reduce the PDF size?

Often not, because the hidden part may still be stored. Crop in an image editor or choose an option that discards cropped areas.

All guides