protoclass.utils.check_img_filename

protoclass.utils.check_img_filename(filename)[source]

Method to check that the filename is an img file.

Parameters:

filename : str

The filename to check.

Returns:

The filename checked.