[ 
https://issues.apache.org/jira/browse/PDFBOX-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13942231#comment-13942231
 ] 

Tilman Hausherr commented on PDFBOX-1969:
-----------------------------------------

I added did some refactoring of the tests per DRY, in rev 1579729. And I added 
a comment that the current extraction of the alpha part just doesn't work, and 
why.

> 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)

Reply via email to