• Post Reply Bookmark Topic Watch Topic
  • New Topic

Writing buffered images to file

 
pradeep selvaraj
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was trying to create a buffered image and write it to a jpg file. This is what i have done

A test.jpg file is created but it contains nothing. What's wrong with the code?
Thanks
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change

to
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!