Hi, why don't you just do what we suggested? If you would use gimp_by_color_select() instead of gimp_run_procedure(), the compiler would be able to tell you that your code is buggy. Sven _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer