• 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: Cocoa won't draw CMYK jpeg
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa won't draw CMYK jpeg


  • Subject: Re: Cocoa won't draw CMYK jpeg
  • From: Robert Clair <email@hidden>
  • Date: Thu, 13 Sep 2007 09:39:10 -0400


A CGColorSpace may not have a profile to give you. For example, Device color spaces, or those created with CGColorSpaceCreateCalibratedGray don't have explicit ICC profiles for you to grab.

so ??? :-)

PropertyFooRef  getPropertyFoo()
{
	if ( propertyFoo relevant to this instance )
		{
			return pointerToPropertyFoo;
		}
	else
		{
			return NULL;
		}
}

The fact that some instances may not have what you are after isn't an excuse to not let you have that property when it does exist. Especially if you *really* want it. Responsible adults should be able to check the return value of a function.

...Bob
_______________________________________________

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: 
 >Cocoa won't draw CMYK jpeg (From: Robert Clair <email@hidden>)
 >Re: Cocoa won't draw CMYK jpeg (From: Scott Thompson <email@hidden>)
 >Re: Cocoa won't draw CMYK jpeg (From: Robert Clair <email@hidden>)
 >Re: Cocoa won't draw CMYK jpeg (From: Scott Thompson <email@hidden>)
 >Re: Cocoa won't draw CMYK jpeg (From: Robert Clair <email@hidden>)
 >Re: Cocoa won't draw CMYK jpeg (From: Scott Thompson <email@hidden>)

  • Prev by Date: Re: Cocoa won't draw CMYK jpeg
  • Next by Date: NSImage inside(?) NSBezierPath
  • Previous by thread: Re: Cocoa won't draw CMYK jpeg
  • Next by thread: Re: Cocoa won't draw CMYK jpeg [SOLVED]
  • Index(es):
    • Date
    • Thread