cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30417] - [PATCH] ImageReader needs "uniform scale-to-fit" option
Date Mon, 01 Nov 2004 21:15:17 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30417>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30417

[PATCH] ImageReader needs "uniform scale-to-fit" option





------- Additional Comments From ml@wrinkledog.com  2004-11-01 21:15 -------
Oh yeah... the bug was that in the original patch was fitUniform didn't do something reasonable
if the 
width or height parameter was missing or zero.  The thought was that if you're bothering to
specify 
scaling to fit, you're supplying both dimensions — but that's not necessarily true, the
invoker might not 
know whether either of the dimensions is zero.

Also, getKey() didn't incorporate the values of fitUniform or enlarge.

Mime
View raw message