You are here


The original scripting extension.

Color Decompose (For B&W Conversions)

As part of writing the next part of my tutorials on B&W conversion, I needed to quickly decompose an RGB image into different grayscale channels based on useful channels from all the color modes (RGB, CMY(K), LAB, HSV, HSL, YCbCr).

It was tedious doing it by hand, so I wrote up this small script to automatically decompose an RGB image layer (active) into each of the color decomposition modes, and to keep the most useful to me for B&W conversions.

BgMask: extract still background from video frames / mask frames against background

May 21, 2013: BgMask 0.3 is released!

Video tutorial:

This script adds several tools under Script-Fu - BgMask: "Extract background...", "Mask against background...", "Average linked layers...", and in BgMask 0.2 there are also "Extract background manually" and "Mask adjustments...". It can be used to mask moving objects/characters from animations with still background.

BgMask 0.3 introduces a new tool, "Blend Edges" which allows your masked objects to blend seamlessly into different backgrounds. Also, it improves the denoising algorithm of Mask Adjustments and adds a "Smoothen via paths" option.

Read the full description for detailed breakdown.

Create water ripple

This script-fu creates water ripples.

Dodge & Burn layer

This simple script add a new layer on top of the image filled with neutral grey and in overlay mode. You can use this layer with the dodge and burn tool to work on shadows and highlights without destroying datas.

Black & White variations to layers

This script creates predefined black and white variations and saves them as layers. Users can choose which variations should be created.

For more sophisticated possibilities use the channel mixer or other tools. This script just uses typical black and white variations, to provide a quick overview - just switch the layers visibility afterwards.

Install to .gimp-2.6/scripts in your homedir as bwvariations.scm, then start GIMP or click Script-Fu->Script refresh, you'll find it then under Script-Fu->Misc->bwvariations

Quick sketch RGB

I modified the script quick-sketch.scm of tuxcomputers, so it does not transform the image into grayscale, but leave the image in RGB mode.

The location of the script is "Script Fu / Artistic / Quick Sketch RGB"

Batch crop images... but keep centered

This is a small script for batch crop images and keep centered.

This is the script:

; 2012 Ivan Lantes Perez
; Script to crop images and keep centered

Frequency and/or Color Separation

One of the secrets of great image manipulation is to separate images into components. Frequency separation is often mentioned, breaking the image into so-called high-pass and low-pass layers. The high-pass layer separates out the sudden changes in an image and fiddling with this layer can enhance sharpening or even out blemishes. The low-pass layer can be used for smoothing out color transitions. Portrait photographers use this extensively for smoothing skin and removing spots. There is no native Frequency separation tool or filter built into gimp.

Move, Scale, and Rotate using paths as reference

This is a collection of four scripts which help with aligning layers for HDR and mask workflow, as well as simply scaling, moving, or rotating layers.

Embroidery Stitcher

Hi this is my second Script-Fu and it seems a few people liked it so i thought i would post it here at the registry.
It's a SCM script so it will go in your scripts folder.

Just open a image and select the layer you want to work on and go to Filters>Artistic>Embroidery Stitcher.
The script is non interactive, that is to say it just runs with no adjustments (for now), and should work on any layer or image.I may add a stitch width adjustment later.


Subscribe to RSS - Script-Fu