• Post Reply Bookmark Topic Watch Topic
  • New Topic

reading & writing gif files  RSS feed

 
Anil Vupputuri
Ranch Hand
Posts: 527
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which stream is appropriate to read & write gif files. I used BufferedReader & BufferedWriter but unable to open the written file, may be its not valid. Any ideas?
 
Ryan Langley
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Try using the BufferedInputStream and BufferedOutputStream classes. The Reader/Writer classes only read and write character data, whereas the Input/Output stream classes read and write byte data.

------------------
Cheers,
RL
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!