You are here

National Geographic Script

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!

Download script.

This script simulates a high quality (portrait) photo like these from the National Geographic.
Copy it into the scripts folder from GIMP, you will find it then under Filters -> Generic -> National Geographic.
Thanks to Martin Egger for the shadow revovery and the sharpen script, which I included in the script.
Examples:
http://www.flickr.com/photos/28653536@N07/2885742736/
http://www.flickr.com/photos/28653536@N07/2879128071/

Indian

Update1: Added local contrast option.
Update2: Optional inverted layer mask for brighter skin types.
Update3: Added a batch version of this script, run it with
gimp -i -b '(elsamuko-national-geographic-batch "picture.jpg" 60 1 60 25 0.4 1 0)' -b '(gimp-quit 0)'
or for more than one picture
gimp -i -b '(elsamuko-national-geographic-batch "*.jpg" 60 1 60 25 0.4 1 0)' -b '(gimp-quit 0)'
Be careful, the batch script overwrites the original image. More info here:
http://www.gimp.org/tutorials/Basic_Batch/
Update4: Fix for the batch script, it merges now all layers before saving.
Update5: Extensive internal fixes. Better defaults. And all edits are executed on extra layers.
Update6: Batch script also updated.
Update7: Two tinting options, red and blue.

For all scripts together, go here:
http://sites.google.com/site/elsamuko/gimp

Code License: 
Scripting Engine: 
GIMP Version: 

Comments

Check and see if you have two copies of the same script in different locations. Your GIMP folders and in Program Files, if your using Windows. I never thought to ask if you were on a Windows machine.

Ok I just checked and it's only in the scripts folder and I am using Mac OS X snow leopard?

Maybe your GIMP installation is defective, you can check this so:
Open GIMP.
Go to Filters -> Script-Fu -> Console
Enter this:
(cadr '(1 2 3))
The result should be 2.
If GIMP complains about this, you should reinstall it.

(cadr ...) (an abbreviation of (car (cdr ...)); used to get the first element of the rest of the list, in general the second element) is defined in the script-fu.init file in the global script directory. So if cadr is not defined, then it looks like this file is not read. Does anything else that's contained there - e.g. caddr - not work, either?

I typed in the cadr command and it came up with:

Error: eval: unbound variable: cadr

Which means that something is defective. I uninstalled it and reinstalled the whole thing, and its still coming up with the same issue. Schumaml, I'm not sure what you meant by the cadr (I am a bit lost when it comes to cadr and such haha) so is there a way to define 'cadr' or is there no hope?

Sorry to be a pain guys, but thanks for all the help.

Used NG-filter on MacOS Snowleopard. Good sharpness but were did the colors go? A red barn became black.
Maybee the solution could be to before NG-filter make a new layer with realy fat colors and opacity say 25% . And the apply NG-Filter

Hello, Is it possible to use this script using command-line. I'm trying to apply this script for 20 photos. I thought it would be helpful if I can batch process this on the command-line. Hope to hear from you soon! Help is greatly appreciated. Thanks. "Once GNU is written, everyone will be able to obtain good system, just like air." - Sir Richard M. Stallman http://www.andrewabogado.com

I hope, I'm not too late :D

I really have no idea how to add these to my gimp, but I would think I just click on the link, it loads, then opens gimp and there it is. But I won't load. It says unknown file type, error. Can anyone help me???

I cannot seem to figure out how to get any plugins to work. I have Mac Intel, Gimp 2.4.7, Scrip-Fu. I have located my plugins file as well as the scripts file, but I cannot download and copy the plugins. When I click on the link it is downloaded as a document. I cannot open to save, and I cannot drag to any of the above folders. I am completely at a loss as to how to do this. Any help would be great. Think of it as trying to help a pre-schooler do this. That is where I am at. Thanks for your patience and help.

Pages

Subscribe to Comments for "National Geographic Script"