Attached is a test case here which uses primarily ReplicateScaleFiliter()
and AreaAveragingScaleFilter() to scale and smooth 'Fujitsu' logo. We
seem to get image corruption at the end of this scaling and smoothing
This image corruption happens more often on Solaris than on Windows.
Also on Windows, CPU peaks for couple of minutes whenever there is a
To reproduce the problem,
-Run java -jar corrupt.jar
Wait till you see the smooth image.
Resize (vertically ).
Initially you will see the logo with jagged edges and after sometime the
image gets smooth. If there is any image corruption you would see it
Note: Only the top portion ( infinity logo ) takes part in the
scaling/smoothing. The bottom portion of the image ( the line and the
text ) does not participate in scaling/smoothing.
Source and class files are in the jar 'corrupt.jar'.