Log in

View Full Version : Addborders to alpha in RGB32


tin3tin
15th July 2007, 12:29
Apparently borders are not added to the alpha layer automatically. Is there a way I can do this?

colorbars()
img=ImageSource("OverlayTemplate.png", pixel_type="RGB32", fps=25).AddBorders(10,10,10,10,$ffffff)
Overlay(last, loop(img, last.framecount()), mask=ShowAlpha(img),mode="blend")

IanB
15th July 2007, 12:47
AddBorders(10,10,10,10,$aarrggbb)You have actually specifed $00ffffff, in this case I think you might want $ffffffff.

tin3tin
15th July 2007, 13:42
Oh I didn't know you could do that. Very simple. Thanks a lot!