Hi,

Congratulations for the release of Version 1.5 Beta 4!
By the way, while I looked into the source of:
  org/apache/batik/ext/awt/image/rendered/IndexImage.java
I had the small question.
Within its "getIndexedImage" method, there is a line of:

   IndexColorModel model=new IndexColorModel(4,256,r,g,b);

But, I think the length of byte[] (which are passed as the last 3 parameters) does not 
always equal to 256.
So, the line below may be safe:

   IndexColorModel model=new IndexColorModel(4,nCubes,r,g,b);

Happy Java programming!
-------
Jun Inamori
OOP-Reserch
E-mail: [EMAIL PROTECTED]
URL:    http://www.oop-reserch.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to