Jeremias Maerki <> changed:

           What    |Removed                     |Added
            Version|0.95                        |1.0

--- Comment #4 from Jeremias Maerki <> 2010-09-02 03:10:21 
EDT ---
The actual exception:

        case DataBuffer.TYPE_INT:
        case DataBuffer.TYPE_FLOAT:
            if(sampleSize[0] != 32) {
                throw new Error("TIFFImageEncoder4");

Ugly as hell but this has been so since TIFFImageEncoder has been introduced
into Batik. Anyway, the error probably happens because INT is used as sample
carrier but I assume the sample size is only 24 bits.

One change that happened from 0.95 to 1.0 was the introduction of the new
intermediate format so that TIFF output is now handled by TIFFDocumentHandler
instead of TIFFRenderer by default, but both classes use the same ImageWriter
API from XML Graphics Commons. The default color type (RGBA) has remained the
same. So I'm not sure where this comes from. I'll have to try to reproduce.

A possibility in the meantime is to try different color format settings:

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to