[
https://issues.apache.org/jira/browse/PDFBOX-1220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Bonniot de Ruisselet reopened PDFBOX-1220:
-------------------------------------------------
Thank you, you are right, using a higher resolution gives a good quality.
However there is still a problem if I try to extract the image:
{noformat}
dbonniot@linux-64-oscar3:~/world/pdfbox-trunk$ java -cp
app/target/pdfbox-app-1.7.0-SNAPSHOT.jar org.apache.pdfbox.ExtractImages
/tmp/WO2011140338-Page25.pdf
Writing image:/tmp/WO2011140338-Page25-1
Feb 2, 2012 11:41:44 PM org.apache.pdfbox.pdmodel.graphics.color.PDSeparation
createColorModel
INFO: About to create ColorModel for DeviceCMYK{ }
dbonniot@linux-64-oscar3:~/world/pdfbox-trunk$ ls -l /tmp/WO2011140338-Page25-*
-rw-r--r-- 1 dbonniot chemaxon 0 Feb 2 23:41 /tmp/WO2011140338-Page25-1.png
{noformat}
As you can see the generated file is empty, and there is no warning or error.
> Low quality in extracted CMYK image
> -----------------------------------
>
> 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
> 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