exyll
11th March 2008, 20:48
I'm performing the following action:
The video is a 640x480 source and the logo is a high res logo.
vid = AviSource("test.avi")
vid = LanczosResize(vid, 400, 300, 0.6)
logo = ImageSource("logo.png", pixel_type="RGB32")
logo = BicubicResize(logo, 50, 50)
vid = Overlay(vid, logo, mode="blend", opacity=1, x=345,y=5)
return vid
Resizing works for both the video and the logo but the logo now lost its transparancy mask/alpha channel and shows up like a block.
Is this a bug or am I resizing the logo incorrectly?
The video is a 640x480 source and the logo is a high res logo.
vid = AviSource("test.avi")
vid = LanczosResize(vid, 400, 300, 0.6)
logo = ImageSource("logo.png", pixel_type="RGB32")
logo = BicubicResize(logo, 50, 50)
vid = Overlay(vid, logo, mode="blend", opacity=1, x=345,y=5)
return vid
Resizing works for both the video and the logo but the logo now lost its transparancy mask/alpha channel and shows up like a block.
Is this a bug or am I resizing the logo incorrectly?