Tilman Hausherr created PDFBOX-4582:
---------------------------------------

             Summary: PDJpeg should throw IOException if the image isn't a JPEG
                 Key: PDFBOX-4582
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4582
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel, Rendering
    Affects Versions: 1.8.16
            Reporter: Tilman Hausherr
            Assignee: Tilman Hausherr
             Fix For: 1.8.17


This code doesn't abort:
{code}
new PDJpeg(new PDDocument(), new FileInputStream("image.png"));
{code}
This is misleading for newbies, see PDFBOX-4556.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to