¾È±Ô °øºÎ¹æ

ACTIVE SERVER PAGE > csImageFile ÄÄÆ÷³ÍÆ® - EXIF orientation À» ÀÌ¿ëÇÑ À̹ÌÁö ȸ¼± ¿¹Á¦

µî·ÏÀÏ : 2022-01-13 14:17 Á¶È¸¼ö : 51,594

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

Image.ReadFile "C:\path\to\image.jpg"

Select Case Image.ExifValueByName("Orientation")
  Case "1" : 'Do nothing
  Case "2" : Image.FlipY
  Case "3" : Image.Rotate 180
  Case "4" : Image.FlipX
  Case "5" : Image.Rotate 90
             Image.FlipX
  Case "6" : Image.Rotate -90
  Case "7" : Image.FlipY
             Image.Rotate -90
  Case "8" : Image.Rotate 90
End Select

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