pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stahle, Patrick" <patrick.sta...@te.com>
Subject Strange file problem with CCITTFactory.createFromFile with tiff files with 'FillOrder=2'
Date Wed, 22 Jun 2016 15:03:03 GMT
Hi All,

I am using the latest PDFBox 2.0.2 version.

When I attempt to convert a Tiff file that so happens to have 'FillOrder=2' with the following
command:
DImageXObject ximage = CCITTFactory.createFromFile(document, tiffIn, pdfPageNum);

It throws the Exception:
                'FillOrder 2 is not supported'

Which I may not like, but I understand why that is the case.

But I am also seeing the source tiff file is also getting corrupted and is no longer good
tiff file.

As an example:

File listing before command above run -               '-rwxrwxr-x. 1 us083485 us083485 229K
Jun 22 10:32 ENG_CR_1418637-DBAG_A5.tif'
File listing after above command has run-             '-rwxrwxr-x. 1 us083485 us083485 230K
Jun 22 10:42 ENG_CR_1418637-DBAG_A5.tif'

Is this a bug, or am I doing something wrong?

Thanks,
Patrick


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message