¾È±Ô °øºÎ¹æ

ACTIVE SERVER PAGE > csImageFile ÄÄÆ÷³ÍÆ® - À̹ÌÁö¿¡ µµÇü ±×·Á³Ö±â, ÅؽºÆ® ±Û¾¾ ³Ö±â

µî·ÏÀÏ : 2021-08-11 14:44 Á¶È¸¼ö : 52,040

À̹ø¿¡´Â µµÇü°ú ÅؽºÆ® ±Û¾¾¸¦ À̹ÌÁö¿¡ ³Ö´Â ¿¹Á¦¸¦ º¸¿©µå¸®µµ·Ï ÇÏ°Ú½À´Ï´Ù.
 

  Response.ContentType = "image/png"
  Response.Expires = 0
  Response.Buffer = true
  Response.Clear

  'Response.ContentType = "image/Gif"
  'Response.ContentType = "image/jpeg"

  Set Image = Server.CreateObject("csImageFile.Manage")

  Image.NewImage 300, 300, "FFFFFF"
  Image.Rectangle 10, 10, 90, 90
  Image.PenColor = "FF0000"
  Image.PenThickness = 5
  Image.BrushColor = "0000FF"
  Image.BrushStyle = 0
  Image.Rectangle 110, 10, 190, 90
  Image.PenThickness = 1
  Image.Line 0, 100, 100, 199
  Image.Line 100, 199, 199, 100
  Image.BrushColor = "00FF00"
  Image.FloodFill 10, 190

  'ÅؽºÆ®¸¦ ÀÔ·ÂÇÑ´Ù.
  Image.TextSize = 24
  Image.TextOpaque = false
  Image.Antialias = true
  Image.TextColor = "FF0000"
  Image.TextBold = true
  Image.Text 100, 100, "¿£ÅͼÒÇÁÆ®"
  
  'À̹ÌÁö¸¦ Ãâ·ÂÇÑ´Ù.
  Response.BinaryWrite Image.GIFData



À§ ¼Ò½º ¿¹Á¦ °á°ú´Â ¾Æ·¡ ¸µÅ©¸¦ ´­·¯ È®ÀÎ ÇÒ ¼ö ÀÖ½À´Ï´Ù.

http://ankyu.entersoft.kr/lecture/asp/csimagefile/csimage02.asp









 
¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.