You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Adam Nichols (JIRA)" <ji...@apache.org> on 2011/03/02 03:06:37 UTC

[jira] Commented: (PDFBOX-927) Problem on writing some kind of images to a File in filesystem

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

Adam Nichols commented on PDFBOX-927:
-------------------------------------

What do you mean when you say it is "wrongly rendered"?  Can you post a screenshot of the image before and after corruption?  Also, if you have the image before it was included, compare that the the one which was extracted and see what is changing.  This could help us track down what the issue is and if its in PDFBox or in one of its dependencies.

> Problem on writing some kind of images to a File in filesystem
> --------------------------------------------------------------
>
>                 Key: PDFBOX-927
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-927
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.2.1, 1.3.1, 1.4.0
>         Environment: JDK5 / 6
>            Reporter: JOSE FREITAS
>            Priority: Minor
>         Attachments: ExtractImages.java, test with pdindexed.pdf
>
>
> I have an image object which is an instance of PDXObjectImage.
> If it has PDIndexed as colorspace.
>  
> "image.getColorSpace() instanceof PDIndexed"
> the image is wrongly rendered.
> Is there any known issue with this colorSpace?
> I think the problem could be at:
> image.write2file(...) or 
> image.write2OutputStream(...);

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira