Ben,
>From my reply to an earlier post:
BufferedImage tmpImage = this.origImage.getAsBufferedImage();
int numBands = tmpImage.getRaster().getNumBands();
WritableRaster tile = tmpImage.getWritableTile(0, 0);
for (int b = 0; b < numBands; b++)
for (int y = 0; y < tile.getHeight(); y++)
for (int x = 0; x < tile.getWidth(); x++)
tile.setSample(x, y, b, somevalue);
tmpImage.setData(tile);
> Ben Arbel wrote:
>
> i encountered a defficd ult problem, is there a way for me to load an
> image and then get a pointer the its storage givining my the ability
> to manipulate that image directly. i am not refering to BufferedImage
> since i need direct memory access for the loaded image.. is there
> another way of doing that without using BufferedImags ??
>
> any help or directions will be helpfull
>
> thanks a zillion
> ben
--
Dr. A. Ballard Andrews
Senior Research Scientist
Schlumberger Doll Research
Old Quarry Road Ridgefield, CT 06877
tel: 203-431-5522 fax: 5521
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".