> stormy@xxxxxxxxxxxxxxxxx (stormy@xxxxxxxxxxxxxxxxx) wrote: >> How do I access existing PDB procedures from a C plug-in? I'm very >> familiar with how this is done in Scheme & Python. I'm confused on how >> this is accomplished in C. > > Look for "gimp_run_procedure". > > One example is in file-ico.c: > > return_vals = > gimp_run_procedure ("plug-in-threshold-alpha", &n_return_vals, > GIMP_PDB_INT32, GIMP_RUN_NONINTERACTIVE, > GIMP_PDB_IMAGE, tmp_image, > GIMP_PDB_DRAWABLE, tmp_layer, > GIMP_PDB_INT32, ICO_ALPHA_THRESHOLD, > GIMP_PDB_END); > gimp_destroy_params (return_vals, n_return_vals); > > I hope this helps. > > Bye, > Simon > > -- > simon@xxxxxxxx http://simon.budig.de/ > _______________________________________________ Thank you. That is very helpful. ~Stormy _______________________________________________ gimp-developer-list mailing list List address: gimp-developer-list@xxxxxxxxx List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list