Import GIMP Gradient

I’m fairly certain you saw this coming considering the scripting spree I’ve been on lately. xD

GIMP gradients work differently than PSP gradients. Specifically in how the gradients themselves are calculated. They have several different algorithms for intepolating between colors, while PSP only uses one. So not al gradients imported into PSP will look like a 1 to 1 match with GIMP Gradients.

It is possible that one day I may find a way to convert these other models to PSP’s linear model but for now I just force all gradients to be linear.

Version History:
V1.0 – Initial Script released, imports gradients one at a time
V1.1 – Secondary release – can now import several gradients at once

Script Name: ImportGGR
Download Link: https://drive.google.com/file/d/1DP-1p1 … sp=sharing
Compatibility: X4 – X9 (tested in X7, x8, X9, 2018)
Requirements: Place in Scripts-Trusted Folder

Import GIMP Patterns

The last of the GIMP file format importers. This one takes GIMP Pattern file (.pat) and converts them into PNG files and places them into your patterns folder. You can select multiple patterns at once to import if you wish.

Version History:
V1.0 – Initial Script released, imports patterns.

Script Name: ImportGIMPPat
Download Link: https://drive.google.com/file/d/1m6Uwis … sp=sharing
Compatibility: X4 – X9 (tested in X7, X8, X9, 2018)
Requirements: Place in Scripts-Trusted Folder

Import Gimp Image Pipe

In GIMP an Image Pipe or Animated Brush is the equivalent of PSP’s Picture Tubes. In fact, GIMP has the ability to import PSP Picture Tubes and save them as Image PIpes. So I figured we should be able to do the same.

The script works like this. Gimp Animated Brushes or Image Pipes are just a collection of regular GIMP brushes. So, what I do is I calculate the final size of the image, then save out each brush head as a PNG file, importing them back in and copying them into the final image. This is very slow when dealing with large brushes.

I am working on a way to make this faster by pre-making the final image instead of slowly loading images in. But for now, this should, hopefully, suffice.

Script Name: Import Image Pipe
Download Link: https://drive.google.com/file/d/1vtHv6vTnqy95mYTIf47XHJfv3aXwb_lJ
Compatability: X4 – 2018 (tested in X7, x8, X9, 2018)
Requirements: Place in Scripts-Trusted Folder

Gimp Color Palette Converter

GPL Files are how GIMP stores some of its color palettes. It’s a very simple list of RGB values with a name.

This script will import the colors as swatches into the currently selected gradient.

GIMP allows swatches in the same palette to have the same name, PSP does not. So when importing swatches with the same name will be auto-incremented.

Download Link: https://drive.google.com/open?id=1mO8km … X3w9Is5Z0m
Compatability: X4 – 2018 (tested in X7, X8, X9, 2018)
Requirements: Place in Scripts-Trusted Folder

Adobe Color Palette Converter

ACO files are Adobe’s Color Swatch/Palette files. They can contain any number of color swatches in multiple color formats: RGB, HSB, CMYK, LAB, Greyscale.

This script allows you to select any ACO file from your hard drive and import them as swatches into the currently selected swatch palette. If they have a name inside the ACO file that name is how the swatch will be named.

Currently, LAB colors are not supported and CMYK has not been tested. So I can only guarantee the RGB, HSB, and Greyscale colors will be converted properly with this script.

Download Link: https://drive.google.com/file/d/1blDhOV … sp=sharing
Compatability: x4 – 2018 (tested in X7, X8, X9, 2018)
Requirements: Place in Scripts-Trusted Folder

GIMP Brush Converter

GBR files are one of several Brush formats that the GIMP uses. At the moment this script only properly supports greyscale brushes. Plans to add 32-bit support are in the work.

Because of how scripting works in PSP I have to jump through a few hoops to get this to work but it’s pretty fast with very little needed from you.

The script opens a brush file, converts it to a bmp file and saves that file to your hard drive in the same location as the GBR file.   The script then opens that file in PSP and exports it as a brush. followed by closing the file and then deleting it.

Just make sure that your brushes are in a folder that can be written to without administrative privileges.

Download Linkhttps://drive.google.com/file/d/1Db4bMk … sp=sharing
Compatability: X6 – 2018 (, 2018)
Requirements: Place in Scripts-Trusted Folder

Version History:

v1.0 – Initial brush script – only supports greyscale brushes

v1.1 – added support for 32-bit true color + alpha brushes.

Rename Layers

This version of the script will only run in X4 – 2018. I have another one for older versions if anyone wants it but it lacks a key feature of this script.

This script renames layers using a prefix and a layer count. Example Prefix = “Layers_” so the first layer will be “Layers_001” You are asked for the prefix when the script is run so you can use any prefix you want. This script also assumes that you have no layer groups.

How it works: There are two ways to use this script.

1) Select a starting layer, then run the script. You’ll be asked for the prefix, then the number of layers to rename. The script will rename the currently selected layer up to the number of layers you indicated. So if you said “3” layers it’ll rename the current layer plus the next two above it. This script does not take layer groups into account. That would take longer.

2) Select all of the layers you want to rename before running the script using either SHIFT or CTRL to add layers to the selection. Then run the script. You’ll be asked for a prefix and it’ll rename all selected layers with that prefix and the layer count.

VIDEO: https://drive.google.com/file/d/0B8FlFL … Fwak0/view

Download Link: https://drive.google.com/file/d/0B8FlFL … sp=sharing
Compatability: 8 – X9 (tested in X7, x8, X9, 2018)
Requirements: Place in Scripts-Restricted Folder

Palette To Swatch Conversion

So Pixelnook has a script that converts an image’s color palette (if the image is a 256 indexed color image) and saves it as a palette.

Someone on the forums wanted a script that would convert the .pal and .psppalette files to swatches. That’s what I’ve attempted here.  I’ve also included Gimp Palette files as an option.

The code is quite ugly but should get the job done. The accompanying video also shows some of the bugs/issues with the script.

You can watch that video here: https://drive.google.com/a/trinitybible … laUDg/view

Download Link: https://drive.google.com/file/d/0B8FlFL … sp=sharing
Scripts Requirements: Place in Scripts-Trusted folder
Compatability: PSP8 – 2018

Create a free website or blog at WordPress.com.

Up ↑