Skip to content
This repository was archived by the owner on Nov 9, 2020. It is now read-only.
This repository was archived by the owner on Nov 9, 2020. It is now read-only.

PdfBleach: improve magic header detection #27

@ghost

Description

On the PDF reference manual, the file header section stipulates that:

Acrobat viewers require only that the header appear somewhere within
the first 1024 bytes of the file.

In the same section, we also notice that:

Acrobat viewers also accept a header of the form %!PS−Adobe−N.n PDF−M.m

Since the user can be able to open correctly the file in his PDF viewer, it should be made sure that docbleach will handle these documents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions