It is currently Tue Jun 09, 2026 11:30 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Add a Stop at offset percentage to a gradient (.py script 2 functions)
PostPosted: Thu Sep 22, 2016 2:02 pm  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
Currently there is no way (at least I don't know of one) to add a Stop to an editable gradient
at a specific offset percentage specifying color and opacity
So this .py script will help with that. (Access by right clicking a gradient <Gradients>/GGR/Add a Stop...)
Release 2.
Attachment:
edit-gradients.zip [1.75 KiB]
Downloaded 206 times


2 functions
1. <Gradients>/GGR/Add a Stop...
2. <Gradients>/GGR/Delete Stops within Range...

Release 2 Notes: Added "Delete Stops within Range" so that it's similar to <Gradients>/SVG/Delete Stops within Range.

Where it's located.
Image

Options.
Image

I put it under <Gradients>/GGR/Add a Stop...
but it's more like any editable gradient. (Okay for now I think, I want it to be different from <Gradients>/SVG/Add a Stop...)

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Last edited by trandoductin on Thu Sep 22, 2016 5:18 pm, edited 3 times in total.

Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Added "Delete Stops within Range" functionality
PostPosted: Thu Sep 22, 2016 4:26 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
Release 2:
Added "Delete Stops within Range"
so that it's friendly/similar like <Gradients>/SVG/Delete Stops within Range...
Image

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Top
 Post subject: Re: Add a Stop at offset percentage to a gradient (.py script 2 functi
PostPosted: Thu Sep 22, 2016 7:23 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4826
Location: Bendigo Vic. Australia
Trandoductin Thank you for the script and the education about the gradient editor :yes

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Add a Stop at offset percentage to a gradient (.py script 2 functi
PostPosted: Thu Sep 22, 2016 8:35 pm  (#4) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4469
Location: Canada
Graechan wrote:
Trandoductin Thank you for the script and the education about the gradient editor :yes


:hehe I thought I discovered a well hidden gem when i went a cross a message on Gimp's Developer's mailing list archive that mentioned dragging and dropping colors onto gradients.
The script is just so users can add stop at exact percentage and well opacity..

_________________
TinT
My GIMP 2.10 plug-in writer Fiverr Gig
Plaid Community Forum
Imageplaid-patterns.com


Top
 Post subject: Re: Add a Stop at offset percentage to a gradient (.py script 2 functi
PostPosted: Fri Sep 23, 2016 5:52 am  (#5) 
Offline
Global Moderator
User avatar

Joined: May 16, 2010
Posts: 16023
Nice addition to the gradient editor for GIMP gradients Tran! Thank you. :)
Allowing drag and drop of colors onto a gradient file is something i did not know until now.

_________________
Image


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group