GetJPEGFileOrientation
頁面操作
描述
讀取 JPEG 檔案的 EXIF 方向資訊
語法
Delphi
Function GetJPEGFileOrientation(Const FileName: WideString): Integer;參數
| FileName | Path to the JPEG |
|---|
傳回值
EXIF 方向標籤 1..8;檔案沒有此標籤或無法讀取時為 0
備註
只掃描 APP1 標記,影像不會被解碼
頁面操作
讀取 JPEG 檔案的 EXIF 方向資訊
Function GetJPEGFileOrientation(Const FileName: WideString): Integer;| FileName | Path to the JPEG |
|---|
EXIF 方向標籤 1..8;檔案沒有此標籤或無法讀取時為 0
只掃描 APP1 標記,影像不會被解碼