In our application we try to send an image over socket connection in binary form
JavaFAQ Home » Graphics
Question: In our application we try to
send an image over socket connection in binary format.
It works with some systems and does not with others...
In some pairs like Linux based Client-Server we get
images. When Server and Client reside on different system we
often getting strange "digital garbage" after transmission...
Answer: Actually it is known problem and
best solution is to use Base64 format.
It will slightly increase the amount of traffic (~30%). An image
will be sent as a String...
Printer Friendly Page
Send to a Friend
Search here again if you need more info!