Adds custom image processing features to Windows Context Menu (mouse right-click on file). I created it because sometimes I need to resize some images quickly or remove white margins. Included methods are not perfect but it's just enaugh for me.
It's more like tool to create own functions and register it asap in Windows Context Menu than library to image processing.
To add new function (e.g resize) in Windows Context Menu just add new method to ImageEditor class and run Install.py like:
def quick_xxx(self, item):
img = Image.open(item)
...
...
Name of new method must starts with 'quick_'.
- .bat files will be generated autmaticly in ImageRunnes dir,
- Windows registry will be filled automatically with each .bat runner,
- Tab name in Windows Context Menu is based on method name and build as below
self.name_safe.replace("-", " ").replace("_", " ").replace("P", "%").capitalize()
# effect:
# quick_reduce_10 --> Quick reduce 10
