You are correct that when you add PNG to the list you will also be able to use that. You should however only call this piece of code once at the start of your application. When you Unregister a format you won't be able to register it again. You will need to restart your application pool to reset this.
↧