Buffered Image and DataBuffer
i am working with the DataBuffer from an BufferedImage to
have a perfomance advantage instead of using setRGB and getRGB...
But I have the Problem that the BufferedImage and my DataBuffer isnt always
synchron. I cam changing some pixels in my pixel Array and when
i save the image as tif file i get not the current image with the pixels in the array...
int  pixel = ((DataBufferInt)img.getRaster().getDataBuffer()).g etData();
is there a way to synchronize the BufferedImage and the DataBuffer?