GenerateFastSkin

Syntax:

Result = GenerateFastSkin( Skin$, SkinImage$, SkinBackground$, Compress [, x, y] )

Parameters:

Skin$

=

the filename of the FastSkin file to create


SkinImage$

=

the filename of the skin bitmap


SkinBackground$

=

the filename of the background bitmap


If you specify 0 here, no background image

is included in the generated skin.

If you specify 1 here, SkinImage$ is also

used for the skin background.


Compress

=

compression flag:


0 = dont compress

1 = compress


x, y

=

optional: pixel for transparency color in SkinImage$


Return Values:

0

=

failed

<>0

=

success


Description:

This command creates a new FastSkin file.


Example:

  GenerateFastSkin("skin.pbs", "skin.bmp", "back.bmp", 1)

  ; dont include background
  GenerateFastSkin("skin.pbs", "skin.bmp", 0, 1)

  ; use skin.bmp also for background
  GenerateFastSkin("skin.pbs", "skin.bmp", 1, 1)


Supported OS:   Windows