• 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: NSImage vs CGImage
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSImage vs CGImage


  • Subject: Re: NSImage vs CGImage
  • From: David Duncan <email@hidden>
  • Date: Mon, 18 Jun 2007 12:49:05 -0700

On Jun 17, 2007, at 4:33 AM, Barry wrote:

I'm writing an app which needs to read an image, convert pixel data to L*a*b
(if not already in this colorspace), do some maths on this data & write a
set of grayscales.


Any suggestions very welcome.

Unfortunately, as you've already discovered, there is no way to get the pixel data directly from a CGImageRef. Your best bet would be to file an enhancement request so that the Quartz team can fully understand what your (and presumably other developers') requirements are so that this type of functionality can be implemented in the future.
--
David Duncan
Apple DTS Quartz and Printing
email@hidden



_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >NSImage vs CGImage (From: "Barry" <email@hidden>)

  • Prev by Date: AppleMetricUnits undefined in GlobalPreferences.plist for new user accounts
  • Next by Date: Re: Obtaining unpremultiplied bitmap from PNG file
  • Previous by thread: NSImage vs CGImage
  • Next by thread: Exporting tables or tabular data
  • Index(es):
    • Date
    • Thread