nanDECK - What's new in version 1.11
Wizard for
every directive
There is a Tutorial for this improvement.
New ELSEIF directive
Now the structure IF..ENDIF has a new directive:
IF=(condition)
...
ELSEIF=(condition)
...
ELSEIF=(condition)
...
ELSE
...
ENDIF
New CHROMAKEY directive
With whis directive you can pick the color to be used for transparency for IMAGE directive, for example:
CHROMAKEY=#FF0000
New UNIT directive
Now you can use cm, mm or inches in your script:
UNIT=CM
UNIT=MM
UNIT=INCH
Flags H/V for mirroring in TEXT
and IMAGE directives
This is an example:
IMAGE="1","ilsa.gif",0,0,3,4.5,0,"P"
IMAGE="1","ilsa.gif",3,0,3,4.5,0,"PH"
IMAGE="1","ilsa.gif",3,4.5,3,4.5,0,"PHV"
IMAGE="1","ilsa.gif",0,4.5,3,4.5,0,"PV"
And this is the result:
New TEXTLIMIT directive (with
variables TR, TL, TT, TB) for text's boundaries
This is an example:
FONT=Arial,16,,#000000
TEXT=1,"This is a test",0,0,6,2,center,center
TEXTLIMIT=1
LINE=1,TL,0,TL,2,#000000,0.05
LINE=1,TR,0,TR,2,#000000,0.05
LINE=1,0,TT,6,TT,#000000,0.05
LINE=1,0,TB,6,TB,#000000,0.05
And this is the result:
New IMAGESIZE directive (with
variables IW, IH) for image width and height
You can store width and height of an image to be used later, for example to choose between portrait or landscape orientation for an image:
[range]=1-10
[image]="test.jpg"
IMAGESIZE=[range],[image]
IF={IW}>{IH}
IMAGE=[range],[image],0,4,6,5,0,P
ELSE
IMAGE=[range],[image],0,4,6,5,90,P
ENDIF
Added parameters for skew x/y
in IMAGE directive
This is an example:
IMAGE=1,"ilsa.gif",0.5,0.5,5,3.5,0
IMAGE=1,"ilsa.gif",0.5,4,5,2,0,V,80,0,0,-0.5,0
And this is the result:
Added parameters for outlined
text in FONT/FONTRANGE directive
This is an example:
FONT=Arial,24,,#000000,#FFFFFF,0.03,0.03
TEXT=1,"This is a test",0,2,6,2,center,center
FONT=arial,24,T,#FFFFFF
TEXT=1,"This is a test",0,2,6,2,center,center
And this is the result:
Sequence support for size and
position parameters
Now you can use a sequence for size and position parameters, like:
RECTANGLE=1-3,0|1|2,0|1|2,3|2|1,3|2|1,#0000FF|#00FF00|#FF0000
Fixed bug for IF..ELSE..ENDIF