Re: pixbuf color count



On Mon, Oct 01, 2007 at 10:49:06AM -0600, Kevin DeKorte wrote:
Is there a way to get the number of unique colors in that pixbuf.

gdk-pixbuf is not a full-fledged image manipulation library,
it provides just a few basic functions related to loading,
saving and on-screen rendering.  So you have to either use
an image manipulation library or count the distinct colours
yourself.

Yeti

--
http://gwyddion.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]