From: Toby D. <tjd...@gm...> - 2005-07-11 00:20:28
|
Over the weekend I learned about Java's PixelGrabber class, which is a way= =20 of converting the underlying raster data of an image to an ordinary=20 one-dimensional array of ints. The big advantage of this is that=20 read/writing pixels is apparently much faster than going through the set/ge= t=20 methdos of the BufferedImage. So I propose that the next version of TheMatrix implement this PixelGrabber= =20 approach, assuming it is faster (this will require writing some performance= =20 tests). Toby --=20 Dr. Toby Donaldson School of Computing Science Simon Fraser University (Surrey) |