Thank you. I am guessing if we add png in the if(formatInfo.Format) code above, we should be able to add support for png in the "approved" format list?
Also would this check affect server speed significantly? Since for each image it would have to (a) first get a list of all supported formats (100+) and (b) then check this huge list with each of the allowed formats in code above? Or would server load for this check (for every image) be negligible?
Also would this check affect server speed significantly? Since for each image it would have to (a) first get a list of all supported formats (100+) and (b) then check this huge list with each of the allowed formats in code above? Or would server load for this check (for every image) be negligible?