Blend mode 'darken' for NSImage?
Blend mode 'darken' for NSImage?
- Subject: Blend mode 'darken' for NSImage?
- From: Izak van Langevelde <email@hidden>
- Date: Sun, 18 Apr 2010 22:14:22 -0400
I need to combine a number of NSImages such that each pixel of the result is the darkest of the corresponding pixels of the NSImages.
Blend mode 'darken' does exactly what I need to, but I'm clueless about how to efficiently apply blend modes to NSImages.
An alternative is to use an NSCompositingOperation, but the best candidate NSCompositePlusDarker is not exactly what I need.
I could convert my NSImage to a bitmap and do my thing, but fear a performance hit.
Any suggestions?
Thanks,
Izak
---
Grinnikend door het leven...
_______________________________________________
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