• 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: Frequency of colors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: 3 obj-c/cocoa beginner q's
  • Next by Date: Re: Debugging screensavers
  • Previous by thread: Re: Frequency of colors
  • Next by thread: File modification
  • Index(es):
    • Date
    • Thread