By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,602 Members | 1,533 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,602 IT Pros & Developers. It's quick & easy.

Captcha: Image is not getting saved to the file

P: 1
Hi I have implemented Captcha in JAVA using Buffered Image and finally using write of ImageIO

But the File into which i am writing is not getting updated

ImageIO(image,"jpg",new File("d://captcha.jpg"));

This is the code am using. But The image is not getting written into the file
Jan 9 '10 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 151
Expand|Select|Wrap|Line Numbers
  1. ImageIO(image,"jpg",new File("d://captcha.jpg"));
That won't compile.

Post brief code that illustrates the problem: ie something that others can compile and run which you think should save the image but which doesn't. (By brief I mean anything unrelated to the problem should be removed.)
Jan 9 '10 #2

Post your reply

Sign in to post your reply or Sign up for a free account.