ACTIVE SERVER PAGE > csImageFile ÄÄÆ÷³ÍÆ® - À̹ÌÁö ÃÔ¿µ Á¤º¸ (EXIF) °ªÀ» Àоî¿À´Â ¹æ¹ý
µî·ÏÀÏ : 2021-08-11 15:25
Á¶È¸¼ö : 66,866
À̹ÌÁö ÃÔ¿µ Á¤º¸ (EXIF) °ªÀ» Àоî¿À´Â ¹æ¹ý ÀÔ´Ï´Ù.
Set Image = Server.CreateObject("csImageFile.Manage")
'À̹ÌÁö¸¦ Àоî¿Â´Ù.
FilePath = "/lecture/asp/csimageFile/image02.jpg"
FilePath = Server.MapPath(FilePath)
Image.ReadFile FilePath
If Image.ExifCount = 0 Then
Response.Write "<p>No EXIF data in the image.</p>"
Else
Response.Write "<p>"
For I = 0 to Image.ExifCount - 1
Response.Write Image.ExifName(I) & ": " & Image.ExifValueByIndex(I) & "<br />"
Next
Response.Write "</p>"
End If
À§ ¿¹Á¦·Î Å×½ºÆ® ÇÏ½Ã¸é µË´Ï´Ù.
°³º° Ç׸ñÀ» Àоî¿À´Â ¹æ¹ýÀº Response.Write Image.ExifValueByName("Model") ¿Í °°ÀÌ ÇÏ½Ã¸é µË´Ï´Ù.
¾Æ·¡ ¿¹Á¦ ¸µÅ©¸¦ ÅëÇØ È®ÀÎÇØ º¸¼¼¿ä.
http://ankyu.entersoft.kr/lecture/asp/csimagefile/csimage03.asp