Command List
Classes:
(1) Init. (initialization) |
Available around top of a script. Global assignments.
|
(2) Set. (setting or setup) |
Available anywhere, anytimes, in any layer.
Use before related commands appear. Local assignments.
|
(3) Read-in (read-in execution) |
Available anywhere, anytimes, in any layer.
Executed when a script is read in.
|
(4) Light Source (floating image source) |
Available anywhere, anytimes, in any layer.
Creates a floating image on a layer.
The created image will be controlled by Light Modulator.
|
(5) Light Modulator (floating image control) |
Available anytimes, in any layer.
Modulates floating images placed by FI or LC or '{ }' (child layers).
|
(6) Layer Modulator (layer image control) |
Available anytimes, in any layer.
Modifies layer images (non-floating images or fixed images).
|
(7) Switch (enables action of function) |
Available anywhere.
Irrelevant to position in a script.
|
(8) Total Image Modulator (outputting image control) |
Some commands are position dependent.
Modifies outputting image (layer images).
|
(9) After-draw (overwrite graphics and control) |
Available anywhere.
Executed after finished drawing layer images.
Only available in Viewers (SkyView, CSkyView, SkyEdit).
Usually text-command graphics and controls.
|
|
Command |
Abbrev. |
Parameter(s) |
Class |
Function (Action) |
Remarks |
Size |
S |
x,y |
init |
image size* |
Assigns outputting image size.
This command (S) or SF should be used at the top of the script. |
SizeFix |
SF |
x,y |
init |
fixed image size* |
Assignes outputting image size regardless of existance of dropped image(s).
This command should be used at the top of the script. |
^ |
SFX SFY |
xmax ymax |
init |
^ |
Assignes outputting image X or Y size. |
RelativeSizing |
RS |
xrate (,yrate) |
init |
image size multiplying* |
Outputting image size can be set relative to the original image size
(assigned by SF command, drag-dropped image, etc.). |
StandardSize |
SS |
x |
set |
virtual image X size |
assigns standard image X size, when you used '%' relative
parameter assignment in L, C, D, LP commands, etc.
Valid for assigned layer (and its sublayer) only.
Default size is set to same size with the one assigned by Size (S) or SF. |
NoError |
NE |
--- |
init |
error display inhibit |
Inhibits message box display even in a case of an error.
|
Gamma |
G |
gamma |
set |
Assigns display Gamma value (true or virtual or assumed) |
Default Gamma value is 1.8.
This command also sets AG and FG to the same value. |
OutputGamma |
OG |
gamma |
switch |
Assigns gamma value for outputting image |
This gamma value is used before error-distribution filtering.
The default value is same with value assigned with Gamma (G) command. |
PaletteGamma |
PG |
gamma |
switch |
Assigs gamma value for BMP palette. |
This gamma value is used to set palette saved in BMP file.
Used after error-distribution filtering.
Default value is 1.0. |
AssumeGamma |
AG |
gamma |
set |
Assigns true display gamma value of the script writer environment |
This value is used for automatic gamma adjustment between the current layer and the parent layer.
Default value is the same with value assigned with Gamma (G) command. |
BackgroundColor |
BC |
r,g,b |
init |
Assigns background color of the output image |
Use near the top of the script (after Gamma) |
IF |
IF |
freeValue |
read-in |
condition skip |
if the value is larger than 0 (>0), the following commands
(between ':' and ';', or between '{' and '}') will be executed. Otherwise skipped.
|
IfNot |
IFN |
freeValue |
read-in |
condition skip |
if the value is smaller than 0 or equal to 0 (<0 or =0), the following commands
(between ':' and ';', or between '{' and '}') will be executed. Otherwise skipped.
|
IfZero |
IFZ |
freeValue |
read-in |
condition skip |
if the value is between -0.5 and 0.5 (-0.5>v>0.5), the following commands
(between ':' and ';', or between '{' and '}') will be executed. Otherwise skipped.
|
IfExist |
IFE |
fileName |
read-in |
condition skip |
if the assigned file exists, the following commands
(between ':' and ';', or between '{' and '}') will be executed. Otherwise skipped.
|
IfFilename |
IFF |
fileName |
read-in |
condition skip |
if the file name of the (dropped or assigned) image file
agrees with the assigned file name, the following commands
(between ':' and ';', or between '{' and '}') will be executed. Otherwise skipped.
|
' |
' |
--- |
- |
commentation |
the script will be skipped until carrige return or line feed. |
// |
// |
--- |
- |
commentation |
the script will be skipped until carrige return or line feed. |
/* |
/* |
--- |
- |
commentation start |
the script will be skipped until */. |
*/ |
*/ |
--- |
- |
commentation end |
stops the script skipping (/* ... */). |
# |
# |
--- |
- |
Prefix for Heximal (000000 - FFFFFF) RGB description |
indicates the following Hexmal number is a RGB color (000000 - FFFFFF).
If this mark is used other places than RGB definition, this mark (#) acts like the comment mark (//). |
{ |
{ |
--- |
light source (start) |
new layer (sub layer) |
creates new layer and make a new local envirionment.
The layers can be nested up to 63 times. |
} |
} |
--- |
light source (end) |
end of layer |
finish the layer ({ ... }) and converts the layer image to a new light source.
The local environment parameters (C, LP, R, M, AR, IA, etc.) will be recovered. |
Center |
C |
x,y |
set |
image shift (rotational center) |
Can be used for translational (parallel) image shift. |
Rotate |
R |
ang |
set |
image roration |
ang (degree) assigns rotation angle.
Positive angle (ang>0) rotates following images clockwise. |
Magnitude |
M |
rate |
set |
image magnification |
'M 1.0' or 'M 100%' is default.
For example, 'M 2.0' magnifys following images two times.
The magnification center is assigned with 'C' (Center) command. |
ReverseX |
RX |
--- |
set |
image inversion (horizontal) |
inverts the following images horizontally.
The inversion center is assigned with 'C' (Center) command. |
ReverseY |
RY |
--- |
set |
image inversion (vertical) |
inverts the following images vertically.
The inversion center is assigned with 'C' (Center) command. |
PerspectiveProject |
PP |
nx,ny(,dist)(,fog) |
set |
perspective projection |
projects following images on virtual screen with
normal vector (nx,ny,1) which distance to the center (0,0) is
the assigned 'dist.' The 'fog' parameter was supported from V2.57beta8. |
CyclicFrame |
CF |
x,y x-,y-,x+,y+ |
set |
image repetition |
tiles the following images horizontally and vertically.
The assigned range (x-,y-)-(x+,y+) of the original image will be repeated
in both X and Y direction. |
^ |
CFX CFY |
x-,x+ y-,y+ |
set |
image repetition (X or Y) |
tiles the following images horizontally (CFX) or vertically (CFY).
The assigned range (from x- to x+, or from y- to y+) of the original image will be repeated
in X or Y direction. |
AspectRatio |
AR |
rate |
set |
image aspecto ratio |
'AR 1.0' or 'AR 100%' is default.
For example, 'AR 2.0' vertically magnifys following images two times.
The magnification center is assigned with 'C' (Center) command. |
AutoAspect |
AA |
(imgNo) |
set |
image aspecto ratio (fit to outputting image size) |
This command set the same aspecto ratio with the outputting image size.
'AA' is the same with 'AR $y/$x'.
The image number assign (like 'AA 1') is the same as 'AR $y1/$x1' (set to the FA-loaded image aspecto ratio). |
InclineAxis |
IA |
rate |
set |
image inclination |
incline the following image. 'IA 0.0' or 'IA 0%' is default. |
BaseLevel |
BL |
r,g,b |
set |
vertual background color |
assigns tentative background color.
The amount of the light (added or subtracted) of new light source is determined relative to this
BaseLevel. (If BL is 255 255 255, amount of the light of a light source (by FI or LC) is always negative.)
The BL is set to the same value with BC by the BC command. |
LightPosition |
LP |
x,y |
set |
image shift (rotated) |
shifts the images placed with 'FI' (FileImage) commands, or
shifts the image control with 'D' (Decay) command. This amount of shift is rotation ('R'-command) dependent and
magnification ('M'-command) dependent. |
LightColor |
LC |
r,g,b |
light source |
flat plane light source |
sets a new floating light source with assigned color (R,G,B).
The amount of the light is determined relatively to the BC or BL. |
Decay |
D |
func,x,y... |
light modulator |
gradation decay |
light source image will be thined according to the gradation with assigned shape.
Available repeatedly.
The position of the decay center is changed with LP, C, R, etc. |
InvertedDecay |
ID |
func,x,y... |
light modulator |
gradation decay |
light source image will be thined according to the inverted pattern of
the assigned gradation function (Func).
Available repeatedly.
The position of the decay center is changed with LP, C, R, etc. |
OverwriteDecay |
OD |
func,x,y... |
light modulator, layer modulator |
gradation decay (overwrite) |
light source image will be thined according to the inverted pattern of
the assigned gradation function (Func). At the same time the layer image will be
thined according to the inverted pattern of the assigned gradation function.
The position of the decay center is changed with LP, C, R, etc. |
PolarDecay |
PD |
n,start(,blur) |
light modulator |
angular gradation decay (arbitrary pattern) |
light source image will be thined according to the
arbitrary angular pattern defined by user variables with index from 'start'
to 'start+(n-1)' (total n variables).
Available repeatedly.
The position of the decay center is changed with LP, C, R, etc. |
ConstantDecay |
CD |
rate |
light modulator |
image thinning decay |
light source image will be thined by the assigned factor (100-0%).
Layer image will be thinned by the constant factor. Available repeatedly.
This command is independent of position assignments such as LP, C, R.
If you assign parameter larger than 100%, the light source image will be intensified. |
ExtractDecay |
ED |
r,g,b,adm |
light modulator |
region extract by color |
only the region with assigned color (R,G,B)(adm:admittance) will be
left as a light source. Otherwise decayed to zero. |
InvertedExtractDecay |
IED |
r,g,b,adm |
light modulator |
region elimination by color |
the region with assigned color (R,G,B)(adm:admittance) will be
eliminated (decayed) to zero. Other region will stay without change. |
ReplaceDecay |
RD |
r,g,b,adm |
layer modulator, light modulator |
color replacer |
In the region that the layer image has same color with assigned color
(R,G,B)(adm:admittance), the layer image will be replaced to the light source image.
In other region, the layer image will stay without change. |
OverWrite |
OW |
--- |
layer modulator |
overwrite masking |
layer image will be masked (thinned or decayed) according to the
inverted transparency of the light source image.
The light source image will stay without change. |
PositiveMask |
PM |
--- |
layer modulator |
transparency masking |
layer image will be masked (thinned or decayed) according to
the transparency of the light source image.
The layer image in the transparent region in the light source image will be decayed to zero.
The light source image will vanish and set to zero after this masking operation. |
ReversalMask NegativeMask |
RM NM |
--- |
layer modulator |
inverted transparency masking |
layer image will be masked (thinned or decayed) according to
the transparency of the light source image.
The layer image outside the transparent region in the light source image will be decayed to zero.
The light source image will vanish and set to zero after this masking operation. |
DifferentialMask |
DM |
(adm) |
layer modulator |
color comparison masking |
layer image pixels that have same color with current light source
will be masked and decayed to zero.
|
MultiplingMask |
MM |
--- |
layer modulator |
color/brightness masking |
layer image will be masked (thinned or decayed) according to
the brightness (or color) of the light source image.
The layer image in the region that color of the light source image is white will stay without change.
The layer image in the region that color of the light source image is black will decayed to zero.
The light source image will vanish and set to zero after this masking operation.
('LC 255,255,255 MM' makes no change.) |
WhiteLevelMask |
WLM |
--- |
layer modulator |
color/brightness enhancer |
layer image brightness of each R,G,B color will be enhanced
according to the brightness (or color) of the light source image that is resetting
the white level.
The layer image in the region that color of the light source image is white will stay without change.
The layer image in the region that color of the light source image is dark will be brightened.
The light source image will vanish and set to zero after this masking operation.
('LC 255,255,255 WLM' makes no change.) |
NegativeImage |
NI |
--- |
light modulator |
color nagation |
Inverts black to white, white to black. (R=255-R, G=255-G, B=255-B)
Yellow is inverted to blue, and so on. |
LimitLevel |
LL |
r,g,b |
layer modulator |
RGB clipping (top) |
Limits R,G,B values in layer image. |
LimitBottom |
LB |
r,g,b |
layer modulator |
RGB clipping (bottom) |
Limits R,G,B values in layer image. |
WhiteLevel |
WL |
r,g,b |
total image modulator |
white level reset |
Resets white level to assigned color. WL 255,255,255 does nothing.
Available for total image color control. |
AfterWhiteLevel |
AWL |
r,g,b |
total image modulator |
white level reset preassign |
Preassigns resetting white level. This command is equivalent to
assign WL at end of a script. |
FileWhiteLevel |
FWL |
(imgNo) |
total image modulator |
white level correction (image basis) |
Corrects white level on the basis of assigned image.
Each pixel are corrected referring pixel color of assined image. |
UniColoring |
UC |
r,g,b |
layer modulator |
monochrome converter |
UC 255,255,255 is for simple monochrome conversion. |
ChangeColor |
CC |
r,g,b |
layer modulator |
white level conversion |
Converts white to assigned color,
assuming BL for background color. |
Extraction |
EX |
r,g,b |
layer modulator |
color vector extractor |
Extracts color with assigned color vector.
assuming BL for background color. |
Threshold |
TH |
r,g,b |
layer modulator |
thin color eliminator |
Eliminates colors which any R,G,B color is thinner
than assigned color, to background (BL,BC) color. |
Version |
V |
ver |
set |
set lower version compatibility |
Skymaker read scripts with assigned version compatibility. |
QuantizeFilterType |
QFT |
type |
switch |
quantized error distribution filter type |
Selects error distribution filter type. type=0: Floyd (default), 1:Jarvis, 2:Stuckiy, 3: Burkes |
QuantizeLevels |
QL |
level |
switch |
Quantizer level |
Sets outputting image color levels.
'QL 0' disables level conversion filter. |
^ |
QLR QLG QLB |
level |
switch |
Quantizer level of R or G or B |
Assignes QL of R or G or B independently. |
QuantizeDetune |
QD |
rate |
switch |
Quantizer level shift (detune) |
Rate is from -0.5 to +0.5. |
^ |
QDR QDG QDB |
rate |
switch |
Quantizer level shift (detune) of R or G or B |
Assignes QD of R or G or B independently. |
OverModulation |
OM |
rate |
switch |
Overmodulator of quantizing filter |
Rate is usually used in range of 0-120%. |
SusiePlugin |
SP |
pluginName |
read-in |
prepare Susie Plug-in |
Assigns read-in image converter (Susie Plug-in).
This command is also available in skywin.ini. |
FileAssign |
FA |
imgNo,fileName |
set |
read image from a file to memory |
Reads image file and prepares on-memory image.
Folder path assignment is also available (default folder is script directory).
|
FileImageTransparentColor |
FITC |
imgNo,r,g,b(,adm) |
set |
set transparent color |
Sets transparent color range for imgNo image. The range is assigned as
r±adm, g±adm, b±adm with the parameter. The range is kept until the next loading of
new imgNo image or until execution of FITCR command. |
FileImageTransparentColorReset |
FITCR |
imgNo |
set |
transparent color reset |
Resets transparent color for imgNo assigned by FITC command.
|
FileImage |
FI |
(imgNo) |
light source |
floating image creator |
Makes floating image (copied from memory) on a layer.
The created floating image (light source) can be modulated with
light modulator (D, ID, NI, etc.). |
FileImageProject |
FIP |
imgNo,nx,ny(,dist)(,fog) |
light source |
floating image creator (3D projection) |
Projects image (copied from memory) onto virtual screen
with nomal vector (nx,ny,1) which distance to the center (0,0) is 'dist,'
and makes floating image copy on a layer.
Fog effect is enabled when parameter 'fog' (decaying length =1/fog) is non-zero.
The created floating image (light source) can be modulated with
light modulator (D, ID, NI, etc.). |
FileImageScatter |
FIS |
imgNo,mag |
light source |
floating image creator (scatter projection) |
Scatters image (copied from memory) to assigned magnitude 'mag,'
and makes floating image copy on a layer. The magnification center is the
center point assigned by 'C', and 'LP' is added after the magnification.
The created floating image (light source) can be modulated with
light modulator (D, ID, NI, etc.). |
FileColor |
FC |
(imgNo,)r,g,b |
set |
substituting color of file image |
Assigns substituting color when image is not loaded to FI0.
Enables FE also. |
FieldExtension |
FE |
(imgNo) |
set |
transparency cancel outside mixing image |
Disables transparency outside image. |
FileGamma |
FG |
gamma |
set |
gamma value of mixing image |
Sets gamma value of mixing image.
Use this command after G (Gamma) command, if mixed.
(default is set to the same with G.) |
FileSharpness |
FS |
rate |
set |
sharpness of mixing image |
Sets sharpness of mixing image (0-100%).
(Default is FS 17%.)
If negative shapness (<0) is assigned, the mixing image will be softened or obfuscated.
|
^ |
FSX FSY |
rate |
set |
FS for X or Y direction |
Assigns FS for X or Y direction independently.
Can be used for wobbler effect. |
FileBase |
FB |
(imgNo) |
set |
temporary background image |
BL (BaseLevel) of each pixel is set to the same color
with the assigned mixing image.
Other color setting will not be changed. |
FileLimit |
FL |
(imgNo) |
layer modulator |
RGB level clipping with mixing image color |
Limits the amount of light on layer with the amount of the light
of the mixing image.
The minimum RGB level is set to RGB level of the assigned image (if BL or BC
is set to white), and also the maxmum RGB level is set to RGB level of
the assigned image (if BL or BC is black). |
FileWraparound |
FW |
xcyc(,ycyc) |
set |
cycle length of image tiling |
Fills image with the assigned tiling intervals
outside area in multiples of image width or image height.
If decimal fractions (>1) are assigned for the cycle (e.g. 1.2), then
the transparent area is inserted among the tiled images.
Differnt values can be set for cycX and cycY.
If 'FW -1' is assigned, the image will be filled in chekered pattern.
The color of the transparent area, inserted between the tiled image,
can be changed with the 'FC' command.
Default setting is 'FW 0.' |
DotAlignment |
DA |
--- |
set |
dot resampler cancel |
Disables image resampler for FI, FB, and FL commands. |
AutoDotAlignment |
ADA |
--- |
set |
automatic dot alignment on/off |
DA command is activated when image magnification ratio is 1.000. |
TransparencyEnable |
TE |
(imgNo)(,mode) |
set |
mixing image transparency on/off |
Sets importing image transparency. Can be used in sub-layers.
'TE n,0' disables image transparency (from V2.52-).
'TE n,-1' reverses image transparency (from V2.52-). |
StreamBitmap |
SB |
--- |
switch |
stream BitMap process mode on |
Enables stream-mode bitmap processing, if the size of importing BMP
image and outputting image is the same.
In this mode, large size image (>1GByte) can be processed without large size memory.
|
WriteTransparency |
WT |
--- |
switch |
transparency output enable |
Enables image output with alpha channel.
If outputting file is BMP, the BMP will be written in 32-bit/pixel BMP format.
If outputting file is PSD, the PSD will be written with alpha channel.
|
AutoTransparency |
AT |
--- |
total image modulator |
transparency reconstructor |
Ignores current transparency plane, and reconstructs
the transparency plane from the R, G, B color planes referring background color (BC).
|
AssumeSize |
AS |
x |
set |
mixing image magnification adjuster |
Assigns virtual outputting image size intended for the layer
in which this command is assigned.
Assumes the image width for the original layer image to be X, and reset
the mixing image magnification ratio.
Default value is the same with $ss (standard image X size). |
AutoMagnitude |
AM |
(imgNo) |
set |
automatic mixing image magnitude setting |
Sets magnitude (M) to fit the mixing image
with the outputting image size (S or SF). |
^ |
AMX AMY |
(imgNo) |
set |
^ |
Sets magnitude (M) to fit the mixing image width
with the outputting image width (SFX, etc.). |
AutoCoveringMagnitude |
ACM |
(imgNo) |
set |
automatic mixing image magnitude setting |
Sets magnitude (M) to fill the mixed image covering
the full range of the outputting image. |
InterpolatingMode |
IM |
mode |
set |
interpolation mode of mixing image |
Sets the mode of image interpolation or resampling.
If mode=2, the resampler averages pixel color in the range of circular area.
(usually used for defocusing effect.)
If mode=4, the resampler averages pixel color in the range of circular area,
weighting the decay (square root) with the distance from center.
(usually used for light scattering effect.)
If mode=8, the resampler averages pixel color in the range of circular area,
weighting the decay (bi-cubic) with the distance from center.
(usually used for multi effect ovarlapping.)
If mode=16, the resampler interpolates color between pixels, with 3rd-order
smooth connection which gradient is zero at each original image pixel center.
(usually used to soften or multi effect ovarlapping.)
Default is mode=0 (square averaging).
If mode is increased by one (+1), accurate gamma-conversion supported.
Assign before target FI command appears.
Can be assigned as often as necessary in a script. |
ImageCopy |
IC |
srcImgNo, newImgNo |
read-in |
mixing image copy |
Copies mixing image of srcImgNo to newImgNo.
Use of this command is equivalent with combination use of RI and GC commands. |
ImageStrechCopy |
ISC |
srcImgNo, newImgNo, mag (,sftx) (,sfty) |
read-in |
image copy changing magnification |
Copies mixing image of srcImgNo to newImgNo stretching the image
with assigned magnification ratio and slightly shifting the image sftx pixel (horizontally),
sfty pixel (vertically). Affected by sharpness setting with
FS (FSX, FSY) commands. |
ImageStrechCopyFast |
ISCF |
srcImgNo, newImgNo, mag (,sftx) (,sfty) |
read-in |
image copy changing magnification (fast) |
Copies mixing image of srcImgNo to newImgNo stretching the image
with assigned magnification ratio with slight shift of the image ((sftx, sfty) pixels).
Sharpness setting is ignored. For creating thumbnails.
|
ReferenceImage |
RI |
imgNo |
set |
reference image number assignment |
Assigns source image for GM, GC, BP, TI, etc.
Execution of FA command includes execution of this RI command. |
GenerateMask |
GM |
imgNo |
read-in |
make new mask plane |
Creates new white plane with the same size with RI-assigned image or
last FA-loaded image. The imgNo assigns new image number.
Mask planes can be prepared with subsequent execution of BP, OS, AL commands.
|
PaintingArea |
PA |
x1,y1,x2,y2 |
set |
limiting painting area |
Limits BP/OS painting area to (x1,y1)-(x2,y2).
Use PAR to reset limitation.
Without this command assignment, whole area is activated for painting. |
PaintingAreaReset |
PAR |
--- |
set |
resetting paint area limitation |
Resets PA limitation, and maximizes activation area. |
PenetratingRadius |
PR |
radius |
set |
minimum width of painting path |
Sets minimum width of BP-painting path.
For example, when PR 2 is assigned, gap width that is less than 2 pixel will be
ignored for painting (ignored searching unpainted area through the gap of 2-1 pixel)
when BP command executed. In default setting, PR 2 is preassigned. |
PenetratingLevel |
PL |
brightness |
set |
brightness threshold for BP painting |
Sets threshold brightness difference for BP painting that will be ignored
as a noise or something. For example, when PL 16 is assigned, the area in that RGB brightness
is more than 255-16 will be regarded as completely white plane in the BP painting.
In default setting, PL 8 is preassigned. |
BackgroundPoint |
BP |
x,y |
read-in |
paint starting point |
Paints mask plane from pixel in (x,y) position ((x-dot right and
y-dot down from the left-top corner) referring RI-assigned referring image.
PL, PR, and PA assignments will be concerned. |
Osmose |
OS |
(depth) |
read-in |
osmosing mask edge |
Paints from mask edge and expands the mask to black line center
of RI-assigned source image referring pixel color and brightness.
The painting will be stopped if brightness of the any pixel that neighbors
the painted mask edge is higher and closer to white level.
The painting area will be locked after this operation.
If depth parameter (like 'OS 3') is attached, the mask expansion width will be limited
to assigned depth.
If the depth is assigned to 0 like 'OS 0', just locks PA-assigned area and
no mask expansion will be done. |
MaskingLevel |
ML |
brightness |
read-in |
mask white level |
Retunes mask white level. If you set 'PL 16,' ML should usually be
set to 256-16=240 (like 'ML 240'). If you set small value (like 'ML 128'), the mask edge
will be intensified for opaque. |
AutoLeveling |
AL |
--- |
read-in |
auto mask white level setting |
Retunes mask white level automatically.
Finds automatically the most thin mask level and set ML (no parameter necessary for AL).
This command can be used instead of ML. |
MakeBlackImage |
MBI |
newImgNo, x, y |
read-in |
making new image plane (black) |
Creates new image plane with assigned (x,y) size.
All pixels will initially be set to black. ((R,G,B)=(0,0,0)) |
MakeWhiteImage |
MWI |
newImgNo, x, y |
read-in |
making new image plane (white) |
Creates new image plane with assigned (x,y) size.
All pixels will initially be set to white. ((R,G,B)=(255,255,255)) |
MakeColorPlane |
MCP |
newImgNo, x,y, r,g,b,alpha |
read-in |
making new image plane (assigned color) |
Creates new image plane with assigned (x,y) size.
All pixels will initially be set to assigned color (R,G,B,alpha) |
CopyImage |
CI |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot |
read-in |
image copy (overwrite) |
Copies image from srcImgNo in rectangular area (fx,fy)-(tx,ty)
to destImgNo at (dx,dy) position (left-top corner), rotating the image
(rot=0,90,180,270). |
CopyImageTransparency |
CIT |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot |
read-in |
transparency copy (overwrite) |
Copies transparency of srcImgNo image in rectangular area (fx,fy)-(tx,ty)
to destImgNo at (dx,dy) position (left-top corner), rotating the image
(rot=0,90,180,270). Only transparency plane is copied (no change in RGB planes). |
CopyImageTransparencytoColor |
CITC |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot |
read-in |
copy transparency to RGB planes (overwrite) |
Copies transparency of srcImgNo image in rectangular area (fx,fy)-(tx,ty)
to RGB planes in destImgNo at (dx,dy) position (left-top corner), rotating the image
(rot=0,90,180,270). (T → R=G=B(monochrome)) |
CopyImageColortoTransparency |
CICT |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot |
read-in |
copy RGB planes to transparency (overwrite) |
Copies RGB planes (average of R, G, and B) of srcImgNo image in rectangular area (fx,fy)-(tx,ty)
to transparency plane in destImgNo at (dx,dy) position (left-top corner),
rotating the image (rot=0,90,180,270). ((R+G+B)/3 → T) |
AddImage |
AI |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot, mixrate |
read-in |
image mixing (addition) |
Copies image from srcImgNo in rectangular area (fx,fy)-(tx,ty)
to destImgNo at (dx,dy) position (left-top corner) and adds (R,G,B) brightness,
rotating the image (rot=0,90,180,270) and changing mixing intensity
(mixrate:0-100%). Available for mixing black-background images. |
AddImageTransparency |
AIT |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot, mixrate
(,subR)(,subG)(,subB)(,subT) |
read-in |
image mixing (addition) with arbitrary background color |
Copies image from srcImgNo in rectangular area (fx,fy)-(tx,ty)
to destImgNo at (dx,dy) position (left-top corner),
and adds (R,G,B) brightness and subtracts constant brightness (subR,subG,subB,subT),
rotating the image (rot=0,90,180,270) and changing mixing intensity (mixrate:0-100%),
The resultant image is effected by transparency of mixing image (srcImgNo).
The completely transparent region(s) of the mixing image make no effect on the
resultant image. If the subR, subG, subB ,subT parameters are omitted, zero values
are assumed. |
SubtractImageTransparency |
SIT |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot, mixrate
(,addR)(,addG)(,addB)(,addT) |
read-in |
image mixing (subtraction) with arbitrary background color |
Copies image from srcImgNo in rectangular area (fx,fy)-(tx,ty)
to destImgNo at (dx,dy) position (left-top corner),
and subtracts (R,G,B) brightness and adds constant brightness (addR,addG,addB,addT),
rotating the image (rot=0,90,180,270) and changing mixing intensity (mixrate:0-100%),
The resultant image is effected by transparency of mixing image (srcImgNo).
The completely transparent region(s) of the mixing image make no effect on the
resultant image. If the subR, subG, subB ,subT parameters are omitted, zero values
are assumed. |
MixImage |
MI |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot, mixrate |
read-in |
image mixing (subtraction) |
Copies image from srcImgNo in rectangular area (fx,fy)-(tx,ty)
to destImgNo at (dx,dy) position (left-top corner) and subtracts (R,G,B) brightness
from the white level,
rotating the image (rot=0,90,180,270) and changing mixing intensity
(mixrate:0-100%). Available for mixing white-background images. |
MixImageTransparent |
MIT |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot, mixrate |
read-in |
image mixing (with transparency) |
Copies image from srcImgNo in rectangular area (fx,fy)-(tx,ty)
to destImgNo at (dx,dy) position (left-top corner) and mixes with transparency,
rotating the image (rot=0,90,180,270) and changing mixing intensity
(mixrate:0-100%). Available for mixing images with transparency. |
MixImageTransparentColor |
MITC |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot, mixrate, r, g, b, adm |
read-in |
image mixing (with assigned-color set to transparent) |
Copies image from sImgNo in rectangular area (fx,fy)-(tx,ty)
to dImgNo at (dx,dy) position (left-top corner) and mixes images with assigned color
(r-adm~r+adm,g-adm~g+adm,b-adm~b+adm) set to transparent.
The source image will be rotated (rot=0,90,180,270) and mixing intensity will be changed
(mixrate:0-100%). Available for mixing images with specific color transparent. |
MixMultipliedImage |
MMI |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot, mixrate |
read-in |
image brightness multipling (with transparency) |
Copies image from srcImgNo in rectangular area (fx,fy)-(tx,ty)
to destImgNo at (dx,dy) position (left-top corner),
and multiplys (R,G,B) brightness (base=(0,0,0)),
rotating the image (rot=0,90,180,270) and changing mixing intensity (mixrate:0-100%),
The resultant image is effected by transparency of mixing image (srcImgNo).
The completely transparent region(s) of the mixing image make no effect on the
resultant image. |
DivideMemoryImage |
DMI |
destImgNo, dx, dy, srcImgNo, fx, fy, tx, ty, rot, mixrate |
read-in |
image brightness dividing (with transparency) |
Copies image from srcImgNo in rectangular area (fx,fy)-(tx,ty)
to destImgNo at (dx,dy) position (left-top corner),
and divides (R,G,B) brightness (base=(0,0,0)),
rotating the image (rot=0,90,180,270) and changing mixing intensity (mixrate:0-100%),
The resultant image is effected by transparency of mixing image (srcImgNo).
The completely transparent region(s) of the mixing image make no effect on the
resultant image. |
NegateMemoryImage |
NMI |
imgNo |
read-in |
RGB brightness inversion (complementary color) |
Inverts RGB brightness of memory image (imgNo).
Also available for creating negative images. No effect is made on transparency plane.
|
MemoryImageSave |
MIS |
imgNo, filename (,trans) |
read-in |
direct memory image output to file |
Outputs image in memory (imgNo) directly to file.
If trans=0, no transparency (alpha) data will be attached to the output file.
If trans=1, transparency (alpha) data will be attached to the output file.
If trans=-1, transparency (alpha) data will be attached if alpha plane data are
not all 255 or 0 (attached when recognized to be necessary).
Relative path assignment is available
(supported V2.55e4-)(default path: image file (if exists) path, or script file path).
|
LoopIn |
LI |
cyc |
read-in |
start of script repeat |
Repeats until 'LO' for assigned (cyc) times.
For example, when 'LI 3 ~ LO' is assigned, the script in '~' will be
repeated 3 times.
If you assign '0' for repeating time, the script until '~ LO' will be
just skipped. Nesting is also available until 31 times.
(supported V2.54i-)
|
LoopOut |
LO |
--- |
read-in |
end of script repeat |
Repeats script from 'LI xx'.
Use with 'LI'.
(supported V2.54i-)
|
ImportScript |
IS |
fileName |
read-in |
script inclusion |
inserts the assigned script into this 'IS' position.
For example, 'IS img/rainbow.txt' inserts the script 'rainbow.txt' found in the 'img' folder.
The file path is relative to the parent script path (like an URL).
Nesting is also available (up to 31 times). |
ExecuteScript |
ES |
fileName |
read-in |
multitask script execution |
Executes the assigned script as a child process, creating new window.
This command is Windows only. (V2.56a4-)
|
ExecuteScriptParameter |
ESP |
fileName, paramStr |
read-in |
multitask script execution (with option(s)) |
Executes the assigned script as a child process, creating new window.
Command-line parameters can also be attached.
This command is Windows only. (V2.56a4)
|
OutputFileName |
OFN |
fileName |
set |
outputting file name |
Assigns outputting image file name.
Relative path assignment is available
(supported V2.54i4-)(default path: image file (if exists) path (V2.55e4-), or script file path).
If '*.PSD' is assigned as an outputting file name,
the output file will be in PSD format
(supported V2.55-).
|
DotPerInch |
DPI |
res |
set |
pixel resolution |
Sets the pixel size (resolution) (dpi)
for JPEG, PNG, PSD image files.
Default is 72 dpi. |
JPGQuality |
JPGQ |
rate |
set |
JPEG output quality |
Sets the quality of output JPEG image (0〜100).
The rate is 94 by default. |
JPGSample |
JPGS |
mode |
set |
JPEG sampling mode |
Sets the sampling mode of output JPEG image.
The mode is "1x1" by default. |
JPGCommentCopy |
JPGCC |
mode |
set |
JPEG comment copy mode |
Sets comment copying mode for JPEG image input/output.
If mode is 1, comments in COM, APP12 and Exif (APP1) are copied.
If mode is 1+2 (=2), MakerNote in Exif will also be copied.
If mode is 1+2+4 (=7), 1stIFD will be retained.
If mode is 1+2+4+8 (=15), thumbnail in APP1 will be retained.
The mode is 0 by default (no comment copy). |
FramePerSecond |
FPS |
rate |
set |
frame rate setting (for movie) |
Sets the frame rate (frame/sec) of AVI movie.
Default setting is 4.0 fps, if no FPS command is assigned. |
AttachMovieSound |
AMS |
fileName |
set |
movie sound file assign |
Sets the sound file (WAV) to be mixed in AVI file.
If an inputting/outputting AVI file does not have sound track,
Skymaker creates new sound track in the AVI. |
ReplaceMovieSound |
RMS |
fileName |
set |
movie sound file assign (for replace) |
Sets the sound file (WAV) to be replaced in AVI file.
If an inputting/outputting AVI file already has a sound track,
Skymaker once delete the sound track and creates a new sound track. |
OutputText |
OT |
str (,v1)(,v2)... |
read-in |
text string output |
Outputs text to OTN-assigned file.
Srtings that begin with Character '#' will be replaced to some
special strings. (#-replacing)
|
OutputTextName |
OTN |
fileName |
read-in |
outputting text file name |
Assignes and opens the file with assigned file name for
outputting text with OT command(s).
Relative path assignment is also available (from script or image path).
|
OutputTextAppendName |
OTAN |
fileName |
read-in |
outputting text file name (for append) |
Assignes and opens the file with assigned file name for
outputting text with OT command(s). If the file already exists, the
outputting text will be appended to the end of the original file.
If the file does not exist, new file will be created.
Relative path assignment is also available (from script or image path).
|
End |
END |
--- |
read-in |
end of script |
Forces to finish script read-in.
This command is unnecessay if a file end is the end of the script.
|
Obsolete Commands
These commands are supported for compatibility with
previous versions. |
Command |
Abbrev. |
Parameter(s) |
Class |
Function (Action) |
Remarks |
MixingRate |
MR |
rate |
set |
mixing rate for FI |
Sets mixing ratio for FI image placing.
In present versions, just use ConstantDecay (CD) after FI. |
BaseUp |
BU |
r,g,b |
layer modulator |
add background RGB level |
Shifts background RGB level.
In present versions, just use LightColor (LC) and BaseLevel (BL). |
AdaptiveFitting |
AF |
--- |
read-in |
mask white level (partial area tuning) |
Retunes mask white level automatically,
finding best level automatically serching PR-size area.
This command can be used instead of ML.
To use this command, assign 'V2.50' or less in ahead. |
SizeCopy |
SC |
(imgNo) |
init |
Image size copy* |
Assignes outputting image size to the same size with the loaded image
with FileAssign (FA) command. |
^ |
SCX SCY |
(imgNo) |
init |
^ |
Assignes outputting image size to the same X or Y size with the loaded image
with FileAssign (FA) command. The X and Y sizes can be set independently. |
SizeIncrease |
SI |
xinc,yinc |
init |
image size increase* |
Increases the outputting image size by the assigned pixel size,
If a negative value is assigned as a parameter, the size will be decreased. |
^ |
SIX SIY |
xinc yinc |
init |
^ |
X and Y image sizes can be assigned independently. |
SizeLimit |
SL |
xmax,ymax |
init |
image size limit* |
If an outputting image size is larger than the assigned parameter,
the size will be set to the assigned value.
|
^ |
SLX SLY |
xmax ymax |
init |
^ |
X and Y image sizes can be limited independently. |
SizeExchange |
SE |
--- |
init |
exchange X and Y size |
X and Y outputting image sizes can be exchanged,
If you use this command twice, the image size will be back to original size.
|
GenerateCopy |
GC |
imgNo |
read-in |
mixing image copy |
Creates copyed image of last FA-loaded image or
image assigned with RI. The imgNo assigns new image number.
IC command is recommended instead. |
TextSize |
TS |
height |
set |
text font size (height) |
Assigns text font size (height (dot)).
Default setting is 'TS 13'.
TFS command is recommended instead. |
TextAttribute |
TA |
attr |
set |
text font style and attribute |
Assignes font style and attributes.
Default setting is 'TA 0'.
+1 is for Italic,
+2 is for Bold,
+4 is for selecting fixed-pitch font,
+8 is for selecting variable-pitch font.
+4 and +8 will be taken into account when TF-assigned font does not exist.
TFA command is recommended instead. |
Viewer Supported Commands
These commands will be neglected in pure console version (Skymaker.exe).
DBG, IW, CW, PU, AF, VM, and AO have been supported from V2.51-,
and others have been supported after V2.52-. |
Command |
Abbrev. |
Parameter(s) |
Class |
Function (Action) |
Remarks |
DBG |
DBG |
--- |
init |
debug mode on |
Keeps console window open.
Available in CSkyView and SkyEdit. |
InitialWait |
IW |
sec |
init |
initial waiting time |
Stops initial execution of SkyView for assigned seconds.
|
CyclicWait |
CW |
sec |
init |
redraw waiting time |
Enables automatic redrawing and wait assigned seconds
before redrawing.
|
PopUp |
PU |
--- |
init |
window pop up |
Enables window pop-up when redrawing.
|
AutoFlip |
AF |
--- |
init |
animation mode on |
Enables automatic redrawing and foreground/background
image flipping. |
ClearAutoFlip |
CAF |
--- |
init |
animation mode clear (force to stop) |
Clears and force to stop AutoFlip (AF).
Use when you want to cancel forground/background image flipping. |
ViewingMode |
VM |
mode |
init |
display mode change |
VM +1 cancels progressive display and activates line scan
from window bottom.
VM +2 enables redraw-cont display on window title.
VM +4 cancels status display on window title.
VM +8 cancels folder-name display on window title.
VM +16 enables displaying mixing image file name when CT command assigned.
VM +32 cancels displaying script file name.
VM +64 cancels displaying mixing image file name on window title.
VM +128 enables monitor display of outputting image when executed on Skymaker.exe.
VM +256 enables line scan from window top.
Default setting is VM=0. |
NoFrame |
NF |
--- |
init |
cancel window frame display |
Cancels display of window title, frame, and scroll bars.
The left-top corner of window will be fixed to destop left-top corner. |
AvoidOverlap |
AO |
radius |
init |
redrawing cancelling radious |
Cancels redrawing around mouse cursor. If mouse cursor pointer
is closer than the assigned radius, the area will be left unredrawed.
Available only when VM=0 (in progressive display mode).
Use for filter tune-up (using QL, QD and OM commands). |
BmpSave |
BS |
--- |
init |
image recreating save |
Recreats current displayed image and save the recreated image,
instead of simple capturing. The name of the saved file will be modified
from the original outputting image like 'xxxx-hs001.bmp'.
No Text-command written graphics will be captured.
Text-command graphics will be finished before being saved.
|
ScreenShotSave |
SSS |
--- |
init |
screen shot save |
Saves displayed image to BMP (or PSD) file.
Text-command written graphics will be also captured.
Text-command graphics will be finished before being saved.
|
MemoryOutput |
MO |
imgNo |
init |
memory image output |
Outputs image to image memory (FI1-FI99).
Standard file output will be cancelled.
|
ChangeTitle |
CT |
string |
init |
window title change |
Changes window title to assigned string.
You can use comment marks (" ") to clarify the string that includes spaces.
|
ClickedRedraw |
CR |
--- |
init |
click response on |
Enables redrawing when click exists inside graphic
outputting whindow. The clicked position can be obtained with
$mcx and $mcy. |
NoSkip |
NS |
--- |
init |
skip cancel |
Disables skip while drawing.
Click and key input will be locked while drawing or redrawing. |
RedrawRange |
RR |
x1,y1,x2,y2 |
init |
redrawing range limitation |
Limits redrawing range of the outputting image
to (x1,y1)-(x2,y2) area. Text-command graphics will not be
limited with this command.
Use when you want to fasten redrawing in the case that
only a part of image will be modified with the redrawing. |
NoRedraw |
NR |
--- |
init |
redrawing cancel |
Disables redrawing. Text-command graphics will not
be disabled with this command. Same as RR 0,0,-1,-1 (= no redrawing range),
except the point that size of image outputting window will be unchanged.
You can save tentative-sized image which image size is different from
current window size using BS command.
|
ClearScreen |
CS |
--- |
init |
initial graphics clear |
Fills and clears graphis screen with
(0,0) position color.
|
TypeText |
TT |
string |
after-draw |
type string |
Displays text string on graphics after finished drawing
layer images.
You can use comment marks (" ") to clarify the string that includes spaces.
Fonts (TF), color (TC), font size (TS), position (TP), attributes (TA)
can be assigned. (These assignment should be written in ahead.)
|
TextTypeSpeed |
TTS |
wait |
set |
typing speed of text letters |
Sets typing speed of text letters with TT command.
The parameter is waiting time (ms) for typing each letter.
If you assign 0, the text will be written at once.
Default setting is TTS 0.
|
TextTypeSpeedMultibyte |
TTSM |
wait |
set |
typing speed of multibyte text letters |
Sets typing speed of multibyte text letters.
When TTS is assigned, TTSM is set to double of TTS at the same time.
|
TextTypePause |
TTP |
wait |
set |
typing speed of punctuation marks |
Sets typing speed for punctuation marks (, . ! ?).
When 'TTS 0' is assigned, setting of TTP will be ignored and same as TTP 0.
|
TextTypePauseMultibyte |
TTPM |
wait |
set |
typing speed of multibyte punctuation marks |
Sets typing speed for multibyte punctuation marks (, . ! ?).
When TTP is assigned, TTPM is set to double of TTP at the same time.
When 'TTSM 0' is assigned, setting of TTPM will be ignored and same as TTPM 0.
|
TypeNumber |
TN |
x (,fmt) |
after-draw |
type number |
Displays number text on graphics after finished drawing
layer images.
You can also assign format (fmt) optionally, in format like '5.2'
(whole digit, '.', fractional digit).
Fonts (TF), color (TC), font size (TS), position (TP), attributes (TA)
can be assigned. (These assignment should be written in ahead.)
|
TextPosition |
TP |
x,y |
set |
text draw position |
Assigns drawing position for text-command graphics.
The position (x,y) is assigned as x-dot right and y-dot down from the
left-top corner. Affects on following TT, TN, TI, and TPM commands. |
TextColor |
TC |
r,g,b |
set |
text color |
Assigns color of the text-command graphics.
Affects on following TT, and TN commands.
The color can be assigned as both '255,192,128' and '#FFC080'.
This command is affected by G (Gamma) setting.
Assign 'G 1' in ahead to reflect the color just as written in. |
TextFont |
TF |
fontName |
set |
text font name |
Assigns font name that is used for TT and TN text display.
Use like 'TF "Arial"'.
Default setting is 'TF "System"'.
|
TextFontRotate |
TFR |
ang |
set |
font rotating angle |
Assignes text rotating angle (in degree).
Default setting is 'TFR 0'.
If you use vertical font, assign 'TFR 90' in ahead. |
TextFontSize |
TFS |
height |
set |
text font size (height) |
Assigns text font size (height (dot)).
Default setting is 'TFS 13'. |
TextFontAttribute |
TFA |
attr |
set |
text font style and attribute |
Assignes font style and attributes.
Default setting is 'TFA 0'.
+1 is for Italic,
+2 is for Bold,
+4 is for selecting fixed-pitch font,
+8 is for selecting variable-pitch font.
+4 and +8 will be taken into account when TF-assigned font does not exist. |
TextImage |
TI |
x1,y1,x2,y2 |
after-draw |
direct image draw |
Overwrites memory-stocked image on graphic plane.
(x1,y1)-(x2,y2) assignes source image area.
Image should be selected with RI command in ahead, and destination position on
graphic plane should be preassigned with TP command.
Settings preassigned with TIA, TIR and TIW commands are also concerned.
Note that image placed with this command is not reflected on standard outputting
image using Skymaker.exe.
Faster than standard image drawing. |
TextImageAttribute |
TIA |
mode |
set |
image transfer mode |
Changes the mode of image transfer using TI command.
Default setting is 'TIA 0'.
If the mode is >0, TC-assigned color will be transparent (the admittance
can be assigned with the value of the mode).
If the mode is <0, TI-drawn image will be alpha-blended on graphic plane image.
if the mode is -1, completely transparent or completely opaque blending is done.
If the mode is -2, accurate alpha-blending is supported. Instead, display speed is slow.
TIA commands should be written before TI commands. |
TextImageRotation |
TIR |
ang |
set |
TI rotation angle |
Assigns clockwise rotation angle of TI-importing image.
0, +/-90, +/-180, 270 are available for (ang) parameter.
(supported V2.52F-)
|
TextImageWipe |
TIW |
mode |
set |
TI wiping mode |
Assigns wipe mode for TI image drawing.
Default setting is 'TIW 0.'
-1 is for wipe from center to top and bottom.
-2 is for wipe from top and bottom to center.
-3 is for interlaced wipe from top to bottom and bottom to top.
-4 is for interlaced wipe from bottom to top and top to bottom.
(supported V2.52F2-)
|
TextLine |
TL |
x1,y1,x2,y2 |
after-draw |
line |
Draws a line from (x1,y1) to (x2,y2).
Line color can be assigned with TC. |
TextBox |
TB |
x1,y1,x2,y2 |
after-draw |
box (frame only) |
Draws a box frame from left top (x1,y1) to right bottom (x2,y2).
Line color can be assigned with TC. |
TextBoxFill |
TBF |
x1,y1,x2,y2 |
after-draw |
rectangle (filled) |
Draws a filled box from left top (x1,y1) to right bottom (x2,y2).
Box color can be assigned with TC. |
TextCircleFill |
TCF |
x1,y1,x2,y2 |
after-draw |
circle or ellips (filled) |
Draws a filled circle or ellips in a boxed area
from left top (x1,y1) to right bottom (x2,y2).
Color can be assigned with TC. |
TextOval |
TO |
x1,y1,x2,y2 |
after-draw |
oval (frame only) |
Draws a oval with arc corner in a boxed area
from left top (x1,y1) to right bottom (x2,y2).
The radius of the arc can be assigned with TS.
Color can be assigned with TC. |
TextOvalFill |
TOF |
x1,y1,x2,y2 |
after-draw |
oval (filled) |
Draws a filled oval with arc corner in a boxed area
from left top (x1,y1) to right bottom (x2,y2).
The radius of the arc can be assigned with TS.
Color can be assigned with TC. |
TextTriangleFill |
TTF |
x1,y1,x2,y2,x3,y3 |
after-draw |
triangle (filled) |
Draws a filled triangle with apexes
(x1,y1), (x2,y2), and (x3,y3).
Color can be assigned with TC. |
TextWait |
TW |
wait |
after-draw |
wait |
Waits for assigned milliseconds.
You can insert waiting time in Text~
commands. |
TextDelay |
TD |
wait |
after-draw |
time delay |
Waits for assigned milliseconds from last execution of TW or TD.
Can be used to keep correct time intervals excluding time lags in
drawing graphics. |
TextUpdate |
TU |
--- |
after-draw |
text updating flip |
Transfers background graphics plane to foreground.
Can be used for updating graphics drawn in BD mode.
(supported V2.52F-) |
NormalDraw |
ND |
--- |
set |
standard text drawing mode |
Assigns drawing mode for both foreground-
and background-plane drawing. This is the standard (default) drawing mode.
Affects on all Text~ related commands.
(supported V2.52F-) |
FrontDraw |
FD |
--- |
set |
fast text drawing mode |
Assigns drawing mode for foreground-plane drawing
only. Fast but flickering in some PCs.
No flip is necessary. Can be reset with ND command.
(supported V2.52F-) |
BackDraw |
BD |
--- |
set |
background text drawing mode |
Assigns drawing mode for background-plane drawing
only. The back-draw graphics in this mode will be transferred
to foreground plane with TU command. Flicker free.
Can be reset with ND command.
(supported V2.52F-) |
GraphicUpdate |
GU |
--- |
read-in |
graphic updating flip |
Transfers background graphics plane to foreground.
Can be used for updating graphics drawn in BD mode.
Available for all following Graphic* commands.
|
GraphicPosition |
GP |
x,y |
set |
graphic draw position |
Assigns drawing position for graphic-commands.
The position (x,y) is assigned as x-dot right and y-dot down from the
left-top corner. Affects on following GT, GN, GI. |
GraphicColor |
GC |
r,g,b |
set |
graphic color |
Assigns color of the graphic-commands.
Affects on following GT, GN, and GB commands.
The color can be assigned as both '255,192,128' and '#FFC080'.
This command is affected by G (Gamma) setting.
Assign 'G 1' in ahead to reflect the color just as written in. |
GraphicFont |
GF |
fontName |
set |
graphic font name |
Assigns font name that is used for GT and GN text display.
Use like 'GF "Arial"'.
Default setting is 'GF "System"'. |
GraphicFontRotate |
GFR |
ang |
set |
graphic font rotating angle |
Assignes font rotating angle (in degree).
Default setting is 'GFR 0'.
If you use vertical font, assign 'GFR 90' in ahead.
|
GraphicFontSize |
GFS |
height |
set |
graphic font size (height) |
Assigns font size (height (dot)).
Default setting is 'GFS 13'.
|
GraphicFontAttribute |
GFA |
attr |
set |
graphic font style and attribute |
Assignes font style and attributes.
Default setting is 'GFA 0'.
+1 is for Italic,
+2 is for Bold,
+4 is for selecting fixed-pitch font,
+8 is for selecting variable-pitch font.
+4 and +8 will be taken into account when GF-assigned font does not exist. |
GraphicImage |
GI |
x1,y1,x2,y2 |
read-in |
direct image draw |
Overwrites memory-stocked image on graphic plane.
(x1,y1)-(x2,y2) assignes source image area.
Image should be selected with RI command in ahead, and destination position on
graphic plane should be preassigned with GP command.
Settings preassigned with GIA, GIR and GIW commands are also concerned.
Note that image placed with this command is not reflected on standard outputting
image using Skymaker.exe.
Faster than standard image drawing. |
GraphicImageAttribute |
GIA |
mode |
set |
image transfer mode |
Changes the mode of image transfer using GI command.
Default setting is 'GIA 0'.
If the mode is >0, GC-assigned color will be transparent (the admittance
can be assigned with the value of the mode).
If the mode is <0, GI-drawn image will be alpha-blended on graphic plane image.
if the mode is -1, completely transparent or completely opaque blending is done.
If the mode is -2, accurate alpha-blending is supported. Instead, display speed is
slow.
GIA commands should be written before GI commands. |
GraphicImageRotation |
GIR |
ang |
set |
GI rotation angle |
Assigns clockwise rotation angle of GI-drawing image.
0, +/-90, +/-180, 270 are available for (ang) parameter.
|
GraphicImageWipe |
GIW |
mode |
set |
GI wiping mode |
Assigns wipe mode for GI image drawing.
Default setting is 'GIW 0.'
-1 is for wipe from center to top and bottom.
-2 is for wipe from top and bottom to center.
-3 is for interlaced wipe from top to bottom and bottom to top.
-4 is for interlaced wipe from bottom to top and top to bottom.
|
GraphicLine |
GL |
x1,y1,x2,y2 |
read-in |
graphic line |
Draws a line from (x1,y1) to (x2,y2).
Line color can be assigned with GC. The line is drawn
when the script is read in. |
GraphicBox |
GB |
x1,y1,x2,y2 |
read-in |
graphic box (frame only) |
Draws a box frame from left top (x1,y1) to right bottom (x2,y2).
Line color can be assigned with GC. The box is drawn
when the script is read in. |
GraphicBoxFill |
GBF |
x1,y1,x2,y2 |
read-in |
graphic rectangle (filled) |
Draws a filled box from left top (x1,y1) to right bottom (x2,y2).
Box color can be assigned with GC. The rectangle is drawn
when the script is read in. |
GraphicCircleFill |
GCF |
x1,y1,x2,y2 |
read-in |
graphic circle or ellips (filled) |
Draws a filled circle or ellips in a boxed area
from left top (x1,y1) to right bottom (x2,y2).
Color can be assigned with GC. The circle or ellips is drawn
when the script is read in. |
GraphicOval |
GO |
x1,y1,x2,y2 |
read-in |
graphic oval (frame only) |
Draws a oval with arc corner in a boxed area
from left top (x1,y1) to right bottom (x2,y2).
The radius of the arc can be assigned with TS.
Color can be assigned with GC. The oval is drawn
when the script is read in. |
GraphicOvalFill |
GOF |
x1,y1,x2,y2 |
read-in |
graphic oval (filled) |
Draws a filled oval with arc corner in a boxed area
from left top (x1,y1) to right bottom (x2,y2).
The radius of the arc can be assigned with TS.
Color can be assigned with GC. The oval is drawn
when the script is read in. |
GraphicTriangleFill |
GTF |
x1,y1,x2,y2,x3,y3 |
read-in |
graphic triangle (filled) |
Draws a filled triangle with apexes
(x1,y1), (x2,y2), and (x3,y3).
Color can be assigned with GC. The triangle is drawn
when the script is read in. |
GraphicText |
GT |
str |
read-in |
graphic string |
Displays text string on graphics when the script is read in.
You can use comment marks (" ") to clarify the string that includes spaces.
Fonts (GF), color (GC), font size (GFS), position (GP), attributes (GFA)
can be assigned. (These assignment should be written in ahead.)
|
ShowScrollBar |
SSB |
--- |
init |
scroll bar display ON |
Enables scroll bar display when the size of the
outputting image is lager than window size.
(supported V2.52F4-) |
ShowScrollBarX |
SSBX |
--- |
init |
scroll bar X display ON |
Enables horizontal scroll bar display when the size of the
outputting image is lager than window size.
(supported V2.54-) |
ShowScrollBarY |
SSBY |
--- |
init |
scroll bar Y display ON |
Enables vertical scroll bar display when the size of the
outputting image is lager than window size.
(supported V2.54-) |
ScrollShiftX |
SSX |
x |
init |
scroll X |
Scrolls graphics horizontally with assigned-pixel image shift.
(supported V2.54-) |
ScrollShiftY |
SSY |
y |
init |
scroll Y |
Scrolls graphics vertically with assigned-pixel image shift.
(supported V2.54-) |
SetScrollPosition |
SSP |
x,y |
init |
absolute scroll position |
Shifts graphics to set assigned position (x,y) to
window left-top corner.
Changes scroll bar position also.
(supported V2.54-) |
SetScrollPositionX |
SSPX |
x |
init |
absolute scroll position X |
Shifts graphics to set assigned position (x,*) to
window left edge.
Changes scroll bar position also.
(supported V2.54-) |
SetScrollPositionY |
SSPY |
y |
init |
absolute scroll position Y |
Shifts graphics to set assigned position (*,y) to
window left edge.
Changes scroll bar position also.
(supported V2.54-) |
ChangeCursorForm |
CCF |
iconNo |
init |
mouse cursor type when pressed |
Assignes mouse cursor to one of the following types:
1=cross, 2=hourglass, 3=slashed circle, 4=four-pointed arrow,
5=double-pointed arrow pointing northeast and southwest,
6=double-pointed arrow pointing north and south,
7=double-pointed arrow pointing east and west,
8=hand.
Default setting is 'CCF 0' (0=arrow).
(supported V2.54-) |
ChangeCursorFormBack |
CCFB |
iconNo |
init |
mouse cursor type (unpressed) |
Assignes mouse cursor to one of the following types:
1=cross, 2=hourglass, 3=slashed circle, 4=four-pointed arrow,
5=double-pointed arrow pointing northeast and southwest,
6=double-pointed arrow pointing north and south,
7=double-pointed arrow pointing east and west,
8=hand.
Default setting is 'CCF 0' (0=arrow).
(supported V2.54-) |
MinimumScrollSpeed |
MSS |
y |
init |
minimum scroll speed (on bar) |
Sets minimum scroll height (in pixel) when a scroll bar is clicked.
(supported V2.54-) |
WheelScrollSpeed |
WSS |
y |
init |
minimum wheel scroll speed |
Sets minimum scroll height (in pixel) when a mouse wheel rolled.
Ignored on Windows 95, 98, Me.
(supported V2.54a-) |
WindowExtension |
WE |
--- |
init |
window size extension |
Extends window size when scroll bar display enabled.
The increased width and height is scroll bar width.
(supported V2.52F4-) |
ScreenResizedRedraw |
SRR |
--- |
init |
resized redraw enable |
Enables redrawing when window size is changed manually.
(supported V2.54-) |
ExecuteScriptFinishedRedraw |
ESFR |
--- |
init |
redraw enable when chiled process finished |
Enables redrawing when any of ES/ESP-executed scripts
is finished. |
NoBackgroundText |
NBT |
--- |
init |
text copying cancel onto next page |
Cancels text copying onto flipped next page
when AF is assigned. |
NoBackgroundProcessing |
NBP |
--- |
init |
multitask cancel when text processing |
Cancels multitask processing for text-command graphics.
Can be used for reducing system load. |
SaveUserVariable |
SUV |
from,to,fileName |
init |
script save for user variables (non-zero only) |
Enables script save that can reload user variables
in the range of (from) to (to). The script name should be assigned
as a file name (fileName). Zero value variables are skipped for saving.
The saved script can be reloaded with IS (ImportScript) command.
Relative path assignment is availabe for the fileName.
(supported V2.54b-) |
SaveUserVariableZero |
SUVZ |
from,to,fileName |
init |
script save for user variables (zero also) |
Enables script save that can reload user variables
in the range of (from) to (to). The script name should be assigned
as a file name (fileName). Zero value variables are also saved.
The saved script can be reloaded with IS (ImportScript) command.
Relative path assignment is availabe for the fileName.
(supported V2.54b-) |
TextPlaySound |
TPS |
fileName |
after-draw |
music file play (foreground, once) |
Plays music file (WAV, MID).
If 'TR01.CDA'~'TR99.CDA' is assigned for fileName, the song of CD Audio
in assigned track can be playbacked. (For CDs, no path assignment is
necessary.)
Relative path assignment is available (like '../xxx.mid'). The path
should be relative to calling script (i.e., the script that
this TPS command is written in).
The start of play back is synchronized with Text~ command processing.
To stop the music or sound played with this command, use TPSS.
(supported V2.54c-) |
TextPlaySoundRepeat |
TPSR |
fileName |
after-draw |
music file play (foreground, repeated) |
Plays music file (WAV, MID) repeatedly.
(for CDs, no repeating) (Other features are same with TPS.)
To stop the music or sound played with this command, use TPSS.
To stop just the repeating, use TPSSR (available for MID only).
(supported V2.54c-) |
TextPlaySoundFadeout |
TPSF |
--- |
after-draw |
start of fade out (for TPS, TPSR) |
Starts fading out the music or sound played with
TPS or TPSR command (avalable for MID only).
If the fade out completely finished, automatically stops (like TPSS).
(supported V2.54c-) |
TextPlaySoundStop |
TPSS |
--- |
after-draw |
stop playing music (foreground) |
Stops playing music (that is started with TPS or TPSR).
Available for WAV, MID, CD Audio.
(supported V2.54c-) |
TextPlaySoundStopRepeating |
TPSSR |
--- |
after-draw |
repeating cancel |
Cancels repeating music play (that is started with TPSR)
and just continues playing.
Available for MID only.
(supported V2.54c-) |
TextPlayBackgoundSound |
TPBS |
fileName |
after-draw |
music file play (background, once) |
Plays music file (WAV, MID, CD Audio).
The playing process is consigned to driver on operating system (Windows)
as far as possible.
(Other features are same with TPS.)
To stop the music or sound played with this command, use TPBSS.
(supported V2.54f-) |
TextPlayBackgroundSoundRepeat |
TPBSR |
fileName |
after-draw |
music file play (background, repeated) |
Plays music file (WAV, MID) repeatedly.
(for CDs, no repeating) (Other features are same with TPBS.)
To stop the music or sound played with this command, use TPBSS.
To stop just the repeating, use TPBSSR (available for MID only).
(supported V2.54f-) |
TextPlayBackgroundSoundFadeout |
TPBSF |
--- |
after-draw |
start of fade out (for TPBS, TPBSR) |
Starts fading out the music or sound played with
TPBS or TPBSR command (avalable for MID only).
If the fade out completely finished, automatically stops (like TPBSS).
(supported V2.54f-) |
TextPlayBackgoundSoundStop |
TPBSS |
--- |
after-draw |
stop playing music (background) |
Stops playing music (that is started with TPBS or TPBSR).
Available for WAV, MID, CD Audio.
(supported V2.54f-) |
TextPlayBackgroundSoundStopRepeating |
TPBSSR |
--- |
after-draw |
repeating cancel |
Cancels repeating music play (that is started with TPBSR)
and just continues playing.
Available for MID only.
(supported V2.54c-) |
TextPlayMovie |
TPM |
fileName |
after-draw |
play movie file (import) |
Plays AVI movie once.
The position of the image can be preassigned with TP command.
The color of the image rectangle can be preassigned with TC command.
The image size is fixed to original movie size.
To stop the movie play, use TPMS command.
(supported V2.54g-) |
TextPlayingMovieStop |
TPMS |
--- |
after-draw |
stop playing movie |
Stops playing movie (taht is started with TPM).
(supported V2.54g-) |
TextSoundFinishedRedraw |
TSFR |
--- |
set |
play-finished redraw enable |
Enables redrawing when music, sound, or movie finished.
The 'finish' means both automatic stop at a file end and play aborting
with TPSS and TPBSS commands.
(supported V2.54g-) |
KeyRedrawEnable |
KRE |
keyCode |
set |
key action enable |
Enables redrawing when assigned key is pressed.
The key should be assigned with keycode (decimal) listed
in separate table 'Default key code list for Viewer.'
(supported V2.54i2-) |
REM |
REM |
--- |
- |
no operation |
Does nothing. This is a dummy command.
If you write 'REM END' at the top of a .BAT file, you can extract
the .BAT file from an archive file with IS (ImportScript) command
using Susie Plug-in. |
ViewerQuit |
VQ |
--- |
init |
viewer quit |
Quits and finishes viewer if Skymaker finds
this command in a script (except the case that the Skymaker
skipped reading of this command). |