I agree with you Thomas but a piece of code into this updated class fix the following bug (the one i described) :
  • The TIFF encoder cannot correctly write multiple pages per TIFF file.
  • This piece of code is principaly the following :

    // Recompute tile offsets from the size of the compressed tiles.
    // IFD offsets must be on a word boundary.
    if(nextIFDOffset % 2 != 0) {
        nextIFDOffset++;
        skipByte = true;
    }

    instead of :   skipByte = nextIFDOffset % 2 != 0;

    So, i don't mean to entirely use the updated TIFFImageEncoder class but just within piece of code that fixes the bug i described.

    Reply via email to