Skip to content

Does pymupdf cut the pdf by the page of file? Or it separate the pdf file by it own rules? #3395

@HuXinjing

Description

@HuXinjing

I use pymupdf to handle my pdf file, but I find fitz.open() give me more pages than the file does. So in what kind of situation the program will divide the original page? And I feel confused, if the program do not divide the file by it orignal order of pages, will page.get_pixmap(matrix=mat, alpha=False, clip=clip) work correctly?

example here
FOMC19900207meeting.pdf
This file has 58 pages, but I got 84 from len(fitz.open(input))

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions