Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4909129
Votes 6
Synopsis ErrorDiffusion throws ArrayIndexOutOfBoundsException
Category jai:implementation
Reported Against 1.1.2
Release Fixed
State 11-Closed, Not a Defect, bug
Priority: 4-Low
Related Bugs
Submit Date 19-AUG-2003
Description
ErrorDiffusion throws ArrayIndexOutOfBoundsException.
Work Around
N/A
Evaluation
Both the attached test cases have a user error. The "errordiffusion" operator expects a RGB source, not a source with an IndexColorModel. The source for the "errordiffusion" operator should be the image that is the source for the "colorquantizer" operation, not the image that is the result of the "colorquantizer" operation (which has an IndexColorModel) as is the case in the test cases provided. A bug has been filed to add documentation to the "errordiffusion" operator about the source type expected. Please see:

https://jai-core.dev.java.net/issues/show_bug.cgi?id=15

Providing the source of the "colorquantizer" operation as the source to the "errordiffusion" operation does not show any problems, thus this is a user error.
  xxxxx@xxxxx   2005-05-12 01:39:41 GMT
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang