Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
31st May 2008, 04:15 | #1 | Link |
Registered User
Join Date: Feb 2007
Location: Dallas, TX
Posts: 28
|
Okay...I've searched all over this forum. I've seen lots of logo questions but none have addressed a logo that has drop shadow. I can get the image to appear in the corner just as I need but the drop shadow doesn't show up that I've applied to the original image. I have a feeling it has something to do with masking and alpha channels or whatever but I just can't wrap my head around it, even after hours of tweaking all the settings.
Code:
video=avisource("D:\~DV_Backups\California\tape.01\clip.08.avi").converttorgb32() logo=imagesource("D:\logo-001.tif").converttorgb32() maskclip=colorkeymask(logo,$000000,60) clip=overlay(video,logo,mask=showalpha(maskclip),x=1,y=1,mode="blend",opacity=0.3) return clip |
31st May 2008, 04:46 | #2 | Link |
Resize Abuser
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
|
Instead of overlay try Layer. Also with imagesource try this
Code:
imagesource("D:\logo-001.tif", use_DevIL=true, pixel_type="RGB32")
__________________
Mine: KenBurnsEffect/ZoomBox CutFrames Helped: DissolveAGG ColorBalance LQ Animation Fixer Last edited by Wilbert; 31st May 2008 at 11:51. |
31st May 2008, 06:14 | #4 | Link |
Resize Abuser
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
|
Glad to help. I put the wiki in my favorites, it helps me a lot!
__________________
Mine: KenBurnsEffect/ZoomBox CutFrames Helped: DissolveAGG ColorBalance LQ Animation Fixer |
31st May 2008, 15:22 | #5 | Link |
Registered User
Join Date: Feb 2007
Location: Dallas, TX
Posts: 28
|
Yeah I hear that. I have it bookmarked as well. AviSynth's wiki is a great resource, very well done thus far. I had tried the Layer command in the past unsuccessfully [shrug]. Not sure what I was missing then.
|
31st May 2008, 16:43 | #6 | Link | |
Resize Abuser
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
|
You needed the alpha channel of the tiff, for the drop shadow. Imagesource defaults to RGB24, you needed RGB32. pixel_type="RGB32" is the key. Here is the entry in the wiki on the subject
Quote:
__________________
Mine: KenBurnsEffect/ZoomBox CutFrames Helped: DissolveAGG ColorBalance LQ Animation Fixer |
|
|
|