Uploaded image for project: 'XMLGraphicsCommons'
  1. XMLGraphicsCommons
  2. XGC-121

TIFFEncodeParam.setDeflateLevel() is broken in 2.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • None
    • None
    • None

    Description

      See this change:

      https://svn.apache.org/viewvc/xmlgraphics/commons/branches/maven/src/main/java/org/apache/xmlgraphics/image/codec/tiff/TIFFEncodeParam.java?r1=1731596&r2=1731595&pathrev=1731596

       
      setDeflateLevel() only allows to change the deflate level to the already set Deflater.DEFAULT_COMPRESSION. This simple stopped to work and throws an exception instead...

      Just upgraded the FOP dependency of one of my projects to 2.4.0 and got this error. I'll use some ugly reflection hacks for the time being to be able to set the deflate level to 9.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rototor Emmeran Seehuber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: