| GD :: Image :: AnimatedGif. GD :: Image :: AnimatedGif´Â GD·Î ¾Ö´Ï¸ÞÀÌ¼Ç GIF¸¦ »ý¼ºÇϱâÀ§ÇÑ Perl È®ÀåÀÚÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
GD :: Image :: AnimatedGif. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~dmuey/
GD :: Image :: AnimatedGif. ű×
GD :: Image :: AnimatedGif. ¼³¸í
GD :: Image :: AnimatedGif´Â GD·Î ¾Ö´Ï¸ÞÀÌ¼Ç GIF¸¦ »ý¼ºÇϱâÀ§ÇÑ Perl È®ÀåÀÚÀÔ´Ï´Ù. GD :: Image :: AnimatedGif´Â gd.synopsis¿Í ÇÔ²² ¾Ö´Ï¸ÞÀÌ¼Ç GIF¸¦ »ý¼ºÇϱâÀ§ÇÑ Perl È®ÀåÀÚÀÔ´Ï´Ù. gd :: À̹ÌÁö :: AnimatedGif »ç¿ë # À̹ÌÁö ¼³Á¤ My $ image = GD :: Image-> New (42,21); MY $ WHITE = $ IMAGE-> colorAllocate (255,255,255); $ image-> Åõ¸í ($ white); # ÀϺΠ±Û²Ã ÄÉÀÌÅ© ³» $ fontcolor = $ Image-> colorAllocate (0,0,0); ³» $ font = gd :: font-> small (); # ÀϺΠ¼³Á¤À» º¯¼ö·Î ¼³Á¤ MY $ LOOP = 0; ³» $ speed = 42; # 1/100 ÃÊÀÇ $ x_font = 10; # ¿À¸¥ÂÊ (x ¶Ç´Â y ??)¿¡¼ $ y_font = 2; # »ó´Ü (x ¶Ç´Â $ y ??)¿¡¼ "Content-type : image / gifnn"Àμâ; $ image-> animated_gif ($ ·çÇÁ, $ font, $ fontcolor, $ ¼Óµµ, $ x_font, $ y_font, , optional_frame_handler); ¶Ç´Â $ image-> animated_gif_easy (0,0, @ ¹è¿, optional_frame_handler); ±×·¡¼ÀÌ ½ºÅ©¸³Æ®¸¦ °¡Áú ¼ö ÀÖ½À´Ï´Ù. ½ÇÁ¦ ¾Ö´Ï¸ÞÀÌ¼Ç »ý¼ºÀº ÇÑ ÁÙ¿¡ ÀÖ½À´Ï´Ù. #! / usr / bin / perlÀ» »ç¿ëÇϽʽÿÀ. °æ°í¸¦ »ç¿ëÇϽʽÿÀ. GD :: Image :: AnimatedGif »ç¿ë; Àμâ "Content-Type : image / gifnn"; GD :: Image-> New (50,20) -> Animated_GiF_Easy (0, ); ¿ä±¸ »çÇ× : ¡¤ Perl.
GD :: Image :: AnimatedGif. °ü·Ã ¼ÒÇÁÆ®¿þ¾î