Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?

2013-04-13 Thread Sam Bizzell
Hi Liam, I'm using Gimp 2.8.2 on MacOS 10.8.3 (the precompiled X11 version, 
much snappier for me than the native Gimp 2.8.4). I've definitely dabbled in 
programming and would not be against attempting to roll my own Gimp. I would, 
however, really appreciate any pointers which would get me started in the right 
direction. For now I'll start looking into the source code to see if I can 
figure out what needs to be done.

I'd never used the rotate colors plugin. Seems extremely powerful! Not sure if 
it will do exactly what I need though, but I don't really understand how to 
utilize it's full functionality just yet.

Not sure if I can get the accuracy I need out of any other color selection 
method. I will fiddle around with it a bit though and see if it's possible for 
me.

Thanks so much for your help!


On Apr 12, 2013, at 12:26 PM, Liam R E Quin l...@holoweb.net wrote:

 On Fri, 2013-04-12 at 05:46 -0600, Sam Bizzell wrote:
 Thanks Kevin! I've been wracking my brain trying to figure out another
 way to simulate the overlap behavior, sure haven't been able to come
 up with anything yet. Do you have any suggestions, or know where I
 could look for the answer? I also need to submit a feature request to
 have this added to a future Gimp.
 
 Are you using gimp 2.8? On which platform? If you compile your own gimp,
 this would probably be reasonably easy to add.
 
 An alternative might be to see if there's a saturation argument to the
 rotate colours plugin.
 
 Another way is to use select by colour, perhaps, and then affect the
 selection, perhaps on a duplicate layer and using desaturate and layer
 opacity?
 
 Liam
 
 -- 
 Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
 Pictures from old books: http://fromoldbooks.org/
 Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
 

___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?

