OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > Corel Photo-Paint VBA

Thread Tools Search this Thread Display Modes
Old 21-02-2012, 06:39
hvw hvw is offline
Junior Member
Join Date: Jan 2012
Location: Ingelmunster (Belgium)
Posts: 13
Default EXIF orientation


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

Reply With Quote
Old 24-02-2012, 17:32
shelbym's Avatar
shelbym shelbym is offline
Senior Member
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,791
Blog Entries: 15
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default 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:
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,

Reply With Quote
Old 26-02-2012, 10:14
hvw hvw is offline
Junior Member
Join Date: Jan 2012
Location: Ingelmunster (Belgium)
Posts: 13
Smile Exif


Thanks a lot, it works fantastic.
Reply With Quote

exif, orientation

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB6 Paper orientation nutman CorelDRAW/Corel DESIGNER VBA 2 02-02-2011 04:37
Automatic Orientation Nico CorelDRAW/Corel DESIGNER VBA 3 25-08-2008 10:19
Macro for retaining EXIF data in CTP files Shabbadang Macros/Add-ons 0 16-05-2007 01:49
Read/write exif meta data Stecki Corel Photo-Paint VBA 0 07-01-2005 09:44
Printer page size and orientation from VBA narcix CorelDRAW/Corel DESIGNER VBA 9 17-10-2003 14:54

All times are GMT -5. The time now is 01:43.

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