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

JPEG image with transparency can't be extracted

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.18
    • 2.0.19, 3.0.0 PDFBox
    • Utilities
    • None

    Description

      See TIKA-3040, "javax.imageio.IIOException: Bogus input colorspace" when trying to save /DCTDecode encoded image that has a mask, because JPEG images can't have alpha.

      I need to think about this a bit, but we'll probably have to save it as a PNG image.

      Attachments

        Issue Links

          Activity

            People

              tilman Tilman Hausherr
              tilman Tilman Hausherr
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: