> On Nov 17, 2017, at 1:45 PM, Rick Mann <rm...@latencyzero.com> wrote:
> 
> 
> 
>> On Nov 17, 2017, at 13:36 , Vince DeMarco <dema...@apple.com> wrote:
>> 
>> 
>> 
>>> On Nov 17, 2017, at 1:28 PM, Rick Mann <rm...@latencyzero.com> wrote:
>>> 
>>> Nope, I'm definitely looking at pixel data. But I'll try the generic color 
>>> space. I don't know how it chooses device color space when it's created 
>>> absent any particular display-associated context.
>> 
>> Don't use the generic color space use sRGB for both. 
>> 
>> Like this instead
>> 
>>            colorSpace = CGColorSpaceCreateWithName(kCGColorSpaceSRGB);
> 
> Thanks. Can you elaborate as to why?


All of the devices now default to sRGB, the Asset catalogs when presented with 
an color png file will convert them to sRGB (extended range srgb for Deep color 
images).

the jpeg reader in the system (ImageIO) if it finds a image with no color space 
will assume sRGB.

Always best to be explicit in what you want.

Vince



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to