Fix #334: Writing compressed multipage TIFF

This commit is contained in:
Oliver Schmidtmer 2017-07-28 13:23:14 +02:00
parent 86fa76c17d
commit 22e7b21510

View File

@ -923,6 +923,7 @@ public final class TIFFImageWriter extends ImageWriterBase {
} }
if (sequenceLastIFDPos > 0) { if (sequenceLastIFDPos > 0) {
imageOutput.seek(imageOutput.length());
imageOutput.flushBefore(sequenceLastIFDPos); imageOutput.flushBefore(sequenceLastIFDPos);
} }