Re: NSImage rotation regression?
Re: NSImage rotation regression?
- Subject: Re: NSImage rotation regression?
- From: Ken Ferry <email@hidden>
- Date: Tue, 22 Sep 2009 23:03:35 -0700
On Tue, Sep 22, 2009 at 5:54 PM, Rob Keniger <email@hidden> wrote:
>
> On 23/09/2009, at 8:46 AM, Marco S Hyman wrote:
>
> FYI: a while ago I asked about a possible NSImage rotation regression
>>
>> I didn't see any mention of this in the documentation or release
>> notes. Did I miss it?
>>
>
>
> Yep. Have a look at the AppKit release notes, specifically the section:
>
> "NSImage: Orientation metadata (e.g. exif) now respected by default"
>
> You probably need to use the - (id)initWithDataIgnoringOrientation:(NSData
> *)data method that it mentions.
>
Better would be to remove the orientation metadata if this is a file in your
bundle and you don't intend the image to be rotated.
-Ken
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden