[x]

deviantART

 

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Details
Submitted: December 11, 2007
File Size: 3.1 KB
Image Size: 286 KB
Resolution: 1000×750
Comments: 45
Favourites & Collections: 35 [who?]

Views
Total: 8,262
Today: 5

Downloads
Total: 3,214
Today: 2

Embed


Thumb

Artist's Comments

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 my very first script so please be gentle!

Enjoy!

Art
[x]

Devious Comments

love 0 0 joy 1 1 wow 1 1 mad 0 0 sad 0 0 fear 0 0 neutral 0 0

Comments


Oh dear...lookout! fencepost has gotten into scripting! Run for your lives, no Gimper is safe!

hehe...

--
[img][link]
Great job Fence. :sherlock: You always do a wonderful job. :highfive:

Regards

Jo

--
John 15:13 \"Greater love hath no man than this, that a man lay down his life for his friends.\"
nice one

--
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]
You know it! The world will never be the same.

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!
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

GIMP Dome ; Need Gimp Brushes? Check Here!
I may have misread you previous post....in re-reading it, I assume the context-pop is what resets everything back to default?

--
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!
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.
Thanks a bunch. I've added the push/pop and am working on the merging of the layers.

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!
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.

Site Map