Hi,

We are trying to import a PDF that is a CCITT Fax PDF.  For some of our
files we are importing, DecodeParams does not specify a K value.

in org.apache.pdfbox.filter.CCITTFaxDecodeFilter, line 85 int k =
decodeParms.getInt(COSName.K);

following that through we find that getInt() without a default value
specified defaults to -1.  According to the Adobe PDF specification
however, the default K value is 0.

So i believe that line 85 should read:
int k = decodeParams.getInt(COSName.K, 0);

-- 
Jamie Dougal
CANdata Systems Ltd.
416-493-9020 x2417
Direct: 416-855-2417

Reply via email to