Join for FREE | Take the Tour Lost Password?
[x]

deviantART

 
©2008-2010 ~wwwwolf
:iconwwwwolf:

Artist's Comments

This is basically the same script as in the perl version (and the only functional addition is the choice to use hard/soft light, which is just a minor addition, because you can always tweak the resulting layer anyway).

I made the Python version because apparently GIMP on Windows can't do Perl and OS X and Ubuntu versions only ship with Python by default. After the first release, the entire source code has now been completely purged of all unnecessary, if already censored, swearing; if you are still interested of my thoughts regarding my first exposure to Python-Fu, please read the relevant blog post :)

Photo in preview © wwwwolf 2008. :)

Current version: 1.0.1, released 2008-07-04. If you downloaded the first release, you don't need to bother with this update; this just cleans up the code. No bugs are fixed, etc etc. It does clean up the function name and adds a return value, which may help if you want to use this in other scripts or in the GIMP batch mode.

Requirements: GIMP with Python support enabled (you should see "Python-Fu" in the "Xtns" menu).
Has been tested in GIMP 2.4.x, in Ubuntu Linux (the stock GIMP install) and OS X (DarwinGIMP). Should work in Windows GIMP with some prayers and/or general tweaking, but I don't have any special instructions, regrettably. =)

Installation: First choose install location. You need to figure out where the GIMP keeps its user data (In Linux, for example, it's ~/.gimp-2.4/; I have no idea where other OSes keep the stuff, for example, OS X DarwinGIMP dist probably has changed the location from the usual *nix GIMP location). You may alternatively stick this thing in the system-wide location (/usr/lib/gimp/2.0/ in Linux, in OS X you may browse in the Gimp.app by choosing "show package contents" and look in the Resources folder). Either way, you should locate a folder called "plug-ins" under this folder. Stick the bloom.py file there. You may need to make it executable in Linux (chmod +x bloom.py).

Comments


love 0 0 joy 2 2 wow 0 0 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:iconcristinaflo:
I see... thanks a lot for telling me, I haven't tried the older version yet... I'll try this!

--
Des combiens de préoccupations l'on se libère quand on décide non d'être quelque chose, mais d'être quelqu'un.
Coco Chanel
*Club-Ravenclaw
:iconrockmaster:
One question: how do I get Python support in GIMP? A cursory browse of Google hasn't helped me thus far.

--
Yes, I am the n00blet chef. What masterpiece would you like today? I can cook'em however you want'em.
:iconrockmaster:
Well, apparently I need PyGTK, but I can't find a Windows link anywhere. Do you know where I could find one?

--
Yes, I am the n00blet chef. What masterpiece would you like today? I can cook'em however you want'em.
:iconwwwwolf:
Hmm, I guess I'm not really able to help much either without having an actual Windows install in front of me. =(

Yeah, you probably need PyGTK, all packages PyGTK depends (PyCairo etc), as well as (I imagine) the correct Python interpreter version the GIMP/Python-Fu module was compiled against. All installed in correct directories and stuff.

--
Weyfour WWWWolf, a lupine technomancer from the cold north
:icontasci:
Sweet! Been looking for this since at least 100 years ago.
:iconwwwwolf:
Glad to be of assistance =)

--
Weyfour WWWWolf, a lupine technomancer from the cold north
:iconshnitzelkiller:
HOW DO YOU INSTALL PYTHON FU?? I can't find a single bit of info anywhere on the web! Putting them in the script folder doesn't work, and if it does, where can i find and use them?!
:iconwwwwolf:
*sigh* Assuming you're on Windows. Good question. I always assumed Python-Fu would be easy as a pie in Windows and would work out of box, but apparently, the builds don't include the necessary stuff. Or so my vague understanding goes.

I'll probably rewrite this script to use Script-Fu (Scheme) any day now, since that's pretty much guaranteed to work on all platforms and doesn't need extra modules.

--
Weyfour WWWWolf, a lupine technomancer from the cold north
:iconshnitzelkiller:
I use a mac, not windows. But I still don't know where to put python-fu, they never show up. Does it just go in the scripts folder?? I put it there and doesn't work.

Details

June 30, 2008
2.6 KB
87.9 KB
640×480

Statistics

17
6 [who?]
2,758 (0 today)
450 (0 today)

Site Map