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

[PATCH] Invalid Color space preflight error on Java 8

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.6, 1.8.7, 2.0.0
    • Fix Version/s: 1.8.7, 2.0.0
    • Component/s: Preflight
    • Labels:

      Description

      java -cp pdf-box-svn/preflight/target/preflight-2.0.0-SNAPSHOT.jar:pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar:pdf-box-svn/xmpbox/target/xmpbox-2.0.0-SNAPSHOT.jar:lib/commons-io-1.3.1.jar org.apache.pdfbox.preflight.Validator_A1b expected.pdf

      Java 7:
      The file expected.pdf is a valid PDF/A-1b file

      Java 8:
      The fileexpected.pdf is not valid, error(s) :
      2.4.3 : Invalid Color space, The operator "G" can't be used without Color Profile

        Attachments

        1. expected.pdf
          29 kB
          simon steiner
        2. pdfavalidationjava8.patch
          1 kB
          simon steiner

          Activity

            People

            • Assignee:
              lehmi Andreas Lehmkühler
              Reporter:
              ssteiner1 simon steiner
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: