GIMP

difference layer effects

Simple Difference Layer Scripting

cheese

This script attempts to make the simple difference layer effect found in other places on this web site.

download

Download the script. Also, the simple difference layer effect is not a long read:

#!/usr/bin/env python
#

from gimpfu import *

PLUGIN_VERSION = '0.1'


def layer_effect_difference(image, drawable):
    layer_copy = pdb['gimp-layer-copy'](drawable, True)
    pdb['gimp-image-add-layer'](image, layer_copy, 0)
    pdb['gimp-layer-set-mode'](layer_copy, DIFFERENCE_MODE)


register(
	"python_fu_layer_effect_difference",
	"Add a difference layer to your image.",
	"Add a difference layer to your image.",
	"Carol Spears",
	"Carol Spears",
	"2006",
	"<Image>/Layer/Effect/Difference",
	"",
	[],
	[],
	layer_effect_difference)
main ()

files related to subject

This simple script makes some images much easier to look at.