> On Aug 15, 2017, at 9:54 AM, Sean McBride <s...@rogue-research.com> wrote: > > On Tue, 15 Aug 2017 09:41:25 -0700, Doug Hill said: > >> Check out CoreImage ColorControls filter, which has a Saturation parameter: > > Thanks Doug and Jonathan for the CIImage suggestion, I'll take a closer look. > But one thing I don't see at all in CIImage.h is how to get an NSData of the > pixels of a CIImage. There are init methods that take NSData, but nothing I > see gives NSData. > > I should note that I have no need to draw this data whatsoever. I only need > access to the raw pixels to do some custom processing on.
NSBitmapImageRep can be created from a CIImage, and has methods for creating an NSData version of the bitmap, or just getting the bitmapData and/or data planes. Doug _______________________________________________ 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