Recognising portrait orientation in JPG files

Some programs, e.g. Adobe Bridge CS3, seem to be able to recognise whether a JPG file is of a photo in portrait or landscape mode and display them as appropriate. Other programs, in particular the Screen Saver, don't seem to have this ability. I therefore use ImageJ to rotate files with portrait format and then save them again, so that the Screen Saver also displays them with the correct orientation.
I thought I should be able to automate this process for selected folders using Applescript. However, looking at the info displayed by the Finder for JPG files, I don't see any difference in the properties between rotated and non-rotated portrait layout photos.
Does anyone know how this property is stored? Is there more EXIF data hidden away somewhere?

Comparing photos store by my Canon iXus 60 with those from a friend's Casio camera, I see in the Inspector More Info data that the Canon seems to store more information about the photo, in particular it has (for a portrait photo) a field... [snip]
That's because the iXus has an orientations sensor within it that detects the orientation of the camera and can record that alongside the image. The Casio (like most cameras) doesn't have an orientation sensor, so it is unable to determine which way up the image was taken.
returns Orientation 1 (Normal) for both a normal landscape photo and one taken upside down.
The sensor is likely detecting offset from horizontal. Since right-side-up and upside-down are both, essentially, horizontal, they're both recorded the same way (few people take pictures upside down )
Holding he camera at about 45° brought Orientation 1, in one case, and Orientation 6 in another.
That's probably because you weren't quite at 45 degrees on the first shot.
As for the script, since that data is stored in the EXIF data, it should be possible to extract it via Image Events, so a slightly puffed-up version of my script should be able to orient it correctly.

Similar Messages

  • Portrait orientation not recognised in Older iDVD project

    I have posted some of these symptoms in various places, but I have had so many issues with this upgrade that I haven't had the time to thoroughly address each on in detail.
    I upgraded ti iLife06 over the weekend and now an iDVD project that I started in iDVD 5 is significantly "messed up".
    Firstly, it cannot find the images in the new iPhoto Library's new paradigm for folder management. So I have to locate these manually. I have tried to point iDVD to both the "Modified" iPhoto Library folder and the "Originals". Not sure which is correct. (I know that some have advised duplicating your old iPhoto library and pointing iDVD 6 to the "old" version)
    Second, after manually locating all of the photos included in the iDVD project, iDVD does not seem to recognise that some of the photos are Portrait orientation. These were automatically rotated by my camera and imported into iPhoto accordingly.
    Does anyone have an idea why iDVD 6 cannot do this AND how to fix it?
    Thanks,
    J.E. Flynn

    I have posted some of these symptoms in various places, but I have had so many issues with this upgrade that I haven't had the time to thoroughly address each on in detail.
    I upgraded ti iLife06 over the weekend and now an iDVD project that I started in iDVD 5 is significantly "messed up".
    Firstly, it cannot find the images in the new iPhoto Library's new paradigm for folder management. So I have to locate these manually. I have tried to point iDVD to both the "Modified" iPhoto Library folder and the "Originals". Not sure which is correct. (I know that some have advised duplicating your old iPhoto library and pointing iDVD 6 to the "old" version)
    Second, after manually locating all of the photos included in the iDVD project, iDVD does not seem to recognise that some of the photos are Portrait orientation. These were automatically rotated by my camera and imported into iPhoto accordingly.
    Does anyone have an idea why iDVD 6 cannot do this AND how to fix it?
    Thanks,
    J.E. Flynn

  • Print module - exporting to a .jpg file - borderless printing

    I'm attempting to export a picture as an 8 x 10 .jpg file in the Print Module - I want the image to be borderless. I have gone ahead and changed my page setup to reflect the same dimensions, I've removed margins and I've also gone into the Layout section and adjusted my cell size dimensions and removed margins...I can't seem to get two borders to disappear - if it's a portrait image, the sides have white borders and if it's landscape, the top and bottom have white borders.
    Any help would be greatly appreciated. Thanks. If more information is required, let me know. Thanks!

    If your image is not in exact 8x10 (4x5) aspect ratio, you'll need to select the "Zoom to fit" box.
    Phil

  • Printing 6 slides per page in Portrait orientation?!

    Hello,
    I have iWork '08. In the past I always printed 6 keynote slides per page, with the page oriented in portrait orientation. However, now it refuses to do that. Even when I have changed the orientation to portrait in the page setup (under 'File'), it refuses to use that orientation when I print. In the print settings I use individual slides, and then in layout I tell it to print 6 slides on a page. At 1, 4, 9 and 16 slides per page, it does use portrait orientation. At 2 and 6 slides per page it suddenly uses landscape orientation. I have checked and checked again, but the page orientation cannot be changed within the print menu. Only in the page setup under file, which doesn't help at all.
    Why does it do this and how do I get rid of it?! I want to print 6 slides on a portrait oriented page!
    Thank you.

    Hi Azoolkool, I figured it out, so here goes: Under Keynote open your file, make sure your View is set up as Navigator view; this way you can see the mini-sidebar on your left side. On the individual slides highlight the slides you want printed by holding down the shift button and click on for example 7-12.
    Now click on File>Print, go to pages and enter in section From: 7 to: 12, Right under this area u should see Keynote drop down bar and on the bottom left area it states: PRINT with some options there, just check off "Individual Slides". To the right of the print section it should state OPTIONS; to keep your slides in color remove the check on "Don't print slide background or object fill". Do check "Add borders around slide" and "Use page Margin".
    Under the FROM and TO page area where you put 7 and 12 in - there is a drop down bar that defaults to Keynote, click on this and go to PAGE ATTRIBUTES to change your page orientation to portrait or landscape. Once done proceed to next step and click on PDF on the lower left hand side and enter into "OPEN PDF IN PREVIEW". It should default to the 7th page as full screen along with the sidebar appearing.
    Now click on File in the preview menu bar and then PRINT - Now uncheck the AUTO RATE and now check the "SCALE TO FIT" - "FILL ENTIRE PAPER". Then below that where it says images per page , change it from 1 to 6 and notice the print preview with six slides on one page. Now hit PRINT on the lower right hand side...
    Hope this helps, I had to learn the hard way today "Trial and Error" as the manual does not state this clearly. Also I'm sure there is a better way but no one has responded yet. Let me know if it works.
    Regards

  • Portrait oriented thumbnail becomes Black Exclamation error when clicked on

    After loading in pix from my new Canon G9 (12 megapixel), I can click on landscape oriented photos (from their thumbnails) and they come to full screen display as expected, however all the portrait oriented thumbnails flash up to full screen and then immediately are replaced by a weird big black exclamation mark in a white circle (this is all very blurry and the size of the full screen picture that should have been shown)... it is clearly some sort of error message indicator. I had no such problem with my Canon a710 (8 mpix).
    Note, if I go to full screen viewing mode (by clicking the expander button at the bottom left of the screen) these pictures are displayed properly when I tab through my shots.
    I searched iphoto help for "exclamation" and there is a discussion of a little exclamation error format (tiny compared to what I get displayed) and it signals problems locating the photo, but that is not the problem I have (it is findable, even displays briefly before being replaced by the BIG BLURRY EXCLAMATION IN A TELESCOPE TYPE VIEWFINDER image.
    Any idea if this is a known bug and how do you report such a bug to Apple online?

    cruz2
    Welcome to the Apple Discussions.
    The size of the exclamation mark doesn't matter, it means the same thing.
    The ! or ? turns up when iPhoto loses the connection between the thumbnail in the iPhoto Window and the file it represents.
    The most common cause of this is User Activity in the iPhoto Library Folder in the Finder.
    Have you altered, moved or renamed anything in the iPhoto Library Folder?
    If you haven't, then try rebuilding the database. Hold down the apple and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    If that fails try Download BatchMod from
    http://macchampion.com/arbysoft/
    And apply it to the iPhoto Library Folder using the settings found here:
    http://homepage.mac.com/toad.hall/.Pictures/Forum/BatChmod.png
    (Credit to Old Toad for this one).
    Regards
    TD

  • Iphoto won't display Portrait Orientated images, how can i fix this?

    Iphoto'11 on latest OS wont display Portrait Orientated images, only just occured and only shows the image when in 'EDIT'. how can i remedy my thumbnails as it wont allow me to print anything but a blank screen

    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Photo Landscape versus Portrait Orientation Anomaly

    I took 2 photos in portrait orientation (long side vertical, i.e.,  "oriented vertically").  I viewed these in Adobe Bridge CS3 and of course initially found them to be lying on their side, oriented horizontally.  I used the button visible on upper right in Adobe Bridge that shows a partial circle and arrowhead to change the orientation of the photos to be oriented vertically.  I opened these in Photoshop CS3 and they displayed correctly oriented vertically.  I tweaked them and saved them, thinking that they must now be correctly oriented vertically, as they displayed correctly both in Bridge and in Photoshop.  However, when these are viewed in a web browser (Mozilla or Internet Explorer) they display incorrectly, horizontally oriented.  I know this must have a ridiculously simple explanation and solution, but it is not apparent to me how to tell Bridge or Photoshop to orient the photo in default orientation as it will be viewed in other non-Adobe programs.  Where is this information stored and how can I correct it?  This seems to be an undesirable behavior, as a user can be unaware that the image is not correctly rotated.
    Thank you.

    Thank you Curt for your helpful answer.
    This topic remains confusing but here is what I have found:
    I am examining 2 copies of an image:
    a. an original image which appears unrotated in Bridge and Photoshop and a browser (i.e., appears wider across than in height) which I'll call "Original".
    b. a modified image which appears oriented in portrait orientation in Bridge and Photoshop (rotated from the original) but oriented in landscape orientation (unrotated) in a browser, which I'll call "Anomalous"
    (1) In Bridge, I was previously not displaying the "Orientation" flag.  I have turned this on as you have suggested.  This flag reads:
    Original: Normal
    Anomalous: Rotate -90 degrees
    [This is certainly a helpful indication that the image is being displayed as rotated, though you have to hunt for it.]
    (2) In Photoshop CS3, I read the following relevant "File Info" metadata, none of which I can modify:
    Original image:
       Camera Data 2 > Pixel Dimension X: 2592 [largest dimension]   
       Camera Data 2: Orientation: "Normal"
       Advanced > TIFF Properties: Orientation: 1
       Advanced > EXIF Properties: PixelXDimension: 2592
       File > Page Setup > Orientation: Portrait
    Anomalous image:
       Camera Data 2 > Pixel Dimension X: 2592 [largest dimension]   
       Camera Data 2: Orientation: "Normal"
       Advanced > TIFF Properties: Orientation: 1
       Advanced > EXIF Properties: PixelXDimension: 2592
       File > Page Setup > Orientation: Portrait
    In other words, I can find no imbedded metadata item in the image as Photoshop reads out the metadata that indicates the state of the rotation flag that Bridge has modified.
    Given the available and somewhat discordant findings so far, it appears that I'll have to adjust the rotation of the rotated image in Bridge back to "Normal" first before opening and rotating the image in Photoshop.  This seems to be the only way I can find to set the orientation flag to "Normal" in Photoshop, so that the image will open both in Photoshop and in a browser to the proper orientation.
    Are you aware of how Photoshop might explicitly display the value of the Bridge-altered orientation flag?
    Thank you again.

  • HT201317 Photos (portrait orientation) are cropped and white sides are added. Why?

    I have set up iCloud to sync the photos that I make with my iPhone (4S) to my iPad (3). To view my Photo Stream from my PC (Win7 prof SP1), I installed iCloud Control Panel for Windows (v1.1). This also enables me to add older photos to the Stream.
    Landscape -orientation pictures are added without problem, but portrait orientation pictures are both cropped and have white sides added. This looks bad on my iPad. Is there some setting I could change to make the upload leave the format of the pictures alone?
    I think I have seen this issue addressed before, but there was no solution with it. Any help appreciated, Regards, Dirk.

    I have had the same problem as this.
    I recently went to Paris for a short break but was without wifi for the whole time.  I took about 300 photos on my iPhone 4. When I returned to the UK (and wifi!) the photos did not sync with my iPad via photo stream. I made sure I had 100% battery, was plugged into the mains, was connected to wifi etc.. I posted on here and was told that they should have synced automatically.  However, I had by then disabled and re-enabled photo stream on my iPhone (according to instructions I found elsewhere) and it seems that photo stream only syncs photos taken since it is enabled.
    ... So in a further attempt to get my photos from Paris onto my iPad I transferred them onto my windows laptop via cable, and put them into my "uploads" folder in my photo stream folder.  This didn't work either until I uninstalled iCloud on my pc and reset photo stream on iCloud.com. The photos eventually began syncing and appearing on my iPad. The problems now are as follow:
    1) The photos are not in the right order, and there is no way on iPad to sort them.  Why in earth has this happened? Is there a way to sort them correctly? It's obviously frustrating to look through the photos in the wrong order, and even worse when trying to show them to friends and family! I can't work out which order they are now arranged in - its not in "file name" order or "date taken" order. Nonsensical!!
    2) The portrait photos, as the original poster describes above, have all been cropped at the top and bottom and have horrible white borders at the sides where other photos taken on iPad/iPhone would have clean black spaces.
    I've been back in the uk for 4 days now and been trying to sort this out on and off since then.  It really is a pain.  Does anyone know if there are ways to transfer the photos more easily and reliably between devices when photos stream fails, and if there are ways to rectify the 2 above issues?

  • [Q] Loading one external JPG file into different MCs & Downloading

    Hi, I was wondering if I set few MCs to load the same
    external JPG file, would users need to download thme few times?
    Or only need to download once?
    I am having trouble loading long 700*8000 jpg files due to
    limited pixel size of 2300(?).
    I was thking of making them into 2000 * 2000 square pictures
    by cutting long picture into short sigments and putting them side
    by side.
    and using AS to make them appear as single long picture by
    using 2 MCs with same image but at different x position of loaded
    square Picture.
    Anyone have better idea?
    I am bit hesitated to make jpg to swf files cuz I have too
    many pictures
    Plz spare some time for me..
    Thank you for your time~!!!!

    thank you, kglad..
    I was thking of making 700 * 8000 image into 2800*2800 image
    this square picture works as four (700*2800) images.
    So that i can use 2 set of same jpg MC with differnt Masking
    to make them
    appears as continuously long images
    eg. 1st Mc will be showing _x: 0-700
    at the bottom of the first MC, 2nd MC will be showing _x:
    700-1400
    and so on so on..
    so..when user is scrolling down..these MCs will makeing
    sqaure image
    as long portrait image..
    I dont beleve myself it is a good solution..
    Probably most suitable way would be what you just suggested
    me..
    Its just that it will be quite a time consuming job to make
    jpgs into swfs...
    Thank you again for your kindness..:)

  • Portrait orientated Fotos are mainly white after synch with iPad2

    Hello Folks!
    Perhaps another one have the same problem as me:
    After synching my iPad2 under 10.6.8 with a MacPro
    99 portrait orientated fotos from 100 are with huge white areas
    sometimes at the top, at the bottom or even both sides.
    Non of the horizontal ones!!!!!
    Not even a little white stripe there.
    Only portrait!
    Is there someone with the same glitch or better
    with a solution to this?
    It happens with all my iDevices,
    iPhone 2G
    iPhone 3GS
    iPad1
    iPad2
    All under 4.3.3 exept the 2g ;-)
    I've tried several times these things - no luck:
    Deleting all fotos on the device - resynching them
    Deleting the cache (on the Mac) rebuilding it and deleting all fotos on the device with a resynch
    open a shell to the device and manually deleting ALL files in the folder fotos,
    to reset the foto data sql etc.
    Every hint is appreciated!
    Oliver

    Hello!
    I have the exact same problem after synchronizing.
    I have the iPad 1 with last firmware (4.3.4), Mac 10.6.8 and last iTunes.
    Please help me ….. !!!
    Thanks.
    Raoul

  • Iphoto 8 jpg file size

    On my desktop I have a JPEG picture sent to me via email from an Iphone. If I click get info the file size is 914.8 kb (936,888 bytes). After I import the photo into Iphoto 8 and click on it in the event window the information box in lower left has size 393KB. What is happening and am I losing picture quality. If I am how do I minimize any loss in picure fi

    Is it a portrait oriented photo? If it is then iPhoto created a modified version  which is rotated and underwent one level of JPEG compression. 
    OT

  • Importing Jpg files to PE9, that used to work in PE8

    Hi all
    Since upgrading to PE9 from PE8 all of my projects are now corrupt and I can’t import the still images that I used to be able to in PE8 as it now says that it is to large an image.  I have checked the project settings which are 1080i full HD and which worked on PE8, the image is only 5184 by 3456 pixels (jpg) and as I said worked fine on PE8.  Also on Photoshop elements 9 it can’t recognise some of my raw files even after installing the latest raw codec file.  Again these raw files were imported, edited and converted to jpg in PE8.
    At the moment I wish I had never bothered moving to PE9 as all it has done is messed things up. Is anyone else having these sorts of issues?
    Martin

    You didn't open your version 8 project in version 9, did you? That can often cause corruption, and I highly recommend against it in my Premiere Elements books.
    As for your stills, they should not be larger than 1000x750 pixels in size, as explained in the FAQs to the right of this forum.
    http://forums.adobe.com/thread/431851?tstart=0
    For hi-def, these files can be as large as 2000x1500 -- but then I'd recommending rendering your timelien often.
    The use of oversized photos is the single most common reason for this program overloading.
    Try using 1000x750 pixels JPEGs or PSD files and you should have no problems.
    (And sorry, I've no idea why you used to be able to make it work in version 8.)

  • Copy .jpg files to a Windows CD

    Hello,
    I have some .jpg image files from a family gathering that I'd like to share. Unfortunately, everyone else, but me has a PC the CDs I made on my Mac can not be read byt them. Is there some reasonble priced software I could get or a trick to creating a CD with .jpg files that can be read on either a Mac or PC. I saw a thread about creating an .iso file, but am unsure how to do that. Are there instructions somewhere? Thanks so much. Margie

    I think burning the CD from the Finder window would do. Just click the burn symbol that will appear on the Finder to make a Mac/PC compatible CD. Sometimes that a file is projected on a PC as a .DAT file - not recognised - write the extension (.jpeg, .bmp, whatever) manually.

  • How to lock view controller in portrait orientation?

    I have made and app in storyboard with the ability to use portrait and landscape orientation. However, one view requires to be locked in the portrait orientation? How do i do this?

    It seems like this should work but it's not. Tell me if i placed this is the right location please. It goes in the ViewController.m file.
    - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
        self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
        if (self) {
            // Custom initialization
        return self;
    - (BOOL)shouldAutorotate
        return NO;
    - (void)viewDidLoad
        [super viewDidLoad];
    Is this the correct spot?
    Thanks!

  • JPG file opens fine on server and fine in Google Chrome but Upside Down in IE11

    We have a jpg file that is on a server. When you link directly to the file so that there is no HTML or CSS code, it opens fine in Google Chrome but IE is flipping it upside down.  I have access to the server itself, the computer with the jpg file on
    it, and when I open it in file explorer (not internet explorer) it opens in the default picture view program just fine.  The picture was taken with an iPhone.  Is there a way to disable this unwanted picture flipping in IE?

    In Windows try right clicking on an iPhone photo and selecting Properties -> Details Tab.
    Scroll through the list of EXIF metadata.
    Now open the same photo in a decent EXIF viewer and see how much extra EXIF metadata is presented.
    The image below highlights one piece of metadata not exposed by Windows - orientation.
    To avoid problems try deleting all but the most basic metadata. See for example
    http://www.makeuseof.com/tag/3-ways-to-remove-exif-metadata-from-photos-and-why-you-might-want-to/

Maybe you are looking for

  • How to write numbers in Arabic?

    Hi All, How to write numbers in arabic? (how will you in normal papers....assume 123 to be in the arabic numerals here). Should it be: | -123| (or) | 123-| Thanks, Jana

  • From training video I cannot open info on video to hear it. Help

    I am trying to go through a training video for a class and when I get to the part where it says listen to video before I go to next step, I click on the icon button that says video, and I don't get any sound. What do I have to do to activate the soun

  • Mountain Lion slow to find computers on network

    I'm on a University network and we have several computers that are networked in our set of buildings. It used to be that when I opened up the finder window the list of "Shared" would have several computers listed in it as well as an "All" selection.

  • Transaction key UMB determined on transaction MB1A

    Hi experts, I'm having a problem with a goods movement via transaction MB1A. When trying to move material, an error message is displayed with the information that the account does not exist in the chart of accounts. The account in question is configu

  • Bug in FCP 5's dip to color dissolve with text?

    Dear all, I'd likle to know if this is a genuine bug or some problem with our setting/system that we haven't yet figured out. The problem appears when a dip to color dissolve is applied a text clip. The symptom is what looks like compression artifact