Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-3087

Metadata stream should not be compressed

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.10, 1.8.11, 2.0.0
    • Fix Version/s: 1.8.11, 2.0.0
    • Component/s: Utilities
    • Labels:
      None

      Description

      In the 32000 PDF spec, in "14.3.2 Metadata Streams" it is almost suggested not to compress metadata, because

      PDF documents are often made available on the Web or in other environments, where many tools routinely examine, catalogue, and classify documents. These tools should be able to understand the self-contained description of the document even if they do not understand PDF.

      The implementation of PDMetadata produces an uncompressed metadata, but PDFMergerUtility saves compressed metadata. This breaks a required PDF/A-1b property. (happened at work today)

        Attachments

          Activity

            People

            • Assignee:
              tilman Tilman Hausherr
              Reporter:
              tilman Tilman Hausherr
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: