View Full Version : Sepia
Wilbert
7th January 2005, 23:28
I'd like to convert pics to sepia as is done here:
http://www.gimp.org/tutorials/Sepia_Toning/
Anyone knows how to script/code it?
CraigBjorn
8th January 2005, 03:14
My script writing skills aren't superb, but here's what works for me
clip1 = AVISource("C:\clip.AVI").greyscale
color = BlankClip(clip1, color=$a28a65, pixel_type="RGB32")
sepia = Overlay(clip1, color, mask=clip1.Greyscale.invert, mode="chroma")
return sepia
That's basically an exact replica of what they did for the gimp, except for the level adjustment. Hope that helps.
Guest
8th January 2005, 03:20
My Colorize filter for VirtualDub can do it too. It has active preview to simplify tweaking.
http://neuron2.net/colorize.html
manono
8th January 2005, 07:50
Hi Wilbert-
I wrote down a couple of ways a while back that I got off of here. Maybe a search will turn up the thread:
ColorYUV(off_u=-32, off_v=32)
Coloryuv(off_u=-22, off_v=25)
I don't know which is closer to the color you want. Here's the thread:
http://forum.doom9.org/showthread.php?s=&threadid=57643&highlight=sepia
CraigBjorn
8th January 2005, 09:39
I think all of these different scrpts will produce very different types of sepia. That Gimp tutorial lightly touched on that matter at the bigginig.. you can see the difference between at least two of the ways by removing the invert command from that script I posted up earlier.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.