Alexey Gavrilov created PDFBOX-1475:
---------------------------------------

             Summary: Exception thrown if /DecodeParms specified indirectly (as 
[9 0 R])
                 Key: PDFBOX-1475
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1475
             Project: PDFBox
          Issue Type: Bug
          Components: PDModel
    Affects Versions: 1.7.1, 1.7.0
         Environment: Not important
            Reporter: Alexey Gavrilov


There are 2 objects in PDF.
. . .
Object 7:
<<
        
        /Type /XObject
        /Subtype /Image
        /Width 2496
        /Height 3504
        /BitsPerComponent 1
        /ColorSpace /DeviceGray
        /Filter [/CCITTFaxDecode]
        /DecodeParms [9 0 R]
        /Length 10 0 R
>>
. . .
Object 9:
<<
        
        /Columns 2496
        /Rows 3504
        /K -1
        /BlackIs1 false
>>
. . .

when rendering the page exception is thrown as the library doesn't resolve 
indirect reference to object 9 for /DecodeParms.

I can specify what is to be changed in CCITTFaxDecoderFilter.java and 
PDCcitt.java to resolve the issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to