Log in

View Full Version : How to set overlay logo duration?


Vol666
28th January 2012, 16:21
Hi
thats my script. The problem is that the logo is staying all the time. Thats what i'm trying to do is to set the logo showing for a few seconds. Plus some fade out and fade in effect.

a2 = ImageSource("logoa_lm2.bmp").ConvertToRGB32

mask_clip = Mask(a2, a2.GreyScale.Levels(0, 75, 75, 0, 250))
Overlay(a2, mask=ShowAlpha(mask_clip), y=230, x=0,
\ mode="blend", opacity=1)

librarian
29th January 2012, 12:18
See here (http://forum.doom9.org/showthread.php?p=622141#post622141).

Vol666
2nd February 2012, 23:52
nope it doesnt work with this logomask options

librarian
3rd February 2012, 13:58
if the problem is caused by logomask options you can save the pic with a script like:
a2 = ImageSource("c:\your_path_here\pic_whatever.bmp")#.ConvertToRGB32

mask_clip = Mask(a2, a2.GreyScale.Levels(0, 75, 75, 0, 250))

ImageWriter(mask_clip,file = "c:\your_path_here\mask_clip", start = 0, end=0, type = "bmp")


then use quoted script out of the box

Vol666
5th February 2012, 23:25
thanks

I've added:
ConditionalReader("C:\xoffset.txt", "ol_x_offset", false)
xoffset.txt
Type int
Default -800
R 833 933 -55
R 5202 5281 -55

it working....

however i'll try your script too