deviant art





Login
Join deviantART for FREE Take the Tour Lost Password?
Deviant Login
Shop
 Join deviantART for FREE Take the Tour
[x]

Featured in Groups:

Details

January 3, 2008
6.0 KB
Link
Thumb

Statistics

Comments: 51
Favourites: 62 [who?]
Views: 16,675 (3 today)
Downloads: 4,757 (0 today)

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
[x]
:iconfence-post:
EDIT October 9, 2008: Updated script to work in GIMP 2.6 (the newest stable version.) If you have a previous version of this script, please delete it to avoid conflicts.

Let me know if you have any trouble with it.


See update information in bold below....

This script was made as the result of a request by Photocomix ([link]) and uses steps he described in creating a contrast mask in a method different from a "typical" contrast mask due to a bug in GIMP's Overlay Mode. It works in GIMP 2.4 only. If you would like a script for GIMP 2.2, click here: [link]

The script makes a duplicate of the active layer and places it above the active layer. The blend mode of the duplicate layer is set to Hard Light. The bottom layer is desaturated using the desaturation type set by the user and the colors of the original layer can be inverted if the user so chooses. A Gaussian Blur is applied using horizontal and vertical blur settings set by the user when the script is first run. The layers can be merged if desired.

Updated 1/16/08: The option to work on the selected area only has been removed. After several tests of my own and comments from PhotoComix, we decided that working on the selected area was just too unsightly and didn't produce the desired results. So, that option's just been removed.

Updated 1/11/08: Based on some suggestions/requests by Photocomix (PC), I've updated the script to work much better. The updates implement some new defaults as requested by PC, as well as allow the user to decide if the script will work on an existing selection only. That way, if you only want portions of the layer affected, the actions will take place on the selected area only. The script actually works on the whole layer, but I've used layer masks to hide the rest of the area. Also, if the merge option is left off, the layer masks will be kept in place you can tweak the mask at your leisure. I've also made the script name each layer based on the appropriate action taken on the respective layer. Hope you like the changes.

Just click on the download link to open the script in your browser window and then save it (File Menu > Save) in your GIMP scripts folder (ie....C:\Program Files\GIMP-2.0\share\gimp\2.0\scripts)

Then, go to the main GIMP window (not the image window) and choose the Filters > Script-FU > Refresh Scripts and the script can be found in the Image's Filters Menu > Photo > Photocomix Contrast Mask...

Enjoy!

Art
:icon:
Add a Comment:
 
love 2 2 joy 2 2 wow 0 0 mad 0 0 sad 1 1 fear 0 0 neutral 0 0
:iconmomphotographer:
great! finally I've found some script that works :-) thanks for sharing!
Reply
:icongame-flea:
This is a very usefull script :) Thanks

--
Life is simple, people are complicated.
Reply
:iconfence-post:
You're welcome!

--
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!
Reply
:icon1days:
Thanks FP! Can't wait to use it. Love your work!
Reply
:iconantichange:
~antichange Oct 10, 2008   Artisan Crafter
Yay for updates! (:

--
I like whales. [_.]^
Reply
:iconajalee:
Some how I can't find it on mine. Could someone help me out?
Reply
:iconfence-post:
Just a couple of quick questions so I can help you figure out what happened...

What happened when when you clicked on the Download link?
Are you using Windows?
If you're using Windows, how did you save the file?

Let me know and I'll try to help you out.

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!
Reply
:iconajalee:
Well when I click on the download link it goes to this white page with a bunch of words that looks almost like html.

Yes, I'm using Windows.
Reply
:iconfence-post:
Actually, that's the script! Here's what you need to do:

When you open up the script, copy the entire code (Ctrl+A) and then open up Windows Notepad (should be some place like this Start > Accessories > Notepad). When Notepad opens, paste the code (Ctrl+V) into it. Then, go to File > Save As, locate your GIMP Scripts folder (C:\Program Files\GIMP-2.40\share\gimp\2.0\scripts), give the Script a Name (with a ".scm" extension on the end), and then under "Save as Type" select All Files. Hit the Save button. Then in GIMP go to Xtns > Script-Fu > Refresh Scripts and your script should be ready to use.

Let me know if you still have any trouble.

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!
Reply
:iconajalee:
Thank you very much.
Reply
:icon:
Add a Comment: