Log in

View Full Version : How to make 3 small images one image?


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?

matrix
5th January 2003, 23:13
Not an answer to your question.

That looks pretty nice.

Why don't you just cut out the black part in each of those chapters, and put animated thumbnails behind the whole pic? so they can be seen thru the cutout spaces.

McQuaid
6th January 2003, 00:45
Thx, glad you like it.

I got it to work!

Probably not the most efficient way of doing it, but instead of using the mask against 3 small images in vain, I applied the mask on the actual background.

The reason I say not really efficent is that I'm using the background twice.

1st as the main image, then layering on the 3 small pics, then layering the background on top again. Seems wrong to use the background twice, but something has to be the background when using layers.

Btw, I would like to name the episodes using the text features of avisynth, any suggestions of a small but legiable font to fit in the areas of where each ep is? Or does anyone know a font similar to the font used in the batman TAS credits?