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.

v1.0 created and uploaded by based on instructions by.

Usage
Download the script to your normal script folder, or your personal script folder if you have one, then refresh your scripts in GiMP (→→ in GiMP 2.6).

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 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.