• 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: Scott Thompson <email@hidden>
  • Date: Thu, 13 Sep 2007 08:26:39 -0500


On Sep 13, 2007, at 8:18 AM, Robert Clair wrote:
Well, I agree it is simple to read in an image and draw it this way. What is *not* simple is cramming this into a large app that uses NSImage in various places to draw, archive, get at its pixels, etc. What I really want is an NSBitmapImageRep.

Right.. Lots of folks have had to create an "CGImageImageRep" which is really what you want in this case. Unfortunately Apple hasn't provided one in Tiger, but there is one in Leopard.


I haven't created one myself, or I would send it to you :-(

* set the profile property for the NSBitmapImageRep... except... CURSES ! FOILED AGAIN ! There is apparently no way to get the profile out of CGColorSpaceRef.

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.


_______________________________________________

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


  • Follow-Ups:
    • One-to-many relationship
      • From: Norio Ota <email@hidden>
    • Re: Cocoa won't draw CMYK jpeg [SOLVED]
      • From: Robert Clair <email@hidden>
    • Re: Cocoa won't draw CMYK jpeg
      • From: Robert Clair <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>)

  • Prev by Date: Re: Cocoa won't draw CMYK jpeg
  • Next by Date: Re: Cocoa won't draw CMYK jpeg
  • Previous by thread: Re: Cocoa won't draw CMYK jpeg
  • Next by thread: Re: Cocoa won't draw CMYK jpeg
  • Index(es):
    • Date
    • Thread