McQuaid
5th January 2003, 21:30
I'm making a vcd menu using stills and I have 3 small pics that will be laid on top of the menu.
At first I was simply layering them one at a time which was fine, but now I want to use a mask to let only a portion of the pics to show through.
I've created the appriopriate mask which is now an image of 704x480 and I have 3 small pics of 104x78.
At first I tried:
maskimage=ImageSequence("C:\My Documents\maskimage.bmp",1,1,1)
buttons1=Layer(clip1.BicubicResize(104,78),"add",255,472,56).Layer(clip2.BicubicResize(104,78),"add",255,472,201).Layer(clip3.BicubicResize(104,78),"add",255,472,346)
overlay=MASK(buttons1,maskimage)
And I get an error of image dimensions not matching
So, to use my mask, I have to take the 3 small stills, and make one still of the same resolution as the mask. Right now I am specifying the location of the small pics with the layer cmd.
How do I define 1 full sized still (704x480) of 3 smaller stills while specifying their location? And then, do I just omit location values out of the layer cmd?
At first I was simply layering them one at a time which was fine, but now I want to use a mask to let only a portion of the pics to show through.
I've created the appriopriate mask which is now an image of 704x480 and I have 3 small pics of 104x78.
At first I tried:
maskimage=ImageSequence("C:\My Documents\maskimage.bmp",1,1,1)
buttons1=Layer(clip1.BicubicResize(104,78),"add",255,472,56).Layer(clip2.BicubicResize(104,78),"add",255,472,201).Layer(clip3.BicubicResize(104,78),"add",255,472,346)
overlay=MASK(buttons1,maskimage)
And I get an error of image dimensions not matching
So, to use my mask, I have to take the 3 small stills, and make one still of the same resolution as the mask. Right now I am specifying the location of the small pics with the layer cmd.
How do I define 1 full sized still (704x480) of 3 smaller stills while specifying their location? And then, do I just omit location values out of the layer cmd?