public static void write(float lt,float ln,int offset_x1,int offset_y1,ImageIcon ii,LinkProperties properties,DataOutputStream dos) throws IOException, InterruptedException {
  int image_width, image_height;
  Image image;
  image_width=ii.getIconWidth();
  image_height=ii.getIconHeight();
  image=ii.getImage();
  LinkRaster.write(lt,ln,offset_x1,offset_y1,image,image_width,image_height,properties,dos);
}

public static void write ( float lt , float ln , int offset_x1 , int offset_y1 , ImageIcon ii , LinkProperties properties , DataOutputStream dos ) throws IOException , InterruptedException { int image_width , image_height ; Image image ; image_width = ii . getIconWidth ( ) ; image_height = ii . getIconHeight ( ) ; image = ii . getImage ( ) ; LinkRaster . write ( lt , ln , offset_x1 , offset_y1 , image , image_width , image_height , properties , dos ) ; }
write an image , lat / lon with x / y placement with an imageicon .
