Sequences

_Sequences, Sequences, SequencesEx

Sequences

Description 

 Sequences(
   int  PlayMode,
   char  PlayCommand,
   int  PlayTiming,
   double  PlayInterval
);

The Sequences function plays source images according to PlayMode command e.g. SlideShow, etc.

Parameters

int PlayMode

Define mode for playing.

0

Open Images to Full Screen.

1

Slide Show: Full Screen.

2

Slide Show: Keep Image Size.

9

Do not load images, use commands.

char PlayCommand

Function or Functions associated with every source image. This parameter is PlayMode dependent. It has meaning for Don´t load images, use commands PlayMode parameters. Otherwise, it is ignored. Note, that #### symbolize the current source image.

int PlayTiming

Defines display timing of source images.

0

Manually

1

No Delay; Source images are loaded as quick as possible.

2

Delay... (s); The interval (in seconds) between displaying and loading two subsequent images.

3

Load Every... (s); The interval (in seconds) between displaying two subsequent images.

double PlayInterval

The interval in seconds between two subsequent source images. This parameter is PlayTiming dependent. If PlayTiming==0 or 1, it has no meaning. For PlayTiming==2 it means the interval (in seconds) between displaying and loading two subsequent images, for PlayTiming==3 it means the interval (in seconds) between displaying two subsequent images.

Note

Commands and timing are applied, when the application picture window is filled with the images. More, context window is quicker in one image management - deleting, opening. Thumbnail images behave like the ordinary images: you can copy it to the reference, you can use Undo commands etc. --- 1) ImageSaveAs("c:\del\backup\#####",0,0); This function in the Execute Command(s) window will save each thumbnail as thumb001.lim, thumb002.lim, thumb003.lim... LIM color images, lossless compression. Five number signs ##### are devoted to the title of the thumbnail (== thumb001, thumb002,... ) giving you possibility to backup thumbnails in the directory you want. If thumbnail images thumb001,... already exist, they are overwritten. 2) ImageSaveAs("c:\del\backup\+#####",0,0); This function in the Execute Command(s) window will save each thumbnail as thumb001.lim, thumb002.lim, thumb003.lim... LIM color images, lossless compression. Plus sign + means, that if some thumbnails images exist, they are not overwritten. --- Execute Command(s): ImageOpen("####",1);LoadObjective("####",1);MeasureLength(); Execute Command(s): ImageOpen("####",1);LoadObjective("####",1);RunMacro("MEAS.MAC"); Execute Command(s): ImageOpenFree("####", 0, 0, 0, height/2, width);

See Also 
_Sequences

SequencesEx

Description 

 SequencesEx(
   char *ImageDirectory,
   char *ImageFormat,
   int  PlayMode,
   char *PlayCommand,
   int  PlayTiming,
   double  PlayInterval,
   char *FileFilter,
   int  SortItem
);

The SequencesEx function plays source images according to PlayMode command e.g. SlideShow, etc.

Parameters

char *ImageDirectory

Directory of the source images.

char *ImageFormat

Image formats to play sequences. The string could be *.lim or *.lim;*.jp2, etc.

int PlayMode

Define mode for playing.

0

Open Images to Full Screen.

1

Slide Show: Full Screen.

2

Slide Show: Keep Image Size.

9

Do not load images, use commands.

char *PlayCommand

Function or Functions associated with every source image. This parameter is PlayMode dependent. It has meaning for Don´t load images, use commands PlayMode parameters. Otherwise, it is ignored. Note, that #### symbolize the current source image.

int PlayTiming

Defines display timing of source images.

0

Manually

1

No Delay; Source images are loaded as quick as possible.

2

Delay... (s); The interval (in seconds) between displaying and loading two subsequent images.

3

Load Every... (s); The interval (in seconds) between displaying two subsequent images.

double PlayInterval

The interval in seconds between two subsequent source images. This parameter is PlayTiming dependent. If PlayTiming==0 or 1, it has no meaning. For PlayTiming==2 it means the interval (in seconds) between displaying and loading two subsequent images, for PlayTiming==3 it means the interval (in seconds) between displaying two subsequent images.

char *FileFilter

Filter definition for list of images to play. For example string "p" means only files starting with 'p' character will be played. This string could be empty.

int SortItem

File sort specification.

0

Filename

1

Date

2

Acquisition time

3

Time difference

4

Objective

5

Subject

6

Sample

7

Author

Note

Commands and timing are applied, when the application picture window is filled with the images. More, context window is quicker in one image management - deleting, opening. Thumbnail images behave like the ordinary images: you can copy it to the reference, you can use Undo commands etc. --- 1) ImageSaveAs("c:\del\backup\#####",0,0); This function in the Execute Command(s) window will save each thumbnail as thumb001.lim, thumb002.lim, thumb003.lim... LIM color images, lossless compression. Five number signs ##### are devoted to the title of the thumbnail (== thumb001, thumb002,... ) giving you possibility to backup thumbnails in the directory you want. If thumbnail images thumb001,... already exist, they are overwritten. 2) ImageSaveAs("c:\del\backup\+#####",0,0); This function in the Execute Command(s) window will save each thumbnail as thumb001.lim, thumb002.lim, thumb003.lim... LIM color images, lossless compression. Plus sign + means, that if some thumbnails images exist, they are not overwritten. --- No default action is performed, use #### to substitute filename of the image to be played. --- Execute Command(s): ImageOpen("####",1);LoadObjective("####",1);MeasureLength(); Execute Command(s): ImageOpen("####",1);LoadObjective("####",1);RunMacro("MEAS.MAC"); Execute Command(s): ImageOpenFree("####", 0, 0, 0, height/2, width);

See Also 
_Sequences, Sequences

_Sequences

Description 

 _Sequences();

The function displays the Play Sequence dialog box.

See Also 
Sequences