Skip to content

PDF images not showing, or showing as black boxes: causes and fixes

By the getPDF team · Published 11 October 2026

The short answer

When a PDF’s pictures show as black or white boxes, or not at all, first open the file in a second viewer (a browser and a desktop app). If they show there, the file is fine and the first viewer cannot draw them, usually because of a picture format such as JPEG 2000 or of transparency. If they are missing everywhere, the picture data is damaged or hidden. Either way, Extract images takes out every picture that survives, and a copy made through PDF to JPG shows the same in every viewer.

The 2-minute test: 1 viewer or every viewer?

Everything depends on 1 question, so answer it first. Open the same file in 2 different programs: Chrome or Edge, and Acrobat Reader or macOS Preview, or the browser on your phone.

  • Pictures show in 1 viewer and not in another. The file is healthy. The viewer that fails cannot decode the picture’s format or draw its transparency. Causes 1 and 2 below.
  • Pictures are missing or broken in every viewer. The picture data is damaged, or a layer hides it. Causes 3 and 4.

Then look inside the file. Drop it on Inspect and read Why it is this size: Image formats names how each picture is stored, and Largest image gives its page and pixel size.

Inspect PDFFonts, images, metadata, why it is big. Free, runs on your device.
Image format in Inspect What it is Who has trouble with it
DCTDecode an ordinary JPEG almost nobody
FlateDecode lossless, like a PNG almost nobody
JPXDecode JPEG 2000, from some scanners and archives small and older viewers, some phone apps
JBIG2Decode black-and-white scans, packed very small small and older viewers
CCITTFaxDecode fax-style black-and-white scans rarely a problem

Cause 1: a picture format the viewer cannot decode

Scanners and document systems sometimes store pages as JPEG 2000 (JPXDecode) or JBIG2 (JBIG2Decode), because both make scans small. Full viewers such as Acrobat Reader and the PDFium engine in Chrome and Edge decode both. Lightweight viewers, preview panes, older apps and some phone readers do not, and they show an empty or black rectangle where the picture should be.

Tell: Inspect lists JPXDecode or JBIG2Decode, and the pictures show in Chrome but not in the viewer that fails.

Fix: open the file in a full viewer, or send a copy that any viewer can draw (see “Make a copy that shows everywhere” below).

Cause 2: transparency drawn wrong, the classic black box

A picture with a transparent background, such as a logo, a signature or a cut-out product photo, is stored in a PDF as 2 parts: the colours, and a mask that says which pixels are see-through. A viewer that ignores the mask draws the hidden part of the colours too, and that is very often solid black. Design apps that export with transparency effects (shadows, blending modes) cause the same symptom in older engines.

Tell: the black area has exactly the shape of the picture’s rectangle, and the picture looks right in Chrome or Acrobat.

Fix: same as cause 1. A flat copy has no transparency left to misread.

Cause 3: damaged picture data

When a picture’s data stops part way, because the file was cut short in a download or damaged on a disk, most viewers draw what they could decode and fill the rest with grey, or draw nothing. A typical sight: the top of a photo is fine, the bottom is a grey band.

Tell: the same picture is broken in every viewer. The file is often smaller than it should be; compare the size with the sender’s copy.

Fix: download the file again or ask for a fresh copy. The bytes that are missing are missing; fixing a broken PDF covers what can be saved from a damaged file.

Cause 4: the picture is there, but a layer hides it

A PDF can hold layers (optional content), and the file says which ones start visible. A picture on a hidden layer is in the file but drawn by nobody, and viewers that ignore layers may show or hide it differently. In Acrobat Reader, open the Layers panel in the left sidebar and switch the layer on.

Tell: Inspect counts the picture under Images, but no viewer shows it. Extract images still takes it out.

The 2 rescues

Take the pictures out

Extract images takes every picture out of the file as its own file, at its own resolution. Leave Format on As stored: JPEGs come out exactly as stored in the PDF, and every other picture (JPEG 2000, JBIG2, masked pictures) is decoded by PDFium and saved as a lossless PNG, which opens anywhere. Set Smallest to All if you want even tiny pictures. Several pictures arrive as a zip.

Try it here, nothing is uploaded

PDF · any size · many at once

This is also the proof of what is recoverable: whatever comes out of Extract images is intact in the file. If the PDF is a scan, each page is one picture, so you get the page scans.

Make a copy that shows everywhere

To send a file that displays the same in every viewer, turn the pages into pictures with PDF to JPG (150 dpi is the default; 200 to 300 for print), then put them back together with JPG to PDF. PDFium draws each page as Chrome does, JPEG 2000, JBIG2 and transparency included, and the new file holds nothing but ordinary JPEGs.

The other way is a viewer’s own print to PDF: open the file in the viewer that shows the pictures, print, and choose a PDF printer.

The honest part

  • A flat copy is pictures of pages. Text in the copy made through PDF to JPG is no longer selectable or searchable, and links are gone. Run OCR on it if the text must be searchable again, and keep the original.
  • Damage is partial by nature. Extract images returns what survives. Nothing reconstructs the missing half of a picture, and a damaged JPEG comes out as the same damaged JPEG.
  • getPDF does not change how a picture is stored on its own. There is no “convert JPEG 2000 to JPEG” button. Compress PDF re-encodes pictures as JPEG only when that makes them smaller, so it is not a reliable fix for format trouble; the flat copy is.

If whole pages are blank rather than single pictures, pages blank or missing in 1 viewer walks through the same split for pages. A picture that shows but looks soft is a resolution question, covered in why a PDF looks blurry.

Questions

Why does my PDF show black boxes instead of pictures?

Usually the viewer cannot draw the picture's transparency, or cannot decode its format (JPEG 2000 and JBIG2 are the common ones), and fills the space with black or nothing. Open the file in a second viewer: if the pictures show there, the file is fine and the first viewer is the problem.

The pictures show on my computer but not on my phone. Why?

Phone viewers use smaller drawing engines with less memory. A picture in a rarer format, or a very large one, is the first thing they skip. Send a copy made with PDF to JPG and JPG to PDF, or open the file in a browser on the phone.

Can I get the pictures out if the PDF will not show them?

Often, yes. Extract images takes every picture out at its own resolution: JPEGs exactly as stored, everything else decoded by PDFium, the engine Chrome uses, and saved as PNG. A picture that is damaged in the file comes out damaged.

Only the top half of a picture shows and the rest is grey. Can that be fixed?

That is a picture whose data stops part way: the file was cut short or damaged. The missing part is not in the file, so no tool can bring it back. Ask the sender for a fresh copy.

Does getPDF upload my PDF to check the pictures?

No. Inspect, Extract images and PDF to JPG run in your browser, on your device. Nothing is uploaded; once a tool has been used, it works with Wi-Fi off.

The tools for this job