> I am not sure if I understand your code correctly (I am even more of
> a newby), but your code seems to only work on grayscale images. Did
> you make sure your image was grayscale before you tested your plug-in
> on it?

Yes that's it: I had tested with a grayscaled image but it didn't work 
(a PNG image). I retried with a color image transformed into a 
grayscaled one and it works (enabled). Now I have to make it run 
without segfault =).

Thanks to all.

"Le temps ne fait rien  l'affaire, quand on est con, on-est-con !"
-- Georges Brassens
Gimp-developer mailing list

Reply via email to