OberonPlace.com Forums

OberonPlace.com Forums (http://forum.oberonplace.com/index.php)
-   Corel Photo-Paint VBA (http://forum.oberonplace.com/forumdisplay.php?f=17)
-   -   EXIF orientation (http://forum.oberonplace.com/showthread.php?t=8076)

hvw 21-02-2012 06:39

EXIF orientation
 
Hi,

is there a way to read the EXIF data in order to find out and use the camera position in a macro.

Thanks

shelbym 24-02-2012 17:32

Exif
 
I was able to do this with the ExifReader class found here: Exif reader class/dll for VB 6

Then to use is, try something like:
Code:

Sub ReadEXIFData()
    Dim objExif As New ExifReader
    Dim txtExifInfo As String
   
    objExif.Load "D:\Temp\EXIF\2.JPG"
    txtExifInfo = objExif.Tag(Orientation)
    MsgBox txtExifInfo
End Sub

Hope that helps,

-Shelby

hvw 26-02-2012 10:14

Exif
 
Shelby,

Thanks a lot, it works fantastic.


All times are GMT -5. The time now is 05:20.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com