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

Andreas Lehmkühler edited comment on PDFBOX-1220 at 2/4/12 11:58 AM:
---------------------------------------------------------------------

I fixed that in revision 1240494.

In some case it doesn't work to call ImageIO.write directly. PDJpeg and 
PDPixelMap are now using ImageIOUtil to call ImageIO indirectly which works 
like a charm.

Thanks for the report!
                
      was (Author: lehmi):
    I fixed that in revision 1240494.

In some case it doesn't work to call ImageIO.write directly. PDJpeg and 
PDPixelMap are now using ImageIOUtil to call ImageIO indirectly which works 
like a charm.
                  
> CMYK image cannot be extracted (empty file generated)
> -----------------------------------------------------
>
>                 Key: PDFBOX-1220
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1220
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Daniel Bonniot de Ruisselet
>            Assignee: Andreas Lehmkühler
>              Labels: CMYK
>             Fix For: 1.7.0
>
>         Attachments: PDFBOX1220-WO2011140338-Page251.png, 
> Screenshot-evince-WO2011140338 Page25.PDF.png, WO2011140338-Page25.pdf, 
> WO2011140338-Page251.png
>
>
> Extracting the attached PDF with the following command:
> java -jar app/target/pdfbox-app-1.7.0-SNAPSHOT.jar PDFToImage -imageType png 
> /tmp/WO2011140338-Page25.pdf
> This generates image WO2011140338-Page251.png (attached).
> This is a great improvement over pdfbox 1.6.0, which generates four copies of 
> the image (maybe because of the CMYK encoding?). Well done!
> However the image is still of quite poor quality, apparently lower than the 
> actual image data in the PDF, when displayed with acrobat reader or evince 
> 2.32.0 (screenshot attached too). It would be great if that could be fixed 
> too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to