[
https://issues.apache.org/jira/browse/PDFBOX-1989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr resolved PDFBOX-1989.
-------------------------------------
Resolution: Fixed
Done in rev 1578481.
> Save LZW and other encoded PDImageXObject resources
> ---------------------------------------------------
>
> Key: PDFBOX-1989
> URL: https://issues.apache.org/jira/browse/PDFBOX-1989
> Project: PDFBox
> Issue Type: Improvement
> Components: PDModel
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Priority: Minor
> Fix For: 2.0.0
>
>
> The "logo" image of the file from PDFBOX-1147.png isn't extracted because
> PDImageXObject.getSuffix() returns null. Changing getSuffix() so that it
> returns png brings us a correct file.
> With some other images, e.g. the raw_image_demo.pdf file, getSuffix() brings
> an NPE when getPDStream().getFilters() returns null. This happens with images
> that are uncompressed. Returning "png" for this case also brings us a nice
> image.
--
This message was sent by Atlassian JIRA
(v6.2#6252)