File:2Dimage-3Dimage.txt

This is a GIMP script for turning small pixel art images into prettier, pseudo-3D images for making StrategyWiki guides look that much better.

Created and uploaded by based on instructions by.

Set up
Download this text file and change the extension to ".scm", so the file is named "2Dimage-3Dimage.scm". Add the script to your normal script folder (\share\gimp\2.0\scripts in your GIMP folder by default), or your personal script folder if you have one. Then refresh your scripts in GIMP (→→ in GIMP 2.6).

Usage
This script works on an open image with one layer and an alpha channel ( → → ). The image should already have its unwanted parts cropped out to transparency. For the best results, leave at least 2-3 pixels of empty, transparent padding around the image so the feathered border doesn't get cropped. The script can be found in →→. After setting the parameters and clicking "OK" in the dialog box, Undo-ing will undo all changes made by the script.

Parameters

 * Scale: This increases or decreases the size of the image. No interpolation is used, so scaling is only advisable for true pixel art.
 * 3D thickness: This is the pixel width of the 3-dimensional side in total. This means both the dark and light sections combined.
 * Light edge: This is the pixel width of the light section of the 3-dimensional side.
 * Border size: This is the pixel width of the border that goes around the entire image.
 * Border feather: This determines how sharp or blurred the edges of the border are (0 = no feathering).
 * Border color: The border color. Try to pick something that doesn't blend in with any part of the edges of the image.
 * Gradient opacity: A black to white gradient is applied over the face of the image to lend a more 3D look. This sets how much of that gradient will show through. Higher opacity makes the dark side darker and the light side lighter.