Re: Image processing in Cocoa
Re: Image processing in Cocoa
- Subject: Re: Image processing in Cocoa
- From: Mike Abdullah <email@hidden>
- Date: Wed, 24 Sep 2008 11:08:08 +0100
On 24 Sep 2008, at 10:50, Christian Giordano wrote:
Hi guys, is there some good tutorial around about how to manipulate
bitmaps in Cocoa?
I would be interested on:
- copy portion of image over another with a mask (this should be
pretty straight forward with quartz2d)
[[NSImage alloc] initWithSize:]
[image lockFocus]
[sourceImage drawAtPoint:point fromRect:imagePortionRect
operation:operation fraction:1.0]
[image unlockFocus]
- apply threshold
- apply effects like blur
Core Image is your friend
Not sure if some of this, like the blur, is recommended to do from an
higher level instead of doing it pixel by pixel. In case of the
latter, how to get the bytearray with all the pixels info?
Thanks a lot, chr
_______________________________________________
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
_______________________________________________
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