Skymaker V2.63 Command List


Abbreviation command index
AA, ACM, AD, ADA, AF, AG, AI, AIT, AL, AM, AMS, AMX, AMY, AO, AR, AS, AT, AWL,
BC, BD, BL, BP, BS, BU,
C, CAF, CC, CCF, CCFB, CD, CF, CFX, CFY, CI, CICT, CIT, CITC, CR, CS, CT, CW,
D, DA, DBG, DM, DMI, DPI,
ED, END, ES, ESFR, ESP, EX,
FA, FB, FC, FD, FE, FG, FI, FIP, FIPS, FIPSC, FIPSVX, FIPSVY, FIPST, FIS, FITC, FITCR, FL, FPS, FS, FSX, FSY, FW, FWL,
G, GB, GBF, GC, GCF, GF, GFA, GFR, GFS, GI, GIA, GIR, GIW, GL, GM, GO, GOF, GP, GT, GTF, GU,
IA, IC, ID, IED, IF, IFE, IFF, IFN, IFZ, IM, IS, ISC, ISCF, IW,
JPGCC, JPGQ, JPGS,
KRE,
LB, LC, LI, LL, LO, LP,
M, MBI, MCP, MI, MIS, MIT, MITC, ML, MM, MMI, MO, MR, MSS, MWI,
NBP, NBT, ND, NE, NF, NI, NM, NMI, NR, NS,
OD, OFN, OG, OM, OS, OT, OTAN, OTN, OW,
PA, PAR, PD, PG, PL, PM, PR, PU,
QD, QDB, QDG, QDR, QFT, QL, QLB, QLG, QLR,
R, RD, REM, RI, RM, RMS, RR, RS, RX, RY,
S, SB, SC, SCX, SCY, SE, SF, SFX, SFY, SI, SIT, SIX, SIY, SL, SLX, SLY, SP, SRR, SRRC, SS, SSB, SSBX, SSBY, SSP, SSPX, SSPY, SSS, SSX, SSY, SUV, SUVZ,
TA, TB, TBF, TC, TCF, TD, TE, TF, TFA, TFR, TFS, TH, TI, TIA, TIR, TIW, TL, TN, TO, TOF, TP, TPBS, TPBSF, TPBSR, TPBSS, TPBSSR, TPM, TPMS, TPS, TPSF, TPSR, TPSS, TPSSR, TS, TSFR, TT, TTF, TTS, TTSM, TTP, TTPM, TU, TW,
UC,
V, VM, VQ,
WE, WL, WLM, WSS, WT,
', //, /*, */, #, {, }

Defined variables index
$acos, $arg, $asin, $atan, $avra, $avrb, $avrg, $avrr, $avrt,
$bb, $bg, $br,
$c, $cde, $cdpt, $cdtn, $cdtr, $cdtt, $cos,
$d, $dd, $dm, $dw, $dy,
$esf, $exp,
$fa, $fh, $fd, $fdax, $fday, $fdx, $fdy, $fps,
$hsta, $hstb, $hstg, $hstr, $hstt,
$ia, $ib, $ibm, $icbl, $icbr, $icbt, $icbb, $idly, $ie, $ig, $ii, $imgs, $in, $iop, $ipsx, $ipsy, $ir, $isx, $isy, $it, $ix, $iy,
$lev, $log, $ln, $lyrf, $lyrs,
$max, $maxa, $maxb, $maxg, $maxi, $maxr, $maxt, $may, $minr, $ming, $minb, $mint, $mina, $mc, $mcax, $mcay, $mcx, $mcy, $md, $mdax, $mday, $mdx, $mdy, $me, $mef, $midp, $midpb, $midpm, $midpt, $midt, $midtb, $midtm, $mlst, $mx, $my,
$nest,
$p1-9, $pc, $pv,
$ra, $rb, $rdly, $re, $rg, $ri, $rn, $rnd, $rpsx, $rpsy, $rr, $rsx, $rsy, $rt, $rx, $ry,
$sax, $say, $scx, $scy, $sdx, $sdy, $sin, $sqrt, $sr, $srcs, $ss, $ssx, $ssy, $suma, $sumb, $sumg, $sumr, $sumt, $sux, $suy,
$t, $th, $tm, $ts, $tms,
$uv,
$v, $vm,
$wcr, $wcg, $wcb,
$x,
$y

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).
(*) Size : Maximum size of inputting/outputting images is 32000 x 32000 (for Windows ver.) and 2040 x 32000 (for MS-DOS ver.).
(*) S-command assigned outputting size will be ignored and automatically replaced to the size of the dropped image (FI0), if image file(s) dropped.
(*) FileImage : If you import image with FI command (like 'FI' or 'FI 0'), drop the image file with script at the same time.
The FA-assigned image files are not necessary for the drop, since already the path and file name is assigned in FA command parameters.
(*) FileAssign : Maximum number of mixing image files is 99 (imgNo=1〜99), and the maxmum size of the images is 32000 x 32000.
(*) Gamma : G, AG, FG commands are extended from V1.54 for virtual layer stacking and can be assigned several times in a script.





