Open smillerk2 opened 4 years ago
The GetEncoder() function correctly checks for upper case extensions:
var isSupported = Regex.IsMatch(extension, "gif|png|jpe?g", RegexOptions.IgnoreCase);
However, the switch statement following does not so if the uploaded image is test.PNG then errors are reported:
No encoder support for: test.PNG
The GetEncoder() function correctly checks for upper case extensions:
However, the switch statement following does not so if the uploaded image is test.PNG then errors are reported: