com.octo.captcha.engine.image.utils
Class ImageToFile

java.lang.Object
  extended by com.octo.captcha.engine.image.utils.ImageToFile

public class ImageToFile
extends java.lang.Object

Description:


Constructor Summary
ImageToFile()
           
 
Method Summary
static void encodeJPG(java.io.OutputStream sos, java.awt.image.BufferedImage image)
           
static void serialize(java.awt.image.BufferedImage image, java.io.File file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageToFile

public ImageToFile()
Method Detail

serialize

public static void serialize(java.awt.image.BufferedImage image,
                             java.io.File file)
                      throws java.io.IOException
Throws:
java.io.IOException

encodeJPG

public static void encodeJPG(java.io.OutputStream sos,
                             java.awt.image.BufferedImage image)
                      throws java.io.IOException
Throws:
java.io.IOException


Copyright 2003-2009 JCaptcha. All Rights Reserved.