Lomo Script with Old Style Colors

This script simulates the Lomo effect.
Copy it into the scripts folder from GIMP, you will find it then under Filters -> Light and Shadow -> Lomo.
The original from Francois Le Lay can be downloaded here. The idea of C41 colors comes from here. I added sharpness, repaired the double vignetting problem and added some nice colors, especially the beautiful green sky effect from crossprocessed pictures. Examples can be found here.
Attention, results may make happy. :D

Acid View
http://www.flickr.com/photos/28653536@N07/2879107018/

RUN!!!
http://www.flickr.com/photos/28653536@N07/2891297169/

Redscale 2
http://www.flickr.com/photos/28653536@N07/4501441798/

If you like it, hug someone.

Update: I refreshed the colors and added another vignette, but this is black and can be moved and resized. The result should be made grainy with my other script, then it looks more realistic.
Update2: The overlayed vignettes are moving now with the black vignette. That means all vignettes have the same center.
Update3: I added a slight lens distortion to simulate the wide angle lens of the Lomo LC-A. And if you own the grain script already, you can uncomment line 285 of this script to get a grainy black vignette automatically. Example here.
Update4: New color "Autumn" to simulate this. To include vignette graininess, uncomment line 314. Result here and very impressive here.
Update5: I mixed the angle distortion up, now it bends to the right direction. And the source code became prettier thanks to Dr. Scheme.
Update6: I added optional motion blur to simulate 'bad' lenses, see here.
Update7: Two new colors Movie and Vintage. Also more decent sharpness with layer mask. And I included the grain for the black vignette, so you don't have to do this. Examples here and here.
Update8: New color Xpro LAB from this book. Example here.
Update9: Possibility to inverse the A and B dimensions of the LAB color space. Example here.
Update10: Fixed the b/w problem. Added a new color option Light Blue from this role model. Example here.
I also attached the colors I use. Extract and put them into the curves folder of GIMP.
Update11: Lens distortion is adjustable now, the default is less extreme.
Update12: New color Redscale from here. Example here. The Light Blue color now has a less violet tinge.
Update13: Extensive internal fixes (eg. motion blur fixed). New option grain and gauss blur. Also sharpness is done via smart sharpen from eg and not overlay.
Update14: Sharpness layer is better on top.
Update15: Sharpness one down, grain deactivated while sharpening.
Update16: Redscale is now closer to the physical approach. Example:
http://www.flickr.com/photos/28653536@N07/4501441798/
Update17: Movie color option reworked, three new B/W tones: Retro, Paynes and Sepia. Example:
http://www.flickr.com/photos/28653536@N07/4540513605/
Update18: Added batch version, run it with
gimp -i -b '(elsamuko-lomo-batch "picture.jpg" 1.5 10 10 0.8 5 1 3 128 0 FALSE FALSE TRUE FALSE 0 0 115)' -b '(gimp-quit 0)'
or for more than one picture
gimp -i -b '(elsamuko-lomo-batch "*.jpg" 1.5 10 10 0.8 5 1 3 128 0 FALSE FALSE TRUE FALSE 0 0 115)' -b '(gimp-quit 0)'
Be careful, the batch script overwrites the original image. More info here:
http://www.gimp.org/tutorials/Basic_Batch/
Update19: Reduced vignette banding with the spread tool.

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

AttachmentSize
elsamuko-curves.zip8.72 KB
elsamuko-lomo-batch.scm25.06 KB
elsamuko-lomo.scm23.05 KB

Comments

Thank you!

I'd been reading a tutorial on the lomo effect, and I thought, "Oh, there's got to be a simpler way!" Sure enough, there is...drop the script in the folder. Excellent work; thank you for sharing this.

Batch not working

Hi elsamuko,

I am VERY new to photography. I didn't know where to start on postprocessing because even if I know the basics of how to edit photos in GIMP, I still did not have a certain look to go for so I would end up just editing with a mishmash of whatever I could think of. It did not look pretty.

Until I saw this plugin!!! The warning is accurate: It really makes happy. hahaha

