I had this question before "Resize image on the fly make the image lose quality online but locally works nice"
And what i got now is that it's not a problem of local or online, i ran this resize on the server itself "dedicated server", and i got the same bad quality image, so the problem is in the IIS configurations.
What in iis can make this bad quality image happen?