|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectframework.util.ImageUtil
public class ImageUtil
À̹ÌÁö Æ÷¸Ë º¯°æ, Å©±â º¯°æ½Ã ÀÌ¿ëÇÒ ¼ö ÀÖ´Â À¯Æ¿¸®Æ¼ Ŭ·¡½ºÀÌ´Ù.
Method Summary | |
---|---|
static java.lang.String |
captcha(javax.servlet.http.HttpServletResponse response)
CAPTCHA À̹ÌÁö¸¦ ÀÀ´ä°´Ã¼·Î Àü¼ÛÇϰí, »ý¼ºµÈ ¹®ÀÚ¿À» ¸®ÅÏÇÑ´Ù. |
static java.lang.String |
captcha(javax.servlet.http.HttpServletResponse response,
int width,
int height)
CAPTCHA À̹ÌÁö¸¦ ÀÀ´ä°´Ã¼·Î Àü¼ÛÇϰí, »ý¼ºµÈ ¹®ÀÚ¿À» ¸®ÅÏÇÑ´Ù. |
static void |
create(java.io.File srcFile,
java.io.File destFile,
int width,
int height)
À̹ÌÁö¸¦ ¸®»çÀÌÁî ÇÑ´Ù. |
static void |
create(java.lang.String srcPath,
java.lang.String destPath,
int width,
int height)
À̹ÌÁö¸¦ ¸®»çÀÌÁî ÇÑ´Ù. |
static void |
resize(java.io.File srcFile,
java.io.File destFile,
int width,
int height)
À̹ÌÁö¸¦ ¸®»çÀÌÁî ÇÑ´Ù. |
static void |
resize(java.lang.String srcPath,
java.lang.String destPath,
int width,
int height)
À̹ÌÁö¸¦ ¸®»çÀÌÁî ÇÑ´Ù. |
static void |
writePNG(java.awt.Image image,
java.io.File destFile)
À̹ÌÁö¸¦ PNG Çü½ÄÀ¸·Î ÀúÀåÇÑ´Ù. |
static void |
writePNG(java.awt.Image image,
java.lang.String destPath)
À̹ÌÁö¸¦ PNG Çü½ÄÀ¸·Î ÀúÀåÇÑ´Ù. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void create(java.lang.String srcPath, java.lang.String destPath, int width, int height) throws java.io.IOException
srcPath
- ¼Ò½º À̹ÌÁö °æ·ÎdestPath
- ´ë»ó À̹ÌÁö °æ·Îwidth
- ¸®»çÀÌÁîÇÒ °¡·Î »çÀÌÁîheight
- ¸®»çÀÌÁîÇÒ ¼¼·Î »çÀÌÁî
java.io.IOException
public static void create(java.io.File srcFile, java.io.File destFile, int width, int height) throws java.io.IOException
srcFile
- ¼Ò½º À̹ÌÁö ÆÄÀÏdestFile
- ´ë»ó À̹ÌÁö ÆÄÀÏwidth
- ¸®»çÀÌÁîÇÒ °¡·Î »çÀÌÁîheight
- ¸®»çÀÌÁîÇÒ ¼¼·Î »çÀÌÁî
java.io.IOException
public static void resize(java.lang.String srcPath, java.lang.String destPath, int width, int height) throws java.io.IOException
srcPath
- ¼Ò½º À̹ÌÁö °æ·ÎdestPath
- ´ë»ó À̹ÌÁö °æ·Îwidth
- ¸®»çÀÌÁîÇÒ °¡·Î »çÀÌÁîheight
- ¸®»çÀÌÁîÇÒ ¼¼·Î »çÀÌÁî
java.io.IOException
public static void resize(java.io.File srcFile, java.io.File destFile, int width, int height) throws java.io.IOException
srcFile
- ¼Ò½º À̹ÌÁö ÆÄÀÏdestFile
- ´ë»ó À̹ÌÁö ÆÄÀÏwidth
- ¸®»çÀÌÁîÇÒ °¡·Î »çÀÌÁîheight
- ¸®»çÀÌÁîÇÒ ¼¼·Î »çÀÌÁî
java.io.IOException
public static void writePNG(java.awt.Image image, java.lang.String destPath) throws java.io.IOException
image
- ÀúÀåÇÒ À̹ÌÁö °´Ã¼destPath
- ´ë»ó À̹ÌÁö °æ·Î
java.io.IOException
public static void writePNG(java.awt.Image image, java.io.File destFile) throws java.io.IOException
image
- ÀúÀåÇÒ À̹ÌÁö °´Ã¼destFile
- ´ë»ó À̹ÌÁö ÆÄÀÏ
java.io.IOException
public static java.lang.String captcha(javax.servlet.http.HttpServletResponse response)
response
- captcha À̹ÌÁö¸¦ Àü¼ÛÇÒ ÀÀ´ä°´Ã¼
public static java.lang.String captcha(javax.servlet.http.HttpServletResponse response, int width, int height)
response
- captcha À̹ÌÁö¸¦ Àü¼ÛÇÒ ÀÀ´ä°´Ã¼width
- °¡·Î »çÀÌÁî Çȼ¿height
- ¼¼·Î »çÀÌÁî Çȼ¿
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |