JPEG ファイルから EXIF タグを取得する方法

投稿日:2016/9/1 (木) 更新日:

Sub AccessEXIFTag(pRasterDataset as IRasterDataset)   
    'assume that pRasterDataset is opened from a JPEG file that contains EXIF tags
    Dim pDataset As IDataset
    Dim pPropertySet As IPropertySet
    Dim names, values
    Dim index As Integer
    Set pDataset = pRasterDataset
    Set pPropertySet = pDataset.PropertySet
    pPropertySet.GetAllProperties names, values
    For index = 0 To UBound(values)
        Debug.Print names(index), values(index)
    Next index
End Sub
'ArcGIS 9.2 Developer Kit for VBAサンプル[Access EXIF tags from a JPEG file]より引用


-プログラミング, ArcGIS
-, ,

Copyright© WINGFIELD since1981 , 2019 All Rights Reserved.