title: how to optimize image in java for performance
body: <p>im transeffing image throw tcp/ip and i like to optimize it and still good quality as much as possible 
  what kind of methods or algorithms i can use ? 
  p.s 
  now if i think about it maybe i should ask what is the best and the fast way to send image 
  via tcp/ip </p>