Captcha: Image is not getting saved to the file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swatcat
    New Member
    • Jan 2010
    • 1

    Captcha: Image is not getting saved to the file

    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
  • pbrockway2
    Recognized Expert New Member
    • Nov 2007
    • 151

    #2
    Code:
    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.)

    Comment

    Working...