You are here

script

Resize and Match DPI

Resize-match-dpi is a GIMP Script-Fu script to resize or scale an image along with scaling the DPI. If we scan a 4.75″ x 4.70″ image at 300 DPI with a pixel resolution of 1425 x 1409 and we want to scale it down to 1280×1266, most programs will rescale the image but not touch the DPI. This means when the image is viewed or printed it will appear too small (4.27″ x 4.22″). This script scales the DPI to match the new pixel resolution so it will still appear as 4.75″ x 4.70″. Comments are greatly appreciated.

Stit-ch-art 2.0

The Stit-ch-art is a script-fu extension for the GIMP. Stit-ch-art creates a cross-stitching chart based on a given image. It applies the modified Madeira palette with 256 colors on the copy of the image, and then scans it pixel by pixel for color codes while generating black and white chart ready for printing (includes color legend from Madeira).

The attached zip-file contains the script stitchart.scm, readme.txt, and 2 palettes: madeira.gpl and madeira256.gpl.

Descreen

Descreen is a script that does descreening using the FFT Fourier plugin ( http://registry.gimp.org/node/19596 )

This script does descreening without blurring the image.

It can descreen the following picture :

And gives the following picture :

Merge Animation

This script takes two animations, using layers as frames, and merges them together with the blend mode and offsets specified. You can choose to make the animation length be the LCM of the two animation lengths, or the minimum length.

Picture 1Picture 2
Merged Animation

Switch Sides Ver 1.1

This is a simple script that switches the left and right halves of the loaded single layer image. I wrote this because I have a 3D lens and by switching the two halves of the image, the image become a cross-view 3D image. It makes the process quick and easy. Maybe someone else can benefit from it.

Version 1.1 doesn't flatten the image as version 1.0 did. Instead it merges the two layers, leaving the remaining layers as they were. The resulting layer has an alpha channel, so transparencies remain intact.

LaTeX formulas (via textify.com)

This script is a simple add-on to the wonderful service textify.com provides: You give LaTeX-Code and get the formula as an image to add it e.g. into an presentation (who wants to use Microsoft Formula Editor??) Using this add-on you take gimp as an proxy that is able to change the text-color (textify.com only provides plain black on white background with some alpha-pixels). You may choose an image size as textify.com provides it and get an _real_ alpha background image and you favorite text color.

I\frac{1}{\Heart}=\vec{g}_i^M\left(\pi\right)\curlyveeuparrow

Slime

Generates a slime texture. You can control for the size of the texture, and the results are generated in a new layer in the active image.

Slime

Camo

A simple script to generate a camo pattern. You can control for the colours used, number of colours, roughness of the edges, and size of the blobs. Results are generated in a new layer in the active image.

Camo

Wave Tank

Generates an animation by taking the active layer and applying a tileable, looping pattern like you might see on the bottom of a swimming pool. You can control the size of the pattern, number of frames, and blend mode of the pattern. The resulting animation is created in a new image.

Wave Tank

How it works

Make shortcut

A plugin that makes shortcuts, in a Shortcuts menu, to other plugins.

Install it in your local plugin directory. You can run it to see what it would do, and cancel it, without creating any shortcuts. If you do create shortcuts, it will create them in your local plugin directory. You can later manually delete the shortcut plugins.

This is a prototype that I'm posting for comment. It works but it could be improved. I would be glad to start a community project.

A future version might:
- let you enter parameters for the target plugin (make a "preset")

Pages

Subscribe to RSS - script