• 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
Ranch Foreman
Posts: 2233
28
  • 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!