2013-04-13 Thread Sam Bizzell
Thanks for the info! I will keep trying to find a work around for now. So 
unfortunate that I can't just call the overlap setting as it works perfectly 
for me as is. :(

Glad I'm not alone in my thinking though! :)


On Apr 12, 2013, at 8:25 PM, Richard Gitschlag strata_ran...@hotmail.com 
wrote:

 
 
  From: l...@holoweb.net
  To: applecha...@gmail.com
  Date: Fri, 12 Apr 2013 14:26:56 -0400
  CC: gimp-user-list@gnome.org
  Subject: Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?
  
  On Fri, 2013-04-12 at 05:46 -0600, Sam Bizzell wrote:
   Thanks Kevin! I've been wracking my brain trying to figure out another
   way to simulate the overlap behavior, sure haven't been able to come
   up with anything yet. Do you have any suggestions, or know where I
   could look for the answer? I also need to submit a feature request to
   have this added to a future Gimp.
  
  Are you using gimp 2.8? On which platform? If you compile your own gimp,
  this would probably be reasonably easy to add.
  
  An alternative might be to see if there's a saturation argument to the
  rotate colours plugin.
  
  Another way is to use select by colour, perhaps, and then affect the
  selection, perhaps on a duplicate layer and using desaturate and layer
  opacity?
  
  Liam
  
  -- 
  Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
  Pictures from old books: http://fromoldbooks.org/
  Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
  
  ___
  gimp-user-list mailing list
  gimp-user-list@gnome.org
  https://mail.gnome.org/mailman/listinfo/gimp-user-list
 
 Select By Color does sound like the best option - calculate the threshold to 
 based on hue, with some degree of antialiasing and/or feathering, then just 
 do a regular Hue-Saturation adjustment on the resulting selection.
 
 Remember, the Overlap region really only affects how GIMP handles the 
 transition from one Hue-Saturation channel to the next.  Internally, GIMP 
 maps an input pixel (in HSV space) by both of the nearest channels and then 
 interpolates the result based how close the hue is to the exact mid-hue 
 between channels (relative to the overlap width).
 
 Second that there should be a PDB call that allows you to specify the overlap 
 setting.  It's part of the tool's UI, it should be exposed for scripts too.
 
 -- Stratadrake
 strata_ran...@hotmail.com
 
 Numbers may not lie, but neither do they tell the whole truth.

___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?

2013-04-12 Thread Sam Bizzell
Thanks for the response! I was sure hoping I had overlooked something. Too bad 
this functionality's not available. Do you know how one would go about sending 
in a feature request?


On Apr 10, 2013, at 5:29 PM, Richard Gitschlag strata_ran...@hotmail.com 
wrote:

  From: applecha...@gmail.com
  Date: Sun, 7 Apr 2013 18:49:48 -0600
  To: gimp-user-list@gnome.org
  Subject: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?
  
  Sorry if this is the wrong way to ask this question, but… I am trying to 
  write a script which desperately needs access to the overlap function of 
  the Hue-Saturation tool. What I've found so far is…
  
  (gimp-hue-saturation drawable hue-range hue-offset lightness saturation)
  
  Am I overlooking something obvious? Thanks so much in advance for any 
  information you may be able to provide! I love the Gimp and thoroughly 
  appreciate ALL developers involved in its continuous evolution into the 
  most versatile tool I use daily!!
  ~Sam
  ___
  gimp-user-list mailing list
  gimp-user-list@gnome.org
  https://mail.gnome.org/mailman/listinfo/gimp-user-list
 
 Does not seem possible atm, sorry.  But I do agree the 
 Hue-Saturation-with-overlap functionality should be exposed to GIMP scripting 
 just the same
 
 -- Stratadrake
 strata_ran...@hotmail.com
 
 Numbers may not lie, but neither do they tell the whole truth.

___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?

2013-04-12 Thread Sam Bizzell
Thanks Kevin! I've been wracking my brain trying to figure out another way to 
simulate the overlap behavior, sure haven't been able to come up with anything 
yet. Do you have any suggestions, or know where I could look for the answer? I 
also need to submit a feature request to have this added to a future Gimp.


On Apr 11, 2013, at 11:47 AM, Kevin Cozens ke...@ve3syb.ca wrote:

 On 13-04-07 08:49 PM, Sam Bizzell wrote:
 I am trying to write a script which desperately needs access to the
 overlap function of the Hue-Saturation tool. What I've found so far is…
 
 (gimp-hue-saturation drawable hue-range hue-offset lightness saturation)
 
 Unless the overlap setting can be simulated/emulated using a second layer, 
 there is currently no way to set overlap. It would require a new PDB call 
 that takes the extra parameter or adding a context setting to allow overlap 
 to be set.
 
 -- 
 Cheers!
 
 Kevin.
 
 http://www.ve3syb.ca/   |Nerds make the shiny things that distract
 Owner of Elecraft K2 #2172  | the mouth-breathers, and that's why we're
| powerful!
 #include disclaimer/favourite | --Chris Hardwick
 ___
 gimp-user-list mailing list
 gimp-user-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-user-list

___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?

2013-04-12 Thread Liam R E Quin
On Fri, 2013-04-12 at 05:46 -0600, Sam Bizzell wrote:
 Thanks Kevin! I've been wracking my brain trying to figure out another
 way to simulate the overlap behavior, sure haven't been able to come
 up with anything yet. Do you have any suggestions, or know where I
 could look for the answer? I also need to submit a feature request to
 have this added to a future Gimp.

Are you using gimp 2.8? On which platform? If you compile your own gimp,
this would probably be reasonably easy to add.

An alternative might be to see if there's a saturation argument to the
rotate colours plugin.

Another way is to use select by colour, perhaps, and then affect the
selection, perhaps on a duplicate layer and using desaturate and layer
opacity?

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml

___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?

2013-04-12 Thread Richard Gitschlag


 From: l...@holoweb.net
 To: applecha...@gmail.com
 Date: Fri, 12 Apr 2013 14:26:56 -0400
 CC: gimp-user-list@gnome.org
 Subject: Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?
 
 On Fri, 2013-04-12 at 05:46 -0600, Sam Bizzell wrote:
  Thanks Kevin! I've been wracking my brain trying to figure out another
  way to simulate the overlap behavior, sure haven't been able to come
  up with anything yet. Do you have any suggestions, or know where I
  could look for the answer? I also need to submit a feature request to
  have this added to a future Gimp.
 
 Are you using gimp 2.8? On which platform? If you compile your own gimp,
 this would probably be reasonably easy to add.
 
 An alternative might be to see if there's a saturation argument to the
 rotate colours plugin.
 
 Another way is to use select by colour, perhaps, and then affect the
 selection, perhaps on a duplicate layer and using desaturate and layer
 opacity?
 
 Liam
 
 -- 
 Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
 Pictures from old books: http://fromoldbooks.org/
 Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
 
 ___
 gimp-user-list mailing list
 gimp-user-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-user-list

Select By Color does sound like the best option - calculate the threshold to 
based on hue, with some degree of antialiasing and/or feathering, then just do 
a regular Hue-Saturation adjustment on the resulting selection.

Remember, the Overlap region really only affects how GIMP handles the 
transition from one Hue-Saturation channel to the next.  Internally, GIMP maps 
an input pixel (in HSV space) by both of the nearest channels and then 
interpolates the result based how close the hue is to the exact mid-hue between 
channels (relative to the overlap width).

Second that there should be a PDB call that allows you to specify the overlap 
setting.  It's part of the tool's UI, it should be exposed for scripts too.

-- Stratadrake
strata_ran...@hotmail.com

Numbers may not lie, but neither do they tell the whole truth.

  ___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?

2013-04-11 Thread Kevin Cozens

On 13-04-07 08:49 PM, Sam Bizzell wrote:

I am trying to write a script which desperately needs access to the
overlap function of the Hue-Saturation tool. What I've found so far is…

(gimp-hue-saturation drawable hue-range hue-offset lightness saturation)


Unless the overlap setting can be simulated/emulated using a second layer, 
there is currently no way to set overlap. It would require a new PDB call 
that takes the extra parameter or adding a context setting to allow overlap 
to be set.


--
Cheers!

Kevin.

http://www.ve3syb.ca/   |Nerds make the shiny things that distract
Owner of Elecraft K2 #2172  | the mouth-breathers, and that's why we're
| powerful!
#include disclaimer/favourite | --Chris Hardwick
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?

2013-04-10 Thread Sam Bizzell
Sorry if this is the wrong way to ask this question, but… I am trying to write 
a script which desperately needs access to the overlap function of the 
Hue-Saturation tool. What I've found so far is…

(gimp-hue-saturation drawable hue-range hue-offset lightness saturation)

Am I overlooking something obvious? Thanks so much in advance for any 
information you may be able to provide! I love the Gimp and thoroughly 
appreciate ALL developers involved in its continuous evolution into the most 
versatile tool I use daily!!
~Sam
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?

2013-04-10 Thread Richard Gitschlag
 From: applecha...@gmail.com
 Date: Sun, 7 Apr 2013 18:49:48 -0600
 To: gimp-user-list@gnome.org
 Subject: [Gimp-user] Scripting Gimp's Hue-Saturation tool's overlap?
 

 Sorry if this is the wrong way to ask this question, but… I am trying 
to write a script which desperately needs access to the overlap function
 of the Hue-Saturation tool. What I've found so far is…
 
 (gimp-hue-saturation drawable hue-range hue-offset lightness saturation)
 

 Am I overlooking something obvious? Thanks so much in advance for any 
information you may be able to provide! I love the Gimp and thoroughly 
appreciate ALL developers involved in its continuous evolution into the 
most versatile tool I use daily!!
 ~Sam
 ___
 gimp-user-list mailing list
 gimp-user-list@gnome.org
 https://mail.gnome.org/mailman/listinfo/gimp-user-list

Does not seem possible atm, sorry.  But I do agree the 
Hue-Saturation-with-overlap functionality should be exposed to GIMP scripting 
just the same

-- Stratadrake
strata_ran...@hotmail.com

Numbers may not lie, but neither do they tell the whole truth.



  ___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list