nanDECK - What's new in version 1.16
New NANDECK directive
This directive execute another instance of the program, loads a scripts, render all the cards and saves them to disk. The syntas is:
NANDECK = “source”, output, “path”, dpi, oversample, “range”
New RHOMBUS directive
This directive draws a rhombus in a range of cards, the syntax is:
RHOMBUS = “range”, position x, position y, width, height, html color, html color, thickness
The parameters are the same of the other directives like RECTANGLE. For example:
RHOMBUS = 1, 0, 0, 50%, 50%, #000000
RHOMBUS = 1, 0, 50%, 50%, 50%, #00FF00
RHOMBUS = 1, 50%, 0, 50%, 50%, #FF0000
RHOMBUS = 1, 50%, 50%, 50%, 50%, #0000FF
This is the result:
New GRADIENTSEQ
function
This function creates a sequence of gradients, splitting one into several sections, the syntax is:
[name] = GRADIENTSEQ(gradient, number)
For example, with this line the program creates a sequence of three gradients:
[gradient] = GRADIENTSEQ(#000000#FF0000@0, 3)
New RANGEADD function
This function merges two ranges (or more) in one, the syntax is:
[newrange] = RANGEADD(range1, range2, … rangeN)
New RANGESUB function
This function creates a new range from a subset of another one, the syntax is:
[subrange] = RANGESUB(range, start, number)
If the number parameter is not specified, the new range ends at the end of the range parameter. If the start parameters is not specified, the new range starts from the end of the previous RANGESUB function, or from the first element of the range parameter.
Added flag G in
BUTTON directive for gradient effect
With this flag the BUTTON directive adds a gradient effet to the buttons, for example:
RECTANGLE = 1, 1, 1, 4, 3, #00FFFF
RECTANGLE = 1, 1, 5, 4, 3, #00FFFF
BUTTON = 1, 1, 1, 4, 3, 0.3, I
BUTTON = 1, 1, 5, 4, 3, 0.3, IG
This is the result:
Added flag V in
PATTERN/ICONS directives for vertical pattern
With this flag the images in the PATTERN/ICONS directives are disposed vertically instead of horizontally.
Added batch save
for cards' images
The MT button in the main window opens a dialog for saving the cards' images, and you can specify more than one thread to be used by the program, with the values for DPI and Oversampling. This is a screenshot:
Added PDF conversion
to CMYK profile with Ghostscript
In the PDF button you can use the Ghostscript software for saving the PDF in CMYK colorspace. This is a screenshot:
Added L for reading last color
For example, there two rectangles are equal:
RECTANGLE = 1, 0, 0, 100%,100%, #4550AA
RECTANGLE = 2, 0, 0, 100%,100%, #LLLLLL
This flag can be used partially, for example: #FF00LL.
Added default values
in MACRO parameters
Now the syntax of the MACRO directive is:
MACRO = name, (parameter1)value1, (parameter2)value2, …
If you don't specify a parameter, its default value is used instead.
Fixed bug in DUPLEX directive
Fixed bug in OVERSAMPLE directive
Fixed bug in HTMLFILE/HTMLTEXT directives
Fixed bug in ZOOM directive
Fixed bug in gradients
Fixed bug in ranges