|
|
Ŭ¶ó¿ìµåű×
Javascript PHP ASP css html mysql jquery image API Mobile ¸Þ´º slide °Ô½ÃÆÇ
|
|
|
ÇöÀçÁ¢¼ÓÀÚ ¸í |
|
|
|
|
|
|
|
JpGraph (±×·¡ÇÁ, Â÷Æ®) V 1.2.2 |
|
|
|
|
¼Ò½ººÐ·ù |
À̹ÌÁö,±×·¡ÇÁ |
|
|
´Ù¿î·Îµå Ƚ¼ö |
667 ȸ |
|
|
|
°£´Ü¼³¸í |
GD ¸¦ »ç¿ëÇÏ´Â ¿©Å¸ÀÇ ±×·¡ÇÁ ¶óÀ̺귯¸®Áß °¡Àå È·ÁÇÏ°í ¶Ù¾î³ ¼º´ÉÀ» º¸ÀÌ´Â ±×·¡ÇÈ ¶óÀ̺귯¸®ÀÔ´Ï´Ù. |
|
|
|
|
|
==============
¼Ò °³ (INTRO)
==============
GD ¸¦ »ç¿ëÇÏ´Â ¿©Å¸ÀÇ ±×·¡ÇÁ ¶óÀ̺귯¸®Áß °¡Àå È·ÁÇÏ°í ¶Ù¾î³ ¼º´ÉÀ» º¸ÀÌ´Â ±×·¡ÇÈ
¶óÀ̺귯¸®ÀÔ´Ï´Ù. ÀÌ¹Ì ÁغñµÈ ±×·¡ÇÁÇü½Ä¿¡ µ¥ÀÌŸ¸¸ ÀÔ·ÂÇÏ¸é ¼±±×·¡ÇÁ,¸·´ë±×·¡ÇÁ,
3Â÷¿ø±×·¡ÇÁ, ÆÄÀÌ ±×·¡ÇÁµîÀÇ ¿©·¯°¡Áö ±×·¡ÇÁ¸¦ ±ò²ûÇÏ°Ô º¸¿©ÁÝ´Ï´Ù.
ij½Ã±â´ÉÀÌ ÀÖ¾î ÀÌ¹Ì ¸¸µé¾îÁø ±×·¡ÇÁ¿¡ ´ëÇؼ´Â ±âÁ¸ÀÇ ÀڷḦ ÀÌ¿ëÇÏ¿© º¸¿©ÁÖ¾î
ºÎÇϸ¦ »ó´çÈ÷ ÁÙ¿´½À´Ï´Ù.
µ¥¸ð¿¹Á¦ ±×·¡ÇÁ¸¦ º¸½Ã¸é ¾Æ¸¶ »ç¿ëÇÏ°íÀÚ ÇÏ´Â ¿å½ÉÀÌ »ý±æ°ÍÀÔ´Ï´Ù.
¼³Ä¡½Ã¿¡´Â GD ¿Í truetype ÆùÆ®¸¦ »ç¿ëÇÒ¼ö ÀÖµµ·Ï ¼³Ä¡µÇ¾î ÀÖ¾î¾ß ÇÕ´Ï´Ù.
==============
¶óÀ̼¾½º
==============
GNU GPL
==============
¼³Ä¡È¯°æ
==============
PHP 4.02 ÀÌ»ó ,GD ¶óÀ̺귯¸®
=============
¼³ Ä¡
=============
PHP 4..10 + GD 1.8.3 À» ±ÇÀåÇÕ´Ï´Ù.
(PHP 4.0.6 + GD 1.83 ¿¡¼ Ãæµ¹ÀÌ ÀÖ´Ù°í Çϳ׿ä)
1) ¼Ò½ºÀÇ ¾ÐÃàÀ» Ç®°í À¥ÀÇ Àû´çÇÑ µð·ºÅ丮¿¡ ¾÷·ÎµåÇÕ´Ï´Ù.
(¾÷·ÎµåÈÄ ¾ÐÃàÀ» Ç®¾îµµ °ü°è¾ø½À´Ï´Ù)
2) ÇÊ¿äÇÑ µð·ºÅ丮¸¦ ¸¸µì´Ï´Ù.
- TTF ÆùÆ® µð·ºÅ丮 (¿¹ /usr/local/ttf)
- Cache µð·ºÅ丮 (¿¹ /tmp/jpgraph) <- ÆÛ¹Ì¼Ç 707 ¶Ç´Â 777
3) TTF ÆùÆ® ´Ù¿î·Îµå ¹Þ±â
¹èÀÌÁ÷ ÆùÆ®¸¦ ´Ù¿î·Îµå ¹Þ°í Ãß°¡ÆùÆ®¸¦ »ç¿ëÀ» ¿øÇÑ´Ù¸é ¾Æ·¡ÀÇ »çÀÌÆ®¿¡¼
´Ù¿î¹Þ°í TTF ÆùÆ®µð·ºÅ丮¿¡ ¾ÐÃàÀ» Ç®¾î ³Ö½À´Ï´Ù.
±âº» ÆùÆ® : http://www.aditus.nu/jpgraph/jpgttf_basic.zip
È®Àå ÆùÆ® : http://www.aditus.nu/jpgraph/jpgttf_extra.zip
4) jpgraph.php ÆÄÀÏÀ» ÆíÁý±â·Î ¿¾î °æ·Î¼³Á¤À» ÇÕ´Ï´Ù.
DEFINE("CACHE_DIR","/tmp/jpgraph/"); ±×·¡ÇÁ±×¸²ÀÌ ÀúÀåµÉ Cache µð·ºÅ丮
-> °æ·Î´Â »ó°ü¾øÀ¸³ª ¼³Ä¡»ó¿¡ /tmp/jpgraph ·Î ¼³Á¤ÇÏ¿´À½
DEFINE("APACHE_CACHE_DIR","/imsi/jpgraph/"); ¾ÆÆÄÄ¡ ij½Ã µð·ºÅ丮 ¼³Á¤
-> ¾ÆÆÄÄ¡ ¼¹öÀÇ Ä³½Ãµð·ºÅ丮 ¼³Á¤, ¼³Á¤ÇÏÁö ¾Ê¾Æµµ °ü°è¾ø´Âµí Çϳ׿ä.
DEFINE("TTF_DIR","/usr/local/ttf/"); TTF ÆùÆ®°¡ ´ã°ÜÁø µð·ºÅ丮°æ·Î
DEFINE("CACHE_FILE_GROUP","nobody"); : À¥¼¹ö µ¥¸óÀÇ ±ÇÇÑ»ç¿ëÀÚ
ÀÌÁ¤µµÀÇ ¼³Á¤À¸·Î ÀÛµ¿Àº Çϴ°Š°°½À´Ï´Ù. ÀÚ¼¼ÇÑ »çÇ×Àº ¿µ¹®¼³Ä¡¹®À»
Âü°íÇϼ¼¿ä.
==============
ÁÖ ÀÇ
==============
GD ¶óÀ̺귯¸®´Â 2.X ¹öÀüÀº Áö¿øÇÏÁö ¾Ê½À´Ï´Ù. ¼³Ä¡Àü
GD ¶óÀ̺귯¸® ¹öÀü°ú trueType ÆùÆ®°¡ Áö¿øµÇµµ·Ï ¼³Áö µÇ¾îÁ®
ÀÖ´ÂÁö È®ÀÎÇÕ´Ï´Ù.
ÀÚ·áÃâó http://www.codelib.co.kr
|
|
³×ƼÁð ÀÇ°ß ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.) |
|