Post Reply 

Script to colorize a batch of png files

Sep 16, 2011, 15:56 (This post was last modified: Sep 16, 2011 16:03 by ShakaZ.)
Post: #1
Script to colorize a batch of png files
Hello,

this is the first script I'd like to do in Gimp. I've looked into the batch script and GAP but they don't seem to do what is needed here.

I've got about 100 pictures in png format that should be colorized at different hue values and maybe constant lightness and contrast values.
The procedure browser shows there is a gimp-colorize procedure available with a hue property from 0 to 360.
The files are named img001.png till img103.png.

I'd like the script to open & colorize each image with an increasing hue value, then save it in a separate folder or with a different prefix. Logically the hue step should be around 3.6 to cover the whole range, or a bigger step could be used to change the colors faster, but then I guess some modulo function should step in.
Find all posts by this user
Quote this message in a reply
Sep 16, 2011, 17:38
Post: #2
RE: Script to colorize a batch of png files
Is that a question?

[Image: 2Tvo0.png]

Find all posts by this user
Quote this message in a reply
Nov 11, 2011, 13:08
Post: #3
RE: Script to colorize a batch of png files
Must it be gimp? If you are using linux and has basic shell scripting knowledge, look at imagemagick:

http://www.imagemagick.org/script/convert.php
Find all posts by this user
Quote this message in a reply
Dec 3, 2011, 19:33
Post: #4
RE: Script to colorize a batch of png files
There is a script out already that changes the hue of a image via animation.This may be what you are looking for.That is if you are looking to start developing a script for this effect.
You can get the script here
http://www.deviantart.com/download/25461...47lb9m.zip

-Rod
My Gimp Rocks Blog
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Get file content - Script fu - Scheme nbrau 4 115 Dec 15, 2014 10:34
Last Post: nbrau
  Batch processing with plug-in-threshold-alpha Puzzled123 7 147 Dec 10, 2014 17:00
Last Post: Puzzled123
  Is there a script-fu script which replaces all shades of a color with a single shade? tahi.laci 2 102 Dec 8, 2014 11:34
Last Post: tahi.laci
Smile How to create gimp-python script? Nisha 1 83 Dec 7, 2014 14:39
Last Post: ofnuts
  script-fu to round corners of files in given folder joy_boy 16 230 Dec 1, 2014 13:20
Last Post: rich2005

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS