Log in

View Full Version : Overlay modes


qyot27
6th February 2009, 16:16
I've been trying to replicate the effects of Photoshop's blend/lighting modes using the Overlay filter, but I cannot seem to find one for the Overlay mode. As well, some of the modes in Overlay (filter) go under different names than the ones in Photoshop - is there any chart showing which ones are equivalent?

As an example, an original photo:
http://img301.imageshack.us/img301/4079/originalia4.th.png (http://img301.imageshack.us/img301/4079/originalia4.png)

And after processing (Gaussian Blur=2.0, Fade Gaussian Blur=80%, Overlay mode):
http://img301.imageshack.us/img301/8353/fadeeffectlq4.th.png (http://img301.imageshack.us/img301/8353/fadeeffectlq4.png)


Using VariableBlur (http://forum.doom9.org/showthread.php?p=1172334#post1172334) (the patched version that neuron2 posted) and Overlay, I can get close using some of the modes, but the two trees in the background on the right are always washed-out, or if they aren't, then the sky is too bright, or the ground closest to the camera isn't dark enough. Is there a mode which will retain the detail like in that second image, or should I use one of the other blur methods that VariableBlur provides, or some other setting entirely?

This is the most recent script I've been using to test with (the final line commented out because it made it look too similar to the original):
v1 = ImageSource("original.png").Trim(0,1).ConvertToYV12()
v2 = v1.GaussianBlur(2,2)
#v3 =
Overlay(v1,v2,opacity=0.2,mode="hardlight")
#Overlay(v3,v1,opacity=0.3,mode="luma")

Thanks in advance.