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

Tilman Hausherr commented on PDFBOX-5488:
-----------------------------------------

The cause is that {{getAdobeTransform()}} returns 0 without throwing an 
exception although it is a YCbCr image so we should look up that one as well
{code}
<?xml version="1.0" encoding="UTF-8"?>
<javax_imageio_1.0>
  <Chroma>
    <ColorSpaceType name="YCbCr"/>
    <NumChannels value="4"/>
  </Chroma>
  <Compression>
    <CompressionTypeName value="JPEG"/>
    <Lossless value="FALSE"/>
    <NumProgressiveScans value="1"/>
  </Compression>
  <Dimension>
    <PixelAspectRatio value="1.0"/>
    <ImageOrientation value="Normal"/>
    <HorizontalPixelSize value="0.16933332"/>
    <VerticalPixelSize value="0.16933332"/>
  </Dimension>
  <Transparency>
    <Alpha value="nonpremultipled"/>
  </Transparency>
</javax_imageio_1.0>
{code}

> JPEG image rendered with wrong colors when using TwelveMonkeys
> --------------------------------------------------------------
>
>                 Key: PDFBOX-5488
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5488
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.26
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Major
>             Fix For: 2.0.27, 3.0.0 PDFBox
>
>         Attachments: gre_research_validity_data.pdf
>
>
> File from 
> https://www.ets.org/Media/Tests/GRE/pdf/gre_research_validity_data.pdf and 
> reported by Daniel in the mailing list 
> https://lists.apache.org/thread/nsc115f3hwm9sgtq7ot5o8qnc2tqxgp6



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to