public static void write(float lt,float ln,int offset_x1,int offset_y1,Image image,int image_width,int image_height,LinkProperties properties,DataOutputStream dos) throws IOException, InterruptedException {
  int[] pixels=new int[image_width * image_height];
  PixelGrabber pixelgrabber=new PixelGrabber(image,0,0,image_width,image_height,pixels,0,image_width);
  pixelgrabber.grabPixels();
  LinkRaster.write(lt,ln,offset_x1,offset_y1,image_width,image_height,pixels,properties,dos);
}

public static void write ( float lt , float ln , int offset_x1 , int offset_y1 , Image image , int image_width , int image_height , LinkProperties properties , DataOutputStream dos ) throws IOException , InterruptedException { int [ ] pixels = new int [ image_width * image_height ] ; PixelGrabber pixelgrabber = new PixelGrabber ( image , 0 , 0 , image_width , image_height , pixels , 0 , image_width ) ; pixelgrabber . grabPixels ( ) ; LinkRaster . write ( lt , ln , offset_x1 , offset_y1 , image_width , image_height , pixels , properties , dos ) ; }
write an image , lat / lon with x / y placement with an imageicon .
