Results 1 to 8 of 8

Thread: GIMP Gradient Script

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Info GIMP Gradient Script

    A while back I wanted to create some hypsometric gradients in GIMP. There a quite a few out there (usually as jpegs) and being a lazy guy I wrote a script rather than messing about with the gradient editor (attached).

    The script gets loaded into the gradient menu (accessible in the gradient palette, click the < arrow in the right hand corner). Chose the image and layer (drawable), dial the segments in the gradient, and select if you want the segments to be blended or stepped.
    2008-06-04_130903.png

    The program will sample the entire source vertically, and horizontally depending on the segments selected.

    Here is a source image I ran the script on:
    hypso_humid_boost.png

    and here is the resultant gradient that was created, opened in the gradient editor:
    2008-06-04_131245.png

    And a resultant fill with that gradient:
    gradient.png

    Unchecking "smooth" will make the gradient colour steps. I have limited it to 256 steps, but you could change she script to more quite easily (the limit for GIMP gradients is 1024).

    -Rob A>
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •