Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How do i send BufferedImage over a network  RSS feed

 
john emmanuel
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am writing a client/server application and i need to send a BufferedImage over the network.
am using:
writeObject();
to send an object of the class containing the image. but its giving me a NotSerializableException.
Can anybody help me with an alternative method?
 
Norm Radder
Rancher
Posts: 1733
22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Find some classes/methods to write it to a file using a ByteArray and send the byte array.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!