Gimp-Fu Scripts

Scripts for GIMP 2

Put these Python scripts in your "plug-ins" folder (e.g. "C:\Users\Faxmachinen\.gimp-2.8\plug-ins"). You may have to right-click the link and choose "Save link as...".

Sprite sheet script

This script turns all layers into a sprite sheet.

plugin-sprite-sheet.py

Filter > Animation > Sprite Sheet...

A bunch of layers on top of each other are transformed into a series of layers next to each other. The sprite sheet plugin dialog.

Polaroid script

This script adds a border to make the result look like a Polaroid photo.

plugin-polaroid.py

Image > Create Polaroid...

For best result, crop the image to 1:1 first so the script won't do it for you.

A scenic image is turned into a square image with a white border. The Polaroid plugin dialog.

Depth merge script

This script takes two color layers and two corresponding depth map layers and merges them three-dimensionally.

It works with 8-bit (grayscale) and 24-bit depth maps.

Note that a depth merge filter is already included with GIMP, but it does not support 24-bit depth maps.

plugin-depth-merge.py

Filters > Combine > Depth Merge 2...

A picture of a yellow cube is combined with a picture of a blue cube into one one image. The depth merge plugin dialog.