[
https://issues.apache.org/jira/browse/PDFBOX-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13938571#comment-13938571
]
John Hewson commented on PDFBOX-1969:
-------------------------------------
Ok, well if someone really wants support for JPEGs which use ARGB we can follow
up on this, given that it has probably never worked (quite a bit of the 1.8
image parsing code was like that).
> JPEGFactory bug
> ---------------
>
> Key: PDFBOX-1969
> URL: https://issues.apache.org/jira/browse/PDFBOX-1969
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Steven Burg
> Fix For: 2.0.0
>
>
> Attempted to run the RubberStampWithImage sample and received the following
> errors:
> Exception in thread "main" java.lang.NullPointerException
> at
> org.apache.pdfbox.pdmodel.graphics.image.JPEGFactory.createFromStream(JPEGFactory.java:72)
> at
> org.apache.pdfbox.examples.pdmodel.RubberStampWithImage.doIt(RubberStampWithImage.java:93)
> at
> org.apache.pdfbox.examples.pdmodel.RubberStampWithImage.main(RubberStampWithImage.java:185)
> This happens with any jog I tested with.
--
This message was sent by Atlassian JIRA
(v6.2#6252)