pdfbox-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tilman Hausherr (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (PDFBOX-4582) PDJpeg should throw IOException if the image isn't a JPEG
Date Wed, 26 Jun 2019 15:56:00 GMT

     [ https://issues.apache.org/jira/browse/PDFBOX-4582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Tilman Hausherr resolved PDFBOX-4582.
-------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org


Mime
View raw message