You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2017/01/19 16:21:26 UTC

[jira] [Resolved] (PDFBOX-3657) Image rendering fails (1 bit per component image)

     [ https://issues.apache.org/jira/browse/PDFBOX-3657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr resolved PDFBOX-3657.
-------------------------------------
       Resolution: Fixed
         Assignee: Tilman Hausherr
    Fix Version/s: 2.1.0
                   2.0.5

Indeed, thank you. I've added an extra check that the 1-bit fast path is only to be used if numComponents is 1.

> Image rendering fails (1 bit per component image)
> -------------------------------------------------
>
>                 Key: PDFBOX-3657
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3657
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.4
>         Environment: Windows 10
>            Reporter: Ch. Schlatter
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.5, 2.1.0
>
>         Attachments: p391.jpg, p39.pdf
>
>
> I'm trying to extract an image from a pdf. But somehow PDFBox makes  a mess with the image components. I've attached the PDF page and the output image (Converted with PDFBox-PDFToImage 2.0.4) Perhaps there is a bug in the SampledImageReader?



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

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