EffectLineMagnifier
EffectLineMagnifier Magnifies either a vertical or Horizontal strip of
image. The magnifier can be moved across image as per the coordinates.
Mag is the magnification.
RGB32, RGB24, YuY2 and YV12 only are supported at this time.
Details of parameters
Description |
Name |
Type |
Limits |
Default |
clip |
|
clip |
|
none |
Effect start frame number |
sf |
Integer |
within clip |
first frame |
Effect end frame number |
ef |
Integer |
within clip |
last frame |
type of magnifier |
type |
string |
"hor" or "ver" |
"hor" |
magnifier lens width |
lwidth |
integer |
4 and 1/2 of frame width or height |
1/8th of frame dimension |
magnification |
mag |
integer |
2 to 12 |
6 |
initial xY coordinate of strip center |
initxy |
integer |
lwidth/2 to width or height minus lwidth/2 |
lwidth/2 |
Final xy coordinate |
finalxy |
integer |
lwidth/2 to width or height minus lwidth/2 |
width-lwidth/2 |
#Usage examples:-
EffectLineMagnifier(last,51,190, "hor",40,4,60,400)
Move across frame begin to frame end :-
EffectLineMagnifier(last,51,190, "ver",40,6)
Stationary:-
EffectLineMagnifier(last,51,190. "ver", 60, 5,100,100)
Image with effect :