New topic: jpg photo orientation
<http://forums.realsoftware.com/viewtopic.php?t=45698> Page 1 of 1 [ 2 posts ] Previous topic | Next topic Author Message philbond87 Post subject: jpg photo orientationPosted: Wed Oct 24, 2012 10:50 am Joined: Sat Feb 14, 2009 3:30 am Posts: 13 Please forgive me if this isn't the proper place for this question. Is there an easy way to programmatically determine the orientation of a jpg from a digital camera? Top rowlands Post subject: Re: jpg photo orientationPosted: Wed Oct 24, 2012 9:43 pm Joined: Fri Sep 30, 2005 11:00 am Posts: 500 Location: Beautiful Taiwan This is a good place to ask this question. What you need to do is to read the image meta data, there are classes and maybe some code snippets do this. I used to sell an object for reading ( and writing ) the image meta data for images. If you like to do things yourself, you can dig up the specifications for JPEG and TIFF (as JPEG meta data is TIFF meta data) and write your own code to do this. If you're developing a Mac only application, then take a look at writing code to access Apple's Core Graphics, as Apple have a pretty solid meta data system built-in. Lastly, if you're developing a Mac only application, and don't want to write your own code, you could use something like the MBS plugin to access Apple's Core Graphics and read the meta data from a JPEG. _________________ Sam Rowlands '09 MBP 17" @ 10.7 & '07 iMac 24" @ 10.8, RB2012r1 http://www.ohanaware.com/ AppWrapper - Prepare Apps for Mac App Store & OS X 10.8 - http://www.ohanaware.com/appwrapper/ Top Display posts from previous: All posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost timeSubject AscendingDescending Page 1 of 1 [ 2 posts ] -- Over 1500 classes with 29000 functions in one REALbasic plug-in collection. The Monkeybread Software Realbasic Plugin v9.3. http://www.monkeybreadsoftware.de/realbasic/plugins.shtml [email protected]
