¾È±Ô °øºÎ¹æ

ACTIVE SERVER PAGE > csImageFile ÄÄÆ÷³ÍÆ® - classsic ASP À̹ÌÁö ÇÕ¼º, ›»³×ÀÏ, ¼­¹ö ÀúÀå ¹æ¹ý

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

csImageFile ÄÄÆ÷³ÍÆ®¸¦ ÀÌ¿ëÇÑ À̹ÌÁöÇÕ¼º, ½æ³×ÀÏ ¸¸µé±â, ÅؽºÆ® ÀÔ·Â, ¼­¹ö ÀúÀå ¹æ¹ýÀ» ¿¹Á¦·Î ¸¸µé¾î º¸¾Ò½À´Ï´Ù.
 
  Response.ContentType = "image/png"
  'Response.ContentType = "image/Gif"
  'Response.ContentType = "image/jpeg"

  Set Image = Server.CreateObject("csImageFile.Manage")
  
  'À̹ÌÁö¸¦ Àоî¿Â´Ù.
  FilePath		= "/lecture/asp/csimageFile/image01.jpg"
  FilePath		= Server.MapPath(FilePath)
  Image.ReadFile FilePath

  'À̹ÌÁö ³ÐÀÌ ³ôÀ̸¦ ±¸ÇÑ´Ù.
  ImgWidth		= Image.Width
  ImgHeight		= Image.Height

  'ÇÕ¼ºÇÒ À̹ÌÁö
  MergeImage	= "/lecture/asp/csimageFile/stamp.gif"
  MergeImage	= Server.MapPath(MergeImage)

  '¿øÇÏ´Â À§Ä¡¿¡ À̹ÌÁö¸¦ ÇÕ¼ºÇÑ´Ù.
  Image.Transparent = 0		'true, false
  Image.MergeBack MergeImage, ImgWidth-100, ImgHeight-100
  
  'À̹ÌÁö ½æ³×ÀÏÀ» ¸¸µç´Ù.
  Image.ResizeFit 500, 500

  'ÅؽºÆ®¸¦ ÀÔ·ÂÇÑ´Ù.
  Image.TextSize = 24
  Image.TextOpaque = false
  Image.Antialias = true
  Image.TextColor = "FF0000"
  Image.TextBold = true
  Image.Text 200, 250, "¿£ÅͼÒÇÁÆ®"
  
  'À̹ÌÁö¸¦ ¼­¹ö¿¡ ÀúÀåÇÑ´Ù.
  Image.WriteFile  Server.MapPath("/file_data/bbb.jpg")

  'À̹ÌÁö¸¦ Ãâ·ÂÇÑ´Ù.
  Response.BinaryWrite Image.GIFData
  'Response.BinaryWrite Image.PNGData
  'Response.BinaryWrite Image.JPGData



classic ASP ÄÄÆ÷³ÍÆ®Áß À̹ÌÁö ÇÕ¼º ÄÄÆ÷³ÍÆ®´Â ã±â°¡ ³Ê¹« ¾î·Á¿î°Å °°½À´Ï´Ù.
±×Áß¿¡¼­µµ ¹«·á·Î »ç¿ëÇÒ ¼ö ÀÖ´Â °É ã´Â°Ç ´õ¿í ¾î·Á¿î°Å °°½À´Ï´Ù.

https://www.chestysoft.com/imagefile/default.asp

°³¹ß»çÀÎ À§ ÁÖ¼Ò·Î Á¢¼ÓÀ» Çϸé, ´Ù¾çÇÑ ¿¹Á¦¸¦ º¼ ¼ö ÀÖ½À´Ï´Ù.

´Ù¸¸, Á¦°¡ ÇÊ¿äÇÏ°í, °£´ÜÇÏ°Ô Âü°íÇÒ ¼ö ÀÖ°Ô ¼Ò½º¸¦ ¾à°£ ¼öÁ¤¸¸ ÇßÀ» »ÓÀÔ´Ï´Ù.

csImageFile ÄÄÆ÷³ÍÆ® »ç¿ë¹æ¹ýÀº ¾ÆÁÖ °£´ÜÇÕ´Ï´Ù. 
½±°Ô À̹ÌÁö¸¦ ÇÕ¼ºÇÒ ¼öµµ ÀÖÀ¸¸ç, ¿øÇÏ´Â ÅؽºÆ®¸¦ »ðÀÔÇÏ°í, ½æ³×ÀÏÀ» ¸¸µé¾î ¼­¹ö¿¡ ÀúÀå ÇÒ ¼öµµ ÀÖ½À´Ï´Ù.
´Ù¸¸, ÃÖ±Ù ÄÄÆ÷³ÍÆ®°¡ À¯·á·Î ¹Ù²ï°Ô ¾Æ½±±â´Â ÇÏ´Ù. ¹°·Ð ³ª´Â ¿¹Àü Trial ¹öÀüÀÌ ¾Æ´Ñ°É °¡Áö°í ÀÖ´Ù.

À§ ¼Ò½º·Î ÀÛ¾÷ÇÑ ¿¹Á¦´Â 

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

À§ ¸µÅ©¸¦ ´­·¯ º¸½Ã¸é °á°ú¸¦ È®ÀÎ ÇÒ ¼ö ÀÖ½À´Ï´Ù.

¿¹Á¦¿¡¼­ »ç¿ëÇÑ À̹ÌÁö´Â ¾Æ·¡ 2°³ÀÇ À̹ÌÁö ÀÔ´Ï´Ù.

















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