• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OT: JPEG EXIF Image Orientation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OT: JPEG EXIF Image Orientation


  • Subject: Re: OT: JPEG EXIF Image Orientation
  • From: Mike Schrag <email@hidden>
  • Date: Tue, 6 Jul 2010 14:55:53 -0400

I would guess ERAttachment has both image processors and metadata processors that you can use to determine this information ...

On Jul 6, 2010, at 2:53 PM, Martin Samm wrote:

We use ImageMagik by calling out to command line to read iptc info. I would expect it would do what you're after.


On 6 Jul 2010 19:50, "Joe Moreno" <email@hidden> wrote:

Summary
Can anyone recommend either a Java library or command line app that can look into a JPEG's EXIF data in order to determine its orientation (i.e. which way is up)? This seems like it should be an easy problem to solve, but I haven't had any luck finding the answer.

Background
Some of you may have noticed that photos taken with iOS 4 no longer automatically rotate "right side up". Instead, the orientation is placed in the EXIF data. Software rendering the photo must look at the EXIF data in order to correctly display the photo. This issue is easily demonstrated by snapping a photo in landscape mode, with an iOS 4 iPhone, and then e-mailing it to yourself and viewing it in a version of Mail prior to Snow Leopard where you'll see that the image is sideways. (See attached screen shot.)

WebObjects & SIPS
I have a WebObjects project which worked beautifully with the iPhone until the release of iOS 4. The project uses Mac OS X's sips command line app to resize photos (sips can also rotate images and it's highly optimized for Mac OS X – I have yet to find anything else that's faster

Sips only allows you to examine certain EXIF data tags; and JPEG orientation isn't one of them.

Any help is greatly appreciated.

Cheers,
Joe

<Picture 35.png>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >OT: JPEG EXIF Image Orientation (From: Joe Moreno <email@hidden>)
 >Re: OT: JPEG EXIF Image Orientation (From: Martin Samm <email@hidden>)

  • Prev by Date: Re: OT: JPEG EXIF Image Orientation
  • Next by Date: Re: Switching DB at runtime?
  • Previous by thread: Re: OT: JPEG EXIF Image Orientation
  • Next by thread: Re: OT: JPEG EXIF Image Orientation
  • Index(es):
    • Date
    • Thread