public void toRGB(RGBImage image,int destX,int destY,int x,int y,int width,int height){
  getRGB(image.getRGB(),destX + destY * image.getWidth(),x,y,width,height);
}

public void toRGB ( RGBImage image , int destX , int destY , int x , int y , int width , int height ) { getRGB ( image . getRGB ( ) , destX + destY * image . getWidth ( ) , x , y , width , height ) ; }
extracts data from this image into the given rgbimage
