Send a image using streamconnection.
Posted on 2005-05-05
i have captured a image like:
BufferedImage image = new Robot().createScreenCapture(new Rectangle(0,0,400,400));
and would like to send it with DataOutputStream to send it and then then receive it
on my mobile phone (midp) with DataIutputStream.
Since midp could read png format image file. I wonder if there is a way to compress
my BufferedImage to png format before i send it. And then read it on my phone???
thanx in advance