Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,12 @@ private static void extractFromTiff(RandomAccessRead reader,
{
throw new IOException("CCITT Group 3 'fill bits before EOL' is not supported");
}
if ((val & 8) != 0)
{
// rows are byte-aligned; the copied compressed stream keeps that
// alignment, so the PDF decoder must be told about it too
params.setBoolean(COSName.ENCODED_BYTE_ALIGN, true);
}
break;
}
case 324:
Expand Down