Re: Frequency of colors
Re: Frequency of colors
- Subject: Re: Frequency of colors
- From: Aidas Dailide <email@hidden>
- Date: Tue, 25 Mar 2003 22:12:31 +0200
Hi Luca,
It is pretty easy to do this. You can get color of any point from
focused view using NSReadPixel. My suggestion is to first add all
colors to array and then find 16 most used.
If you need more help, I could write some example code.
does somebody know how to find the 16 most used colors in a
NSImageView with Cocoa & Obj-C?
Thanks,
Luca.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.