But when I use your batch plugin with this command, it does not work:
C:\Documents and Settings\user\My Documents\My Pictures\test>gimp-consol
e-2.6 -i -b '(elsamuko-lomo-batch "*.jpg" 1.5 10 10 0.8 5 1 3 128 2 FALSE FALSE
TRUE FALSE 0 0 115)' -b '(gimp-quit 0)'

GIMP-Error: Opening 'C:\Documents and Settings\user\My Documents\My Pict
ures\test\*.jpg' failed: Could not open 'C:\Documents and Settings\lemuel.dulfo\
My Documents\My Pictures\test\*.jpg' for reading: Invalid argument

Then there's a host of other errors, because it treats 1.5, 10, etc as filenames. :(

Windows command line

Windows command line interface does not support hard quoting using apostrophes. In your command line, try substituting double-quotes (") for the apostrophes and a backslash+double-quote (\") for each of the double quotes.

thanks, but new problem here

Thanks for the fast response! :) I'll try that on my WinXP work PC tomorrow and update the results here. :D ALTHOUGH, I am yet to try using gimp-2.6 only and not gimp-console. I'll have to try it too. :)

Heres a new one...
At the moment I'm on my 32bit Win7 laptop and I get a different error, this time it's about just loading the script. :(

It says the following:
Error while loading C:\Program Files\GIMP-2.0\share\gimp\2.0\scripts\elsamuko-lomo.scm:
Error: eval: unbound variable: <?xml

I thought that it was just an unclosed xml tag so I opened the scm file and did not find xml anywhere. This is quite weird, I was able to use the Fake-HDR plugin with no complications.

Thanks much. :)

-EDIT-

UPDATE:
It seems to be working fine now. Your first suggestion was spot on! Thank you so much! The double quotes were perfect. Also, I should not have been using the gimp-console version. *facepalm*

My second problem on my laptop was solved by simply reinstalling gimp. Apparently gimp isn't natively supported on windows. I had to remove my install and get the 2.6.10 instead of my previous 2.6.11. I have also installed Ubuntu on a VBox just in case anything goes wrong in my Windows gimp. heh

Thank you for your help! And thanks to el samuko for giving me direction. :)

fresh meat!

