Please make sure, that the filename contains no space or special character (other than a-Z and 0-9 and _)
The imagename must have a suffix which defines the imageformat, i.e. jpeg,jpg, tiff, tif, png,... .