script-fu

GIMP: Create image stack from all image files in folder

随声附和 提交于 2019-12-02 04:42:37
问题 I need to compare the results of segmentation algorithms where lots of images need to be stacked - e.g. original and binary image. So I thought of a GIMP script which takes the name of a directory and puts all containing image files into layers so that they can be switched on and off in GIMP to compare results. How to achieve this with GIMP? Thank you for your tips! Regards 回答1: "Not with script-fu". But Python is suitable to your needs. It is a simple script - the core logic should be 4

GIMP: Create image stack from all image files in folder

戏子无情 提交于 2019-12-02 00:41:45
I need to compare the results of segmentation algorithms where lots of images need to be stacked - e.g. original and binary image. So I thought of a GIMP script which takes the name of a directory and puts all containing image files into layers so that they can be switched on and off in GIMP to compare results. How to achieve this with GIMP? Thank you for your tips! Regards "Not with script-fu". But Python is suitable to your needs. It is a simple script - the core logic should be 4 lines or so, therefore I will just write it here for you: #!/usr/bin/python # -*- coding: utf-8 -*- from gimpfu