good day, i am very new to GIMP and very excited about this script. could someone be so kind to give me semi detailed instructions on how to download and use this script on a MAC. when i download and open it its a jumbled mess of text. and i am confused with this new setup. so please help it would be greatly appreciated.
p.s. i have previously read the other comments which have confused me more. :[

Where do I keep the curves

Where do I keep the curves files in the second zip?

Curves Folder

Windows: %userprofile%\.gimp-2.6\curves\
Mac&Linux: ~/.gimp-2.6/curves

Amazing

Great script!!

updates rock

just grabbed the new version of this script...love it. i don't often remember to check the registry for new versions of things...glad i did.
just want to thanks you for putting the time into this...use it regularly.
i'm off to hug someone...

ERROR

Plug-In 'Lomo' left image undo in inconsistent state, closing open undo groups.

pls help :(

it used to work for me

Image Size

Try it with a smaller image first. The script uses some very memory-eating procedures.
Then you can set Sharpness, Wide Angle Distortion, Gauss Blur, Motion Blur and Grain to zero. This also helps to keep memory usage down.

curves folder

If you're using Mac or GNU/Linux, it'll be in the (hidden) directory ".gimp-2.6" and subdirectory "curves" in your home folder.

In Windows, you can type %appdata% in the address bar to find your application settings, within there you should find the gimp directory and curves subdirectory.

nice script, thanks.

nice script, thanks.

i dont seem to see this in

i dont seem to see this in my GIMP, i can see the other script but not this. Where can i find this script in GIMP.

Exquisite.

I recently reformatted my PC, and when I went to find this script again I found that it has blossomed from a simple box to a masterpiece of a script!

Infinite thanks for the work you've put into this, it is very much appreciated.

newb

I am totally lost. I have 2.6 and I've read everything I can find online! Idk how to download this. When I click the link it just opens up..well--a script. What do I do with all that? It wont let me copy and paste it as is into the scripts folder, etc. Please, please help!

newb

answer was also two message below http://docs.gimp.org/2.6/en/install-script-fu.html

but how do i download it

but how do i download it first? when i open it up its just text. theres nothing that lets me download it. everything i read says to download the script first but how in the world do i download something when i click on the link it just takes me to a page with the actual script/text =/

If you're using Windows

Right click the "elsamuko-lomo.scm" link and select "Save Link As", the explorer prompt opens allowing you to "Browse" to the location where it needs to be saved. You should also see the filename listed as "elsamuko-lomo.scm". Follow the information provided by Photocomix regarding where the file is saved to.

Explain it to a noobie please?

um i just installed gimp and i dont know that much about it i have version 2.6 i dont have a clue what your talking about when you say copy the file and put it in the scripts folder. i dont even know how to get to the scripts folder. so can you help me?

i like it

nice script...produces some great effects :) cheers for putting in the time so that we can save some!

Really nice script. Thanks

Really nice script. Thanks for sharing, I enjoy it!

thanks a lot for this. it

thanks a lot for this. it really works great and for many different purposes, like getting photos with a vintage look.

Where do I find the curves

Where do I find the curves folder in gimp?

Script does not work with B&W images?

Hi, I tried this script, and it's previous avatar on a b&W (originally a RGB) image, but kept getting the following error: Error while executing script-fu-lomo: Error: set!: unbound variable: endingx. Can it be fixed?

why i cant install it on my gimp?

im using mac and gimp 2.4.7. why after i copied it to the plug-ins folder, nothing appears in light and shadow? it should appear Lomo right? help! i really really want this. it look awesome. :(

it's a script, not a plugin

hello, it's a script, not a plugin (check the system file that is a ".scm" - check you script folder: Edition -> preference -> folder - put the lomo script in the good folder - in gimp, go to filter, script-Fu, actualize - lomo is in Filter -> shadow & Light

i still get an error

i still get an error message. I put the file into my script folder and i actualized in gimp. still doesnt work it tells me that there's an error. what's wrong?

Does this script work in Gimp 2.6.6 ?

I have put the script in the right folder, refreshed the script in Filters>Script Fu>refresh scripts, but cannot find it. This script obviously doesnt work with Gimp 2.6.6 ?

Filters -> Light and Shadow -> Lomo

I have GIMP 2.6.6 running on a Mac. No problems whatever in using the script. Thank you very much for making this! :)

Thank you, now all is

Thank you, now all is working. free download antivirusdownload antivirus agnitum crackdownload antivirus Norton Internet Security 2009

Script

nice job

Hi, Impressive job mate! Can someone check memory usage?. I'm working on 10 mega pixel image and 1,2 GB is eaten by the gimp while running the script. Regards, Tom

Thx

GIMP uses a lot of memory because it keeps the image just as several Undos as a RAW image in its cache. When you execute some complex procedures, the RAM usage can be pretty extreme. Especially this script uses some RAM-eating functions like motion blur, lens distortion, sharpen and grain. As a workaround you can disable these and execute them individually after you have executed the script and have saved, closed and reopened (ctrl-1) the image. For more explanations see here: http://docs.gimp.org/en/gimp-using-setup-tile-cache.html Greetings elsamuko

I'm having problems, too.

I've used this script a lot, and have never had a problem until recently. Now if I don't scale my images down, the program freezes.

I am wondering if some programs or plugins are conflicting with it. My husband also bought new memory recently. I dunno? Does anyone have any advice or a direction to point me to?

I LOVE this script! *hug*

This is a very sophisticated

This is a very sophisticated script, which can cause memory issues.
If a former versions did work better, you should keep it.

Older version

I would not recommend older versions, but you can set Sharpness, Wide Angle Distortion, Gauss Blur, Motion Blur and Grain to zero.
Then it runs faster and doesn't need so much memory.

Syndicate content