Re: Image without profile gets an sRGB profile on Mavericks
Re: Image without profile gets an sRGB profile on Mavericks
- Subject: Re: Image without profile gets an sRGB profile on Mavericks
- From: Kevin Meaney <email@hidden>
- Date: Sun, 23 Mar 2014 18:53:50 +0000
I read somewhere that this change was part of Mavericks. I can't track that reference down right now, but I don't think Apple would consider it an error.
Kevin
On 23 Mar 2014, at 18:14, Leonardo <email@hidden> wrote:
> I create a jpg RGB image with Photoshop "without" any icc profile.
> I import it in my app.
>
> NSBitmapImageRep *srcRep = [NSBitmapImageRep imageRepWithData:imageData];
> NSLog(@"profileName %@", srcRep.colorSpace.localizedName);
>
> On OS X 10.8.5 I properly get "Device RGB".
> On Mavericks 10.9.2 I wrongly get "sRGB IEC61966-2.1".
>
> Therefore I can't understand whether the image:
> 1. has no profile then I have to assign a profile chosen by my user.
> 2. has its own profile then I do not touch it.
>
> I even tried CGColorSpaceCopyName. Same result.
> Did Apple changed its mind on Mavericks giving a profile to all the orphans,
> or am I missing some step?
>
>
> Regards
> -- Leonardo
>
>
> _______________________________________________
>
> 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
_______________________________________________
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