You are here: Start » AVL.NET » Function Reference » Image » Image IO » AVL.EnumerateImages_Random

AVL.EnumerateImages_Random

Scans a disk directory for image files and then returns the images one by one in consecutive iterations sorted randomly.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static bool EnumerateImages_Random
(
	AvlNet.EnumerateFilesRandomState ioState,
	string inDirectory,
	bool inRepeat,
	bool inProcessSubdirectories,
	bool inInvert,
	bool inLoadAlphaChannel,
	int inDelay,
	AvlNet.Image outImage,
	out string outFilePath,
	out string outFileName
)

Parameters

Name Type Range Default Description
ioStateAvlNet.EnumerateFilesRandomState
inDirectorystring\".\"Input directory. Default value: ".".
inRepeatboolDetermines whether to repeat reading directory after reading all files.
inProcessSubdirectoriesboolFlag indicating whether to load images from the subdirectories or not.
inInvertboolFlag indicating whether to enumerate images backwards or not.
inLoadAlphaChannelboolFlag indicating whether to load alpha channel of the image or not.
inDelayintMinimum time between iterations in milliseconds.
outImageAvlNet.ImageOutput image.
outFilePathstringOutput file path.
outFileNamestringOutput file name.

Function Overrides

See also