Wednesday, February 15, 2023

GIMP10 constantize

 (gimp10_constantize.py, gimp10_constantize_batch.py)

Author: Tin Tran [aka: Tin, Tim, Trandoductin]
(minor correction: MrQ)


Thread on GimpCht:
http://gimpchat.com/viewtopic.php?f=9&t=16827&hilit


A plugin for Gimp 2.10 that improves older versions of scripts (scm) and plugins (py) by changing the syntax (names) to match the new syntax of PDB routines.
Only applies to new names for: layer_modes, blend_modes, fill_modes, mask_types, fill_buckets.
It allows the user to select a .scm or .py file and will replace all occurrences of old constant names with GIMP 10 constant names.
will create a backup with the _backup extension added to the filename and overwrite the file with GIMP 10 constants.
Two versions: for repairing a single file and in batch (all from the selected directory).

Single file

In menu: Tools ➤ GIMP10 constantize...


 

 Batch

In menu: Tools ➤ GIMP10 constantize batch...

 



No comments:

Post a Comment

Keep the tone of your comments civil and courteous. Keep in mind that there are no authors of plugins and scripts manning this site. Any comments posted for help or requests may go unanswered. Go to GimpChat.com and do a search instead.