mmFileUtils.IsImage

Determines if a file is one of the common image extensions "jpg", "png", "gif", "bmp", "jpeg", "jp2", "apng", "tif", "tiff", "heif", "heic", "webp", "raw"

public static bool IsImage(string selectedFullPath,
	String[] extraExtensions)

Return Value

true or false

Parameters

selectedFullPath

extraExtensions
Any additional file extensions as lower case extension without the .


See also:

Class mmFileUtils

© West Wind Technologies, 1996-2021 • Updated: 11/23/21
Comment or report problem with topic