• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Avoiding color transformations in PNG/UIImage/CGImage ops?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Avoiding color transformations in PNG/UIImage/CGImage ops?


  • Subject: Re: Avoiding color transformations in PNG/UIImage/CGImage ops?
  • From: Alex Zavatone <email@hidden>
  • Date: Fri, 17 Nov 2017 15:52:11 -0600

> On Nov 17, 2017, at 3:45 PM, Rick Mann <email@hidden> wrote:
>
>
>
>> On Nov 17, 2017, at 13:36 , Vince DeMarco <email@hidden> wrote:
>>
>>
>>
>>> On Nov 17, 2017, at 1:28 PM, Rick Mann <email@hidden> 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?
>

Was that it?

Remember when I asked if the profile of the image was Profile Name: sRGB
IEC61966-2.1?

It’s something related to the storage of the image.  It appears to be done
automatically in CI as part of the saving/loading of the image.  I think it
actually writes data adjusted based on the color space profile.

I could be wrong though, but this feels accurate.  If I’m correct, it’s part of
the CI pipeline.

Let me dig through the 2014 code now.



_______________________________________________

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

References: 
 >Avoiding color transformations in PNG/UIImage/CGImage ops? (From: Rick Mann <email@hidden>)
 >Re: Avoiding color transformations in PNG/UIImage/CGImage ops? (From: Steve Christensen <email@hidden>)
 >Re: Avoiding color transformations in PNG/UIImage/CGImage ops? (From: Rick Mann <email@hidden>)
 >Re: Avoiding color transformations in PNG/UIImage/CGImage ops? (From: Vince DeMarco <email@hidden>)
 >Re: Avoiding color transformations in PNG/UIImage/CGImage ops? (From: Rick Mann <email@hidden>)

  • Prev by Date: Re: Avoiding color transformations in PNG/UIImage/CGImage ops?
  • Next by Date: Re: Avoiding color transformations in PNG/UIImage/CGImage ops?
  • Previous by thread: Re: Avoiding color transformations in PNG/UIImage/CGImage ops?
  • Next by thread: Re: Avoiding color transformations in PNG/UIImage/CGImage ops?
  • Index(es):
    • Date
    • Thread