On Tue, 2007-09-11 at 07:15 -0700, phil laks wrote:

> however the only function i see in the PDB is 
> (mean,std_dev,median,pixels,count,percentile) = gimp_histogram 
> (drawable,channel,start_range,end_range) 
> which would require 256 calls of this function to get the data. Is 
> there another function that can return an array of the histogram? 

What's wrong with doing 256 PDB calls? Shouldn't take considerable time
to complete. If you dislike this, you could also look at the pixel data
and create the histogram yourself.


Gimp-user mailing list

Reply via email to