|
Quick Lists
|
|
Bug ID:
|
4671586
|
|
Votes
|
1
|
|
Synopsis
|
Image corruption using ReplicateScaleFilter/AreaAveragingScaleFilter
|
|
Category
|
java:classes_2d
|
|
Reported Against
|
1.3.1
|
|
Release Fixed
|
1.3.1_05
|
|
State
|
10-Fix Delivered,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
|
|
Submit Date
|
19-APR-2002
|
|
Description
|
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
process.
This image corruption happens more often on Solaris than on Windows.
Also on Windows, CPU peaks for couple of minutes whenever there is a
resize.
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
now.
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'.
|
|
Work Around
|
none
|
|
Evaluation
|
As described in the comments/suggested fix fields.
xxxxx@xxxxx 2002-05-28
|
|
Comments
|
Submitted On 05-AUG-2002
nathank
I saw a similar problem. I put my image into a BufferedImage
and then called getScaledInstance() and it seems to work. I
don't have the original test code to try.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |