None that I'm aware of -- docs.gimp.org lists a "Script-Fu Migration Guide" but
that is relative to GIMP 2.4 (when GIMP switched script-fu engines) and not up
to date with current versions.
In the case of gimp-selection-load specifically, the one parameter is a channel
handle and I assume it operates on the 'current' image (which is probably the
reason for its deprecation). The three parameters to gimp-image-select-item
1 - target image handle
2 - Type of operation to perform on the target image (add/subtract/etc.)
3 - Source item to operate from (layer, channel, etc.)
All these parameters make sense. Your image handle is provided automatically
when executing your script, CHANNEL_OP_REPLACE or CHANNEL_OP_ADD is probably
what you want to fill in for parameter 2, and parameter 3 can take the channel
handle just like the older function.
Numbers may not lie, but neither do they tell the whole truth.
> Date: Sun, 18 Oct 2015 12:25:10 +0200
> From: jarau...@skynet.be
> To: firstname.lastname@example.org
> Subject: [Gimp-user] Script-Fu deprecation warnings - how to handle these?
> from time to time I get deprecation warnings in older script-fu scripts.
> gimp-selection-load should be replaced by gimp-image-select-item
> but gimp-image-select-item always takes 3 parameters while
> gimp-selection-load had been called with a single parameter.
> Is there an upgrade guide for script-fu scripts?
> Many thanks for a pointer,
> gimp-user-list mailing list
> List address: email@example.com
> List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
> List archives: https://mail.gnome.org/archives/gimp-user-list
gimp-user-list mailing list
List address: firstname.lastname@example.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives: https://mail.gnome.org/archives/gimp-user-list