Skip to content

Can't extract images for this PDF #3936

@bbfrog

Description

@bbfrog

Description of the bug

Monaleesa_full.pdf
Pymupdf can't extract images in page 2 and page 4 of this pdf.

How to reproduce the bug

import pymupdf
doc = pymupdf.open('Monaleesa_full.pdf')

page_num = 0
for page in doc:
  page_num += 1
  images = page.get_images(full=True)
  print(f'page {page_num}: {len(images)} images')

PyMuPDF version

1.24.11

Operating system

MacOS

Python version

3.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    not a bugnot a bug / user error / unable to reproduce

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions