cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Grieve <>
Subject Re: Camera API: correctOrientation
Date Thu, 05 Dec 2013 01:50:21 GMT
I believe it was meant to be used with WebViews that don't render jpegs
according to the orientation in their EXIF data.

Quite possible that it solves a problem that no longer exists. If so, it
would be great to get rid of it.

On Wed, Dec 4, 2013 at 8:47 PM, John M. Wargo <> wrote:

> Josh,
> That's the PhoneGap 1.7 docs you linked - when you look at the Cordova 3.2
> docs (
> md.html#cameraOptions), it does not list _any_ issues with
> correctOrientation on Android or iOS. I expect it not to work on Windows
> Phone because it's listed in the docs as being a limitation, but not on
> Android or iOS.
> I'm not a newb; I'm not asking because I'm too stupid to look in the
> documentation first. I've written a book on PhoneGap as well as a book on
> Cordova 3.0, so I know how most of this works and to look at the docs
> first. I'm hoping that I don't have to begin any question with "I've
> already looked in the docs, but..."
> I started with the documentation and all it says is:
> "Rotate the image to correct for the orientation of the device during
> capture"
> Not a very clear description of what actually happens. You're right
> though, I'm not really asking what it's supopsed to do, but instead "does
> it work?" and if so, "Any idea why it isn't working for me?"
> I've written an application that takes a picture without the option
> defined and with the option set to true as well as false and on Android or
> iOS devices; I can't see any difference in the photos for all three options.
> So, am I missing something and this just not supposed to work? Or is
> something else biting me in the butt here?
> On 12/4/2013 8:25 PM, Josh Soref wrote:
>> John wrote:
>>> Can someone explain to me what correctOrientation is supposed to do?
>> Lists a bunch of platforms that don't implement it.
>> My guess is that some older platforms wouldn't automatically switch
>> between portrait and landscape orientations for photos.
>> ---------------------------------------------------------------------
>> This transmission (including any attachments) may contain confidential
>> information, privileged material (including material protected by the
>> solicitor-client or other applicable privileges), or constitute non-public
>> information. Any use of this information by anyone other than the intended
>> recipient is prohibited. If you have received this transmission in error,
>> please immediately reply to the sender and delete this information from
>> your system. Use, dissemination, distribution, or reproduction of this
>> transmission by unintended recipients is not authorized and may be unlawful.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message