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

John Hewson commented on PDFBOX-2587:
-------------------------------------

This commit detects embedded sRGB profiles and uses Java's built-in CS_sRGB 
ColorSpace instead. As we work in sRGB natively, this allows Java to detect 
that the source and destination color spaces are the same and so avoid the 
expensive color conversion operation in toRGBImageAWT(). It also has the effect 
of caching all sRGB color profiles, which speeds up loadICCProfile() 
dramatically for sRGB.

> PDF takes minutes to convert
> ----------------------------
>
>                 Key: PDFBOX-2587
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2587
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: simon steiner
>         Attachments: RamDiskTest1.pdf
>
>
> time java -cp 
> lib/jai_imageio.jar:/home/simon/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar
>  org.apache.pdfbox.tools.PDFToImage RamDiskTest1.pdf 
> real  2m40.462s



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to