EDIT October 9, 2008: This script has been tested in GIMP 2.6 (the newest stable version of GIMP) and it works fine with no modifications.
Based on suggestions by Insanity-Prevails ([link]), I have modified the script to allow the layers to be merged if the user so desires. Thanks for the suggestions, IP!
This script is based on a tutorial presented by gimptalk.com member, lylejk. You can view the tutorial here: ([link]). Stop by and say "hi" to lylejk and tell him thanks for the great tutorial and allowing it to be put into script format.
The script takes an existing image's active layer and makes two copies: setting the Middle copy to Saturation and the Top copy to Value. The Original Layer is then filled with your choice of color. Gives a very dramatic effect and, depending on the image, somewhat resembles an Infrared Photograph.
Just download the scm file and place it in your GIMP scripts folder (ie....C:\Program Files\GIMP-2.4\share\gimp\2.0\scripts)
Then, go to the main GIMP window (not the image window) and choose the Xtns Menu > Script-FU > Refresh Scripts and it should appear in the Image Window under the Filters Menu > Decor > Power Toning....
This is a nice first script. Installed it and tested it. Works nicely.
I have a suggestion though.
Add this to the script just after the let statement: (gimp-context-push). Then add this to the end before registering the script: (gimp-context-pop).
The current script changes the foreground colour and keeps it like that after the script has finished, which may not be what the user wants. Up to you of course, in case you feel it better to have the foreground colour changed for the user.
Also, a thought more than anything. What about an option that automatically merges the 3 layers together if the user asks for it?
Great first script anyway, and good with the comments. Looking forward to more scripting from you.
--
It seems meaninglessly drawn out and complicated.
Thanks for the fave on the script and excellent suggestions! I'll definitely add those changes in. I've seen the context-push/pop statements in yours/other scripts, but to be quite honest with you, I have no clue what they really do. I've read the comments in the Procedure Browser, but not being a programmer, the language confuses me. If you've got a good understanding of the statements, by all means, pass it my way.
BTW, do you use the Script-FU console while writing? I would have never been able to get through this one without it. I've finally figured out how to literally change an existing image right from there.
Thanks again!
Art
--
Yes, Art is my real name!
"I don't know about genius, I'd more say it was stupidity let loose...." Siminart
Yeah. Basically, everything that is set between context-push and context-pop is done on a temporary basis. When context-pop comes around settings revert back to what they were before context-push was used.
So if my foreground colour was black it would still be black after running the script regardless of what colour I picked in the user input dialogue.
--
It seems meaninglessly drawn out and complicated.
Updates the display so that the changes made appear onscreen immediately.
Like, if you removed/commented out the command then there wouldn't be any visual change in the canvas window until the user made some kind of action, like clicking a layer.
--
It seems meaninglessly drawn out and complicated.
Below we have compiled a list of 101 tips to help you improve your photography. You may know some of them already but were confident that you'll find at least a few gems in there! Go get yourself a cup of coffee and make sure you are sitting comfortably!
Spencer Kelly visits the Royal Albert Hall to see a digital graffiti wall where you can virtual spray paint to your heart's content and email the results to yourself.
Daily Literature Deviations is a group that is dedicated to bringing literature to the forefront of the deviantArt community. We attempt to accomplish this by daily featuring Literature artists from around the community that deserve the recognition, but are not getting it.
Each day we will feature 10 deviations from the Literature categories in a News Article. In order to support the artists that we feature, we ask that you the news article as well as check out the individual pieces. We understand that each day you may not be able to check out each and every one of the pieces, everyone has their own things going on. We just ask that you make an attempt to help support the growing Literature community.
When it comes to community spirit, `Rushy is a shining example. From participating in devmeets, to providing positive encouragement to other artists, `Rushy can always be found demonstrating what it really takes to be a true deviant. It's without any hesitation that we are delighted to award the Deviousness Award for July 2009 to `RushyRead More
Devious Comments
Comments
hehe...
--
[img][link]
Regards
Jo
--
John 15:13 \"Greater love hath no man than this, that a man lay down his life for his friends.\"
--
When did the concept of Valhalla change from a "battlefield to a warrior's paradise."
I say.. there is not a difference in the two.
Tips on Increasing Page Views: [link]
I'm hoping to figure out how to do that stroke path animation thingy you did a couple of days ago. I'll dedicate it to ya if I can get that far.
--
Yes, Art is my real name!
"I don't know about genius, I'd more say it was stupidity let loose...." Siminart
GIMP Dome ; Need Gimp Brushes? Check Here!
I have a suggestion though.
Add this to the script just after the let statement: (gimp-context-push). Then add this to the end before registering the script: (gimp-context-pop).
The current script changes the foreground colour and keeps it like that after the script has finished, which may not be what the user wants. Up to you of course, in case you feel it better to have the foreground colour changed for the user.
Also, a thought more than anything. What about an option that automatically merges the 3 layers together if the user asks for it?
Great first script anyway, and good with the comments. Looking forward to more scripting from you.
--
It seems meaninglessly drawn out and complicated.
BTW, do you use the Script-FU console while writing? I would have never been able to get through this one without it. I've finally figured out how to literally change an existing image right from there.
Thanks again!
Art
--
Yes, Art is my real name!
"I don't know about genius, I'd more say it was stupidity let loose...." Siminart
GIMP Dome ; Need Gimp Brushes? Check Here!
--
Yes, Art is my real name!
"I don't know about genius, I'd more say it was stupidity let loose...." Siminart
GIMP Dome ; Need Gimp Brushes? Check Here!
So if my foreground colour was black it would still be black after running the script regardless of what colour I picked in the user input dialogue.
--
It seems meaninglessly drawn out and complicated.
One last question: What does the gimp-displays-flush expression do? It's there in my script, but I don't really understand it.
Take care.
Art
--
Yes, Art is my real name!
"I don't know about genius, I'd more say it was stupidity let loose...." Siminart
GIMP Dome ; Need Gimp Brushes? Check Here!
Like, if you removed/commented out the command then there wouldn't be any visual change in the canvas window until the user made some kind of action, like clicking a layer.
--
It seems meaninglessly drawn out and complicated.
Previous Page12345Next Page