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

Dushyanth Balasubramanian commented on PDFBOX-4873:
---------------------------------------------------

Thanks for the response [~tilman] Looks like you made some fix in version 
2.0.21 correct?

Again I cannot extract any image from the PDF and submit it as they are 
customer's data. Thanks!

> java.awt.color.CMMException: Can not access specified profile.
> --------------------------------------------------------------
>
>                 Key: PDFBOX-4873
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4873
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel, Rendering
>    Affects Versions: 2.0.19
>            Reporter: Dushyanth Balasubramanian
>            Priority: Major
>
> java.awt.color.CMMException: Can not access specified 
> profile.java.awt.color.CMMException: Can not access specified profile.
>  at sun.java2d.cmm.lcms.LCMS.getProfileSizeNative(Native Method) at 
> sun.java2d.cmm.lcms.LCMS.getProfileSize(LCMS.java:68) at 
> java.awt.color.ICC_Profile.getData(ICC_Profile.java:1330) at 
> com.twelvemonkeys.imageio.color.ColorSpaces.getProfileHeaderWithProfileId(ColorSpaces.java:147)
>  at 
> com.twelvemonkeys.imageio.color.ColorSpaces.createColorSpace(ColorSpaces.java:135)
>  at 
> com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.readImageAsRasterAndReplaceColorProfile(JPEGImageReader.java:413)
>  at 
> com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageReader.read(JPEGImageReader.java:388)
>  at org.apache.pdfbox.filter.DCTFilter.decode(DCTFilter.java:91) at 
> org.apache.pdfbox.cos.COSInputStream.create(COSInputStream.java:84) at 
> org.apache.pdfbox.cos.COSStream.createInputStream(COSStream.java:246) at 
> org.apache.pdfbox.pdmodel.common.PDStream.createInputStream(PDStream.java:241)
>  at 
> org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.createInputStream(PDImageXObject.java:776)
>  at 
> org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.from8bit(SampledImageReader.java:373)
>  at 
> org.apache.pdfbox.pdmodel.graphics.image.SampledImageReader.getRGBImage(SampledImageReader.java:226)
>  at 
> org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:479)
>  at 
> org.apache.pdfbox.pdmodel.graphics.image.PDImageXObject.getImage(PDImageXObject.java:460)
>  at org.apache.pdfbox.rendering.PageDrawer.drawImage(PageDrawer.java:1130) at 
> org.apache.pdfbox.contentstream.operator.graphics.DrawObject.process(DrawObject.java:67)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processOperator(PDFStreamEngine.java:875)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStreamOperators(PDFStreamEngine.java:509)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processStream(PDFStreamEngine.java:483)
>  at 
> org.apache.pdfbox.contentstream.PDFStreamEngine.processPage(PDFStreamEngine.java:156)
>  at org.apache.pdfbox.rendering.PageDrawer.drawPage(PageDrawer.java:270) at 
> org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:321) at 
> org.apache.pdfbox.rendering.PDFRenderer.renderImage(PDFRenderer.java:243) at 
> org.apache.pdfbox.rendering.PDFRenderer.renderImageWithDPI(PDFRenderer.java:229)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to