Variable List

$0000~$9999 are user variables. $a~$z are defined variavles. (supported V2.47c- and later)

Name Attached number Value Reassignment Remark
$000 --- user variable (0 reset) ok Reset to 0 everytime when redraw started.
$001-$999 --- user variables ok Not reset and the values are kept at redrawing. Can be saved using SUV / SUVZ commands. The initial value is 0.
$($001) etc. --- user variable (indirect access) ok If value of $001 is 123, $123 can be read or written. Nesting (like $($(12*$034+56)+78) ...) is also available.
$c --- redraw count ok redraw count in SkyView/Skymaker. The count at initial drawing is 0.
$esf --- child process finished no The value is 1 when any of ES-command executed script was finished. Otherwise 0.
$fa --- foot number of dropped file name no eg.) If 'IMG_0123.bmp' is dropped or assigned from command line, $fa=123 is set.
$fh --- head number of dropped file name no eg.) If '0456-cnv.bmp' is dropped or assigned from command line, $fh=456 is set.
$fd --- existence of dropped file no If some file is dropped on graphics window, the value is 1, otherwise 0. Both image files and script files are detected.
$fdx --- file dropped position X no If some file is dropped on graphics window, the value is X position of the drop, otherwise -16384.
$fdy --- file dropped position Y no If some file is dropped on graphics window, the value is Y position of the drop, otherwise -16384.
$fdax --- file dropped position X (absolute) no If some file is dropped on graphics window, the value is X position of the drop (absolute position on window), otherwise -16384. (valid from V2.61a)
$fday --- file dropped position Y (absolute) no If some file is dropped on graphics window, the value is Y position of the drop (absolute position on window), otherwise -16384. (valid from V2.61a)
$imgs --- number of image files (assigned or dropped) no Returns number of command-line assigned images or dropped images. (Until V2.56a3, the value is maximum image memory number (available memory).) (Changed after V2.56a4)
$fps --- frame rate of movie file no Returns frame rate (fps) of movie file (dropped AVI file, etc.) FPS command changes this value. Default value is 4.0 (fps).
$scrs --- number of script files (assigned or dropped) no Returns number of command-line assigned script files or dropped script files.
$k --- key code ok If some key is pressed on graphics/console window, the value is the key code, otherwise 0. This $k is reset to 0 everytime when script reading finished.
$lev --- layer level no The value changes in a script, and is virtual layer level that is increased with '{', and decreased with '}'. The initial level value is 0.
$lyrs --- number of layer in FI0 file no If an FI0-assigned file is a PSD file, the value is number of maximum layer stored in the PSD file. If a PSD file does not have layer, the value is 0.
$lyrf --- first layer transparency no If an FI0-assigned file is a PSD file and the first layer transparency plane is for mixed image, the value is 1. otherwise 0. For specified use.
$maxi --- maximum image memory number no The value is maximum image memory number (available memory). (e.g. If FI 0-99 is available, the value is 100.)
$mx --- X position of mouse pointer no The value is current mouse X position from left-top corner (0,0). If the pointer is out of graphics window, the value is -16384.
$my --- Y position of mouse pointer no The value is current mouse Y position from left-top corner (0,0). If the pointer is out of graphics window, the value is -16384.
$max --- X position of mouse pointer (absolute) no The value is current mouse X position from left-top corner (0,0) (absolute position on window). If the pointer is out of graphics window, the value is -16384. (valid from V2.61a)
$may --- Y position of mouse pointer (absolute) no The value is current mouse Y position from left-top corner (0,0) (absolute position on window). If the pointer is out of graphics window, the value is -16384. (valid from V2.61a)
$mc --- existence of mouse click no If mouse click is detected, the value is 1, otherwise 0. The value is reset after the script read in.
$mcx --- mouse clicked position X no The value is last-clicked mouse X position from left-top corner (0,0). If no click is detected, the value is -16384.
$mcy --- mouse clicked position Y no The value is last-clicked mouse Y position from left-top corner (0,0). If no click is detected, the value is -16384.
$mcax --- mouse clicked position X (absolute) no The value is last-clicked mouse X position from left-top corner (0,0) (absolute position on window). If no click is detected, the value is -16384. (valid from V2.61a)
$mcay --- mouse clicked position Y (absolute) no The value is last-clicked mouse Y position from left-top corner (0,0) (absolute position on window). If no click is detected, the value is -16384. (valid from V2.61a)
$md --- existence of mouse drag no If mouse drag is detected, the value is 1, otherwise 0. The value is reset after the script read in. (valid from V2.61a)
$mdx --- mouse drag position X no The value is latest mouse X position from left-top corner (0,0) while the left buttun is pushed. If no drag is detected, the value is -16384. (valid from V2.61a)
$mdy --- mouse drag position Y no The value is latest mouse Y position from left-top corner (0,0) while the left buttun is pushed. If no drag is detected, the value is -16384. (valid from V2.61a)
$mdax --- mouse drag position X (absolute) no The value is latest mouse X position from left-top corner (0,0) (absolute position on window) while the left buttun is pushed. If no drag is detected, the value is -16384. (valid from V2.61a)
$mday --- mouse drag position Y (absolute) no The value is latest mouse Y position from left-top corner (0,0) (absolute position on window) while the left buttun is pushed. If no drag is detected, the value is -16384. (valid from V2.61a)
$nest --- script include level no The value is include level that is increased with 'IS' command and decreased with 'END' command or at the end of script. The initial level value is 0.
$pc --- machine type no The value is 1 on Windows PC, 2 on Linux, 4 on MS-DOS (PC-DOS), 8 on Macintosh, and 16 on UNIX.
$pv --- viewer type no The value is 1 on SkyView, CSkyViewC, and SkyEdit, otherwise 0.
$rnd, $rnd0~9 --- random value (0-1) ok Random value between 0 and 0.99999. The series of the random value differs among $rnd0~$rnd9. $rnd (no number) is completely random value. You can give the seeds by assignment (ex. $rnd1= 12345 (0~65535)). Larger seed values are automatically folded in the range of 0~65535.
$sax --- current viewer window size X no The value is current width of active graphics area excluding scroll bars. (Screen Area X)(V2.52F4〜)
$say --- current viewer window size Y no The value is current height of active graphics area excluding scroll bars. (Screen Area Y)(V2.52F4〜)
$scx --- screen center position X no The value is center position X of outputting image. Normally half of the outputting image width (assigned with S, SF, etc.). (Screen Center X)
$scy --- screen center position Y no The value is center position Y of outputting image. Normally half of the outputting image height (assigned with S, SF, etc.). (Screen Center Y)
$sdx --- display size X no The value is width of user PC display in pixel (e.g. SVGA (1024x768) => 1024). (Size Display X)
$sdy --- display size Y no The value is height of user PC display in pixel (e.g. SVGA (1024x768) => 768). (Size Display Y)
$sr --- existence of window resize no If window resize (by manual or automatic) is detected, the value is 1, otherwise 0. (Screen Resized)(V2.52F4〜)
$ss --- standard size (dot) no The value may change in a script, and is standard length in '%' description (i.e. real 100% pixel length). The default value is width of outputting image (assign by S, SF, etc.). (Standard Size)
$ssx --- scroll shift X no The value is the amount of horizontal scroll. (Scroll Shift X)(V2.52F4〜)
$ssy --- scroll shift Y no The value is the amount of vertical scroll. (Scroll Shift Y)(V2.52F4〜)
$sux --- user screen area X on display no The value is maximum user screen area width available on user PC display (e.g. SVGA (1024x768) => 1016 (win95,98,Me)). (also auto-detected in 2000, XP, etc.) (Screen User X)
$suy --- user screen area X on display no The value is maximum user screen area height available on user PC display (e.g. SVGA (1024x768) => 716 (win95,98,Me)). (also auto-detected in 2000, XP, etc.) (Screen User Y)
$uv --- number of maximum user variables no The value is 1000, if the Skymaker can treat $000~$999 user variables. The value is 10000, if the Skymaker can treat $0000~$9999 user variables.
$v --- version number no The value is 2.55 for Skymaker V2.55.
$vm --- viewing mode no The value is current ViewingMode (VM).
$wcr --- window plane color (red) no The value is red intensity (0~255) of standard window plane color prepared in operating system. (Window Color Red)
$wcg --- window plane color (green) no The value is green intensity (0~255) of standard window plane color prepared in operating system. (Window Color Green)
$wcb --- window plane color (blue) no The value is blue intensity (0~255) of standard window plane color prepared in operating system. (Window Color Blue)
$x (imgNo) image size X (dot) no If imgNo is not assigned, the value is outputting image size (width) assigned by Size (S, SF, SC, RS) commands.
If imgNo is assigned, the value is image size loaded into FI image memory.
$y (imgNo) image size Y (dot) no If imgNo is not assigned, the value is outputting image size (height) assigned by Size (S, SF, SC, RS) commands.
If imgNo is assigned, the value is image size loaded into FI image memory.
Color Pick Functions 1 (both for Read/Write)
$ix --- pixel X position (dot) ok Should be preassigned before referring $ir,$ig,$ib.
$iy --- pixel Y position (dot) ok Should be preassigned before referring $ir,$ig,$ib.
$in ($ii) --- imgNo ok Default image memory number. Should be preassigned before referring $ir,$ig,$ib without image number assignment. $ii is the same with $in.
$ie (imgNo) image loaded status no The value is 1, if image has been loaded to memory (No. $in), otherwise 0.
$ir (imgNo) red intensity of pixel (0-255) ok Red intensity of the pixel at ($ix,$iy) of the image memory.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
$ig (imgNo) green intensity of pixel (0-255) ok Green intensity of the pixel at ($ix,$iy) of the image memory.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
$ib (imgNo) blue intensity of pixel (0-255) ok Blue intensity of the pixel at ($ix,$iy) of the image memory.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
$ia ($it) (imgNo) opacity of pixel (0-255) ok Opacity (or alpha value) of the pixel at ($ix,$iy) of the image memory.
If the value is 0, the pixel is completely transparent. If the value is 255, the pixel is completely opaque. If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
$it is the same with $ia.
$isx (imgNo) memory image size X no Width of memory image (in pixel). If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
$isy (imgNo) memory image size Y no Height of memory image (in pixel). If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
$ipsx (imgNo) memory image position shift X no Horizontal position of memory image (in pixel) recoreded in loaded image file. This value is irrelevant to Skymaker image processing. This $ispx is only for referring data recorded in original image file (mainly for PSD data). If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
(image position shift x)
$ipsy (imgNo) memory image position shift Y no Vertical position of memory image (in pixel) recoreded in loaded image file. This value is irrelevant to Skymaker image processing. This $ispy is only for referring data recorded in original image file (mainly for PSD data). If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
(image position shift y)
$idly (imgNo) memory image delay time no If the image is GIF or AVI, the interval time (ms) between the assigned frame (layer) to the next frame (layer) is set in this $idly. If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
(image delay time)
$icbl (imgNo)((adm)) X position of color border from left no X position (in pixel) of memory image color border searched from starting position ($ix,$iy) in left-to-right direction.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
If adm is assigned, color admittence for search is set to the assigned value.
If adm is not assigned, the value set with PL command is used for color search admittence.
(V2.57-)
$icbr (imgNo)((adm)) X position of color border from right no X position (in pixel) of memory image color border searched from starting position ($ix,$iy) in right-to-left direction.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
If adm is assigned, color admittence for search is set to the assigned value.
If adm is not assigned, the value set with PL command is used for color search admittence.
(V2.57-)
$icbt (imgNo)((adm)) Y position of color border from top no Y position (in pixel) of memory image color border searched from starting position ($ix,$iy) in top-to-bottom direction.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
If adm is assigned, color admittence for search is set to the assigned value.
If adm is not assigned, the value set with PL command is used for color search admittence.
(V2.57-)
$icbb (imgNo)((adm)) Y position of color border from bottom no Y position (in pixel) of memory image color border searched from starting position ($ix,$iy) in bottom-to-top direction.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $in (or $ii) is referred.
If adm is assigned, color admittence for search is set to the assigned value.
If adm is not assigned, the value set with PL command is used for color search admittence.
(V2.57-)
Color Pick Functions 2 (read only)
$rx --- pixel X position (dot) ok Should be preassigned before referring $rr,$rg,$rb. This assignment is irrelevant to $ix or $iy.
$ry --- pixel Y position (dot) ok Should be preassigned before referring $rr,$rg,$rb. This assignment is irrelevant to $ix or $iy.
$ri ($rn) --- imgNo ok Default image memory number. Should be preassigned before referring $rr,$rg,$rb without image number assignment. $rn is the same with $ri. This assignment is irrelevant to $in or $ii.
$re (imgNo) image loaded status no The value is 1, if image has been loaded to memory (No. $rn), otherwise 0.
$rr (imgNo) red intensity of pixel (0-255) ok Red intensity of the pixel at ($rx,$ry) of the image memory.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $ri (or $rn) is referred.
$rg (imgNo) green intensity of pixel (0-255) ok Green intensity of the pixel at ($rx,$ry) of the image memory.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $ri (or $rn) is referred.
$rb (imgNo) blue intensity of pixel (0-255) ok Blue intensity of the pixel at ($rx,$ry) of the image memory.
If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $ri (or $rn) is referred.
$ra ($rt) (imgNo) opacity of pixel (0-255) ok Opacity (or alpha value) of the pixel at ($rx,$ry) of the image memory.
If the value is 0, the pixel is completely transparent. If the value is 255, the pixel is completely opaque. If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $rn (or $ri) is referred.
$rt is the same with $ra.
$rsx (imgNo) memory image size X no Width of memory image (in pixel). If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $rn (or $ri) is referred.
$rsy (imgNo) memory image size Y no Height of memory image (in pixel). If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $rn (or $ri) is referred.
$rpsx (imgNo) memory image position shift X no Horizontal position of memory image (in pixel) recoreded in loaded image file. This value is irrelevant to Skymaker image processing. This $ispx is only for referring data recorded in original image file (mainly for PSD data). If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $rn (or $ri) is referred.
(reference position shift x)
$rpsy (imgNo) memory image position shift Y no Vertical position of memory image (in pixel) recoreded in loaded image file. This value is irrelevant to Skymaker image processing. This $ispy is only for referring data recorded in original image file (mainly for PSD data). If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $rn (or $ri) is referred.
(reference position shift y)
$rdly (imgNo) memory image delay time no If the image is GIF or AVI, the interval time (ms) between the assigned frame (layer) to the next frame (layer) is set in this $rdly. If imgNo is assigned, image memory of number (imgNo) is referred.
If imgNo is not assigned, image memory of number $rn (or $ri) is referred.
(reference delay time)
Color Histgram Functions
$p1-$p9 --- parameter(s) for function ok (assign. only) parameters for $hstr, $hstg, $hstb, $hstt, $hsta functions. Should be preassigned before using these functions.
$hstr (imgNo) red intensity at histgram position $p1 no The value is red intensity (0~255) at histgram $p1*100% from bottom. If $p1=0 (i.e. 0% from bottom), the value is same with $minr. If $p1=1 (i.e. 100% from bottom), the value is same with $maxr. $p1 should be assigned in ahead.
$hstg (imgNo) green intensity at histgram position $p1 no The value is green intensity (0~255) at histgram $p1*100% from bottom. If $p1=0 (i.e. 0% from bottom), the value is same with $ming. If $p1=1 (i.e. 100% from bottom), the value is same with $maxg. $p1 should be assigned in ahead.
$hstb (imgNo) blue intensity at histgram position $p1 no The value is blue intensity (0~255) at histgram $p1*100% from bottom. If $p1=0 (i.e. 0% from bottom), the value is same with $minb. If $p1=1 (i.e. 100% from bottom), the value is same with $maxb. $p1 should be assigned in ahead.
$hstt (imgNo) opacity at histgram position $p1 no The value is opacity (0~255) at histgram $p1*100% from bottom. If $p1=0 (i.e. 0% from bottom), the value is same with $mint. If $p1=1 (i.e. 100% from bottom), the value is same with $maxt. $p1 should be assigned in ahead.
$hsta (imgNo) opacity at histgram position $p1 no The value is opacity (0~255) at histgram $p1*100% from bottom. If $p1=0 (i.e. 0% from bottom), the value is same with $mint. If $p1=1 (i.e. 100% from bottom), the value is same with $maxt. $p1 should be assigned in ahead. $hsta is the same with $hstt.
$maxr (imgNo) maximum red intensity no The value is maximum red intensity of memory image (imgNo).
$maxg (imgNo) maximum green intensity no The value is maximum green intensity of memory image (imgNo).
$maxb (imgNo) maximum blue intensity no The value is maximum blue intensity of memory image (imgNo).
$maxt (imgNo) maximum opacity no The value is maximum opacity in memory image (imgNo).
$maxa (imgNo) maximum opacity no The value is maximum opacity in memory image (imgNo). $maxa is the same with $maxt.
$minr (imgNo) minimum red intensity no The value is minimum red intensity of memory image (imgNo).
$ming (imgNo) minimum green intensity no The value is minimum green intensity of memory image (imgNo).
$minb (imgNo) minimum blue intensity no The value is minimum blue intensity of memory image (imgNo).
$mint (imgNo) minimum opacity no The value is minimum opacity in memory image (imgNo).
$mina (imgNo) minimum opacity no The value is minimum opacity in memory image (imgNo). $mina is the same with $mint.
$avrr (imgNo) average red intensity no The value is average red intensity of memory image (imgNo).
$avrg (imgNo) average green intensity no The value is average green intensity of memory image (imgNo).
$avrb (imgNo) average blue intensity no The value is average blue intensity of memory image (imgNo).
$avrt (imgNo) average opacity no The value is average opacity of memory image (imgNo).
$avra (imgNo) average opacity no The value is average opacity of memory image (imgNo). Same with $avrt.
$sumr (imgNo) sum of red intensity no The value is total sum of the red intensity of the memory image (imgNo).
$sumg (imgNo) sum of green intensity no The value is total sum of the green intensity of the memory image (imgNo).
$sumb (imgNo) sum of blue intensity no The value is total sum of the blue intensity of the memory image (imgNo).
$sumt (imgNo) sum of opacity no The value is total sum of the opacity of the memory image (imgNo).
$suma (imgNo) sum of opacity no The value is total sum of the opacity of the memory image (imgNo). Same with $sumt.
Arithmetic Functions
$p1-$p9 --- parameter(s) for function ok (assign. only) parameters for $sin, $cos, $arg, $atan, $exp, $log, $ln, $hstr, $hstg, $hstb, $hstt, $hsta functions. Should be preassigned before using these functions.
$sin --- sin($p1) no Sine (sin) of $p1 (in radian). $p1 should be assigned in ahead.
$cos --- cos($p1) no Cosine (cos) of $p1 (in radian). $p1 should be assigned in ahead.
$asin --- arcsin ($p1) no Arcsine (arcsin, sin-1) (in radian) of $p1. $p1 should be assigned in ahead.
$acos --- arccos ($p1) no Arccosine (arccos, cos-1) (in radian) of $p1. $p1 should be assigned in ahead.
$atan --- arctan ($p1) no Arctangent (arctan, tan-1) (in radian) of $p1. $p1 should be assigned in ahead.
$exp --- exp($p1) no Exponential (exp) of $p1. $p1 should be assigned in ahead.
$log --- log10($p1) no Base 10 logarithm (log10) of $p1. $p1 should be assigned in ahead.
$ln --- ln($p1) no Base e (2.71828) logarithm of $p1. $p1 should be assigned in ahead.
$sqrt --- sqrt($p1) no Square root of $p1. $p1 should be assigned in ahead.
$arg --- directon of ($p1,$p2) vector no Direction (angle) of vector (X,Y)=($p1,$p2). The return value is between -180~180. Note only this function returns angle in degree (not in radian). $p1 and $p2 should be assigned in ahead.
For example, to rorate image (FI0) for the direction (angle) of vector ($mcx-$scx, $mcy-$scy), script is as follows:
 CR
 $p1= $mcx-$scx;
 $p2= $mcy-$scy;
 R $arg
 FI 0
(The image will be rotated for the clicked direction.)
Date and Time (Clock) Functions
$d --- date (all) no The value is fractional like '1999.0101'-'2099.1231'.
$dy --- date (year) no The vlaue is integer like 1999-2099.
$dm --- date (month) no The vlaue is integer like 1-12.
$dd --- date (day) no The vlaue is integer like 1-31.
$dw --- date (day of week) no The vlaue is integer like 1(sun)-7(sat). If the system cannot find date information, the value is 0.
$t --- time (all) no The value is fractional like 00.0000~23.5959.
$th --- time (hour) no The value is integer like 0~23.
$tm --- time (min) no The value is integer like 0~59.
$ts --- time (sec) no The value is integer like 0~59.
$tms --- time (ms) no The value is integer like 0~999 (in millisec). (V2.52f3-)
Music and Movie-related Functions
$p1-$p9 --- parameter(s) for function ok (assign. only) parameters for $cdtr function. Should be preassigned before using the function.
$cde --- CD exist no The value is 1 when CD is ready to be played, otherwise 0. Available for detecting CD ejection after CD playback started with TPS or TPBS command. (CD exist)
$cdpt --- CD current position no The value is time position (ms) from the top of the CD, when CD is being played with TPS or TPBS command. The time position is counted from top of CD track 1, including time of preserved area (usually 2.0 sec). (CD current position)
$cdtn --- CD current track number no The value is track number (song(s)) from the top of the CD, when CD is being played with TPS or TPBS command. (CD current track number)
$cdtr (track) CD track starting position no The value is starting time position (ms) of assigned song (by (track) parameter) from the top of the CD. The CD is should be played with TPS or TPBS command at least one time, before referring this value. For example, '$cdtr3' returns starting time position (ms) of 3rd song. If no song number is assigned as '$cdtr', returns starting time position (ms) of 4th song if $p1=4 is preassigned. (CD track starting position)
$cdtt --- CD total track no The value is total number of songs (tracks) on the CD. The CD is should be played with TPS or TPBS command at least one time, before referring this value. (CD total track)
$me --- music/sound/movie play end flag ok If TPS, TPSR, TPBS, TPBSR, TPM playing has finished, the value is 1, otherwise 0. Can be reset with '$me=0'. (music end / movie end)
$mef --- music/movie error flag ok If TPS, TPSR, TPBS, TPBSR, TPM fail playing, the value is 1, otherwise 0. Can be reset with '$mef=0'. (music error flag / movie error flag)
$mlst --- music last song flag ok If the song played with TPS, TPSR, TPBS, TPBSR is the last song in a volume (such as a CD), the value is 1, otherwise 0. Can be reset with '$mlst=0'. (music last)
$midp --- MIDI playing no If MID file is playing (using TPS, TPSR, TPBS, TPBSR commands), the value is 1, otherwise 0. (midi playing)
$midpt --- MIDI plaing time (tick) no The value is playing MIDI song position (tick). (midi present tick)
$midpb --- MIDI playing time (beat) no The value is playing MIDI song position (beat). (midi present beat)
$midpm --- MIDI playing time (meas) no The value is playing MIDI song position (measure) assuming 1 meas. = 4 beat. (midi present measure)
$midt --- MIDI playing time (ms) no The value is playing MIDI song position (time) in ms (milisecond). (midi time)
$midtb --- MIDI played position (beat) no The value is total played MIDI beats. (midi total beat)
$midtt --- MIDI played position (tick) no The value is total played MIDI ticks. (midi total tick)
$midtm --- MIDI played position (ms) no The value is last played MIDI time (ms). (midi time in milisecond)
Other Color Refernce Functions
$br (imgNo) red intensity of background substituting color no The value is red intensity (0~255) of background substituting color recorded in Skymaker with FC (FileColor) command. If imgNo is assigned, image memory of the number (imgNo) is referred.
If imgNo is not assigned, image memory of number 0 is referred.
If FC command is not preassigned, the value is red intensity of left-top corner (0,0) pixel. (Backgound Red)
$bg (imgNo) green intensity of background substituting color no The value is green intensity (0~255) of background substituting color recorded in Skymaker with FC (FileColor) command. If imgNo is assigned, image memory of the number (imgNo) is referred.
If imgNo is not assigned, image memory of number 0 is referred.
If FC command is not preassigned, the value is green intensity of left-top corner (0,0) pixel. (Backgound Green)
$bb (imgNo) blue intensity of background substituting color no The value is blue intensity (0~255) of background substituting color recorded in Skymaker with FC (FileColor) command. If imgNo is assigned, image memory of the number (imgNo) is referred.
If imgNo is not assigned, image memory of number 0 is referred.
If FC command is not preassigned, the value is blue intensity of left-top corner (0,0) pixel. (Backgound Green)
(*) +,-,*,/,(,) is available for all variable parameters. ( *,/ are culculated first.)
(*) If a space is inserted in an expression, the space is treated as a delimitor (',' or ':'). Space should not be inserted in an expression that sould be caluculated at once.
(*) Some assignment operators (+=, -=, *=, /=, %= (modulo), _= (trancation)) are available but space should be inserted just before these operators.




Arithmetic Operators

Available in expressions. Culculated according to four arithemetic operations.

Operator Available expression Action Remark
+ in parameters, substitution addition Available in all expression.
- in parameters, substitution subtraction Available in all expression.
* in parameters, substitution multiplication Available in all expression.
/ in parameters, substitution division Available in all expression.
( ~ ) in parameters, substitution operation priority control Culculated from innermost pair of parenthesis. Nesting is available up to ~40 times.
+= in substitution addition right to left Adds right value to left variable.
(e.g. '$001 +=23' is the same with '$001= $001+23.') Only available for user variables ($000-$999) and $c.
-= in substitution subtraction right from left Subtracts right value from left variable.
(e.g. '$001 -=23' is the same with '$001= $001-23.') Only available for user variables ($000-$999) and $c.
*= in substitution multiplication Multiplies left variable by right value.
(e.g. '$001 *=23' is the same with '$001= $001*23.') Only available for user variables ($000-$999).
/= in substitution division Devides left variable by right value.
(e.g. '$001 /=23' is the same with '$001= $001/23.') Only available for user variables ($000-$999).
%= in substitution modulo Calculates modulo right value of left variable and reassigns to left variable.
(e.g. '$001= 25: $001%= 7' assigns 4 into $001.)
(e.g. '$001= 25.1: $001%= 7.3' assigns 3.2 into $001.)
Only available for user variables ($000-$999).
_= in substitution integer truncation Adds right value to left variable, and then trancate to integer.
(e.g. '$001= 25.7: $001_= 0' assigns 25 into $001 (truncation).
(e.g. '$001= 25.7: $001_= 0.5' assigns 26 into $001 (rounding to nearest integer).
Only available for user variables ($000-$999).
&= in substitution bit logical product (and) 'AND' logical operation in binary.
Fractional part will be rounded to nearest integer in ahead.
'$001= 25: $001 &= 7' returns 1.
Only available for user variables ($000-$999). (supported in V2.56a3 or later)
^= in substitution bit logical exclusive-or 'EX-OR' logical operation in binary.
'$001= 25: $001 ^= 7' returns 30.
Only available for user variables ($000-$999). (supported in V2.56a3 or later)
(*) Insert space just before +=, -=, *=, /=, %=, _=, &=, ^= operators.
(*) Arithemetic functions (log, ln, exp, sin, cos, tan, asin, acos, atan, sqrt) are separately supported in Variable List in previous section.




Default Key Code List for Viewer

Available in SkyView, CSkyView, SkyEdit.

Key Validity when drawing Key code ($k) Function Remark
ESC ok 27 abort drawing/quit Aborts when drawing, and quits when stopped. If you press ESC twice, you can quit SkyView (etc.).
Q ok 81, 113 quit Aborts and quits directly for one script.
Ctrl + Q ok 17 enforce quit Aborts and quits all scripts that processing is left.
R ok 82, 114 redraw Starts redrawing. Script will be reloaded.
SPACE ok 32 redraw Starts redrawing. Script will be reloaded. Same as [R] key.
S - 83, 115 Screen-shot Save Saves screen-shot to BMP/PSD files. Text~-command written strings (with TT, TN) and graphics (with TI, TB, TCF, etc.) will also be captured. Resolution of the captured image will depend on graphics resolution supported by operating system.
B - 66, 98 image recreating save Saves image recreated with currently enabled script. Text~-command written strings nor graphics will not be captured. The resolution of the recreated image is independent of system graphics resolution.
I - 73, 105 iconize window Iconize Skymaker viewer window. The iconized window can be recovered from taskbar.
P ok 80, 112 redrawing previous Counts down the $c (redraw count) and starts redrawing.
N ok 78, 110 redraw Same as [R] key. Can be used as 'Next, No' input.
Y ok 89, 121 redraw Same as [R] key. Can be used as 'Yes' input.
C ok 67, 99 redraw Same as [R] key. Can be used as 'Cancel' input.
Left cursor ok 293 redraw Same as [R] key. Can be used as 'Left' input.
Up cursor ok 294 redraw Same as [R] key. Can be used as 'Up' input.
Right cursor ok 295 redraw Same as [R] key. Can be used as 'Right' input.
Down cursor ok 296 redraw Same as [R] key. Can be used as 'Down' input.
(*) Other key inputs than listed above are ignored for redrawing but their key code is registered in $k variable, and enabled for redrawing by KRE (KerRedrawEnable) command. Using KRE command, you can activate other keys (e.g. 0-9 number keys) for starting redrawing.




MIDI Text Event Code List

You can control MIDI playing inserting these text-written event in MIDI files (any track is available). Available on SkyView, CSkyView, and SkyEdit.

Text parameter action remark
REPEAT (cycle) repeat play enable This text event activates MIDI repeat play and set repeating range between REPEAT and JUMP for assigned (cycle) time. If JUMP tag is not found, the song play will be repeated between REPEAT and the end of MIDI song.
If cycle parameter is omitted, repeat playing infinitely.
The song play started with TPS/TPSR commands can be stopped with TPSF/TPSS commands, and be cleared for loop exit with TPSSR command.
The song play started with TPBS/TPBSR commands can be stopped with TPBSF/TPBSS commands, and be cleared for loop exit with TPBSSR command.
This REPEAT event assignment overwrites repeat setting of TPSR or TPBSR commands.
JUMP --- end of repeating loop If JUMP tag is not found, the song play will be repeated between REPEAT and the end of MIDI song.
PCKEY key code key action This text event activates key-code triggered Skymaker action. For example, 'PCKEY 32' activates [SPACE] key action (=key code: 32) and starts redrawing SkyView etc.
Key codes should be written in decimal (0~999) and are same with key codes listed in 'Default Key Code List for Viewer' in the last section.
This key code can be obtained in script with $k variable.




Command-line Option List

Available in Skymaker, CSkyViewC, and SkyEdit.

Option example action remark
-$c
/$c
-$c=123 preset of $c This option initializes $c value.
-$(number)
/$(number)
-$123=456.78 preset of user valiables This option initializes values of $0000~$9999 user variables.
-f
/f
-f123 start count of $c This option assigns start count of $c, and enables repeated action of Skymaker counting $c from -fxxx to -txxx.
Assigne with -t option.
-t
/t
-t456 end count of $c This option assigns end count of $c, and enables repeated action of Skymaker counting $c from -fxxx to -txxx.
Assigne with -f option.
-s
/s
-s2 count step of $c This option assigns count step of $c.
For example, '-f10 -t20 -s2' is assigned, Skymaker repeatedly creating image counting $c from 10 to 20 increasing $c with 2 steps, i.e., series of images for $c=10,12,14,16,18,20 are created and output.
-SB
/SB
-SB stream processing mode Image will be processed in stream bitmap edit mode as possible. In the stream bitmap edit mode, Skymaker avoids the memory allocation for FI0, and the required memory size will be reduced. The stream bitmap edit mode is available only when the script does not use 'FI0' and the input image file is BMP and output image file is BMP or AVI.
xxxx.bmp
xxxx.psd
(xxxx.jpg)
(xxxx.gif)
...
- importing image file Assigns image file name.
The assigned images can be imported with FI 0 command.
The effect is the same with drag-and-drop of assigned image files.
Susie Plug-in files are necessary if you assign JPEG, GIF, PNG files for this option. The plug-in should be preassigned in skywin.ini (on Windows).
xxxx.txt
...
- script file Assigns script file name. Text files (.TXT) are recognized as script files by default. Other files than major image files are also recognized as script files.
(*) Command-line option is supported in .BAT file and Windows start menu 'Start'>'Run.'



About Copyright, License Acknowledgement, and Distribution

The author of the Skymaker (this software) gratefully acknoledge that this software uses the following source code sets:

The Independent JPEG Group's JPEG software release 6b of 27-Mar-1998
copyright (C) 1991-1998, Thomas G. Lane. All Rights Reserved

zlib version 1.2.3, July 18th, 2005
Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler

libpng version 1.2.43, February 25, 2010
Copyright (c) 1998-2010 Glenn Randers-Pehrson
(Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
(Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)

bmp2png, png2bmp 1.62 (Sep 4, 2005)
Copyright(c) MIYASAKA Masaru 1999,2005


The author of the Skymaker (F.Issiki) holds the overall copyright to the 'Skymaker' (Skymaker.exe, SkyView.exe, CSkyView.exe) except the above JPEG/ZLIB/PNG library/utility part.
Skymaker V2.63 is a freeware. All the materials are copyrighted and are not in the public domain except the anonymous sample files.
The author provides the program `as is' without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. In no event will the author be liable for damages, including any general, special, incidental or consequential damages arising out of any use of the program or out of inability to use the program.
Reverse engineering, decompile, or disassemble of the Skymaker is forbidden.

Redistribution of unchanged Skymaker executables (Skymaker.exe, SkyView.exe, CSkyView.exe) is allowed provided that all the following condition (1)(2)(3) are fulfilled: (1) all the copyright notice is retained in attached documents, (2) the executables are redistributed with Skymaker script that the redistributer hold the legitimate right for distribution, and (3) the attached documents clarify where the redistributer obtained the redistributing Skymaker executables.

Renaming of the Skymaker executables or change of icons is allowed provided that the supporting document clarifies use of the Skymaker, and that the newest address or URL of original Skymaker supporting Web site is acknowledged in the supporting document(s).

Note that this license agreement is only for the Skymaker executalbes, and that other attached image files (such as .JPG, .GIF files) and should separately be licensed by the copyright holder of each files.

The anonymous script samples (in which copyright notice are not written) in 'sample' and 'viewer' folders in Entrance set are copyright free.



Version History

Please refer HERE.





Last update 2010.9.11 for V2.63
F.Issiki