xmlgraphics-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmeran Seehuber (Jira)" <j...@apache.org>
Subject [jira] [Created] (XGC-121) TIFFEncodeParam.setDeflateLevel() is broken in 2.4
Date Thu, 05 Dec 2019 14:17:00 GMT
Emmeran Seehuber created XGC-121:
------------------------------------

             Summary: TIFFEncodeParam.setDeflateLevel() is broken in 2.4
                 Key: XGC-121
                 URL: https://issues.apache.org/jira/browse/XGC-121
             Project: XMLGraphicsCommons
          Issue Type: Bug
    Affects Versions: 2.4
            Reporter: Emmeran Seehuber


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: general-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: general-help@xmlgraphics.apache.org


Mime
View raw message