A
account8226
Guest
Okay so the reason when you uploaded that png file and it didn't mess it up is that Xenforo is using GD to convert it to a jpg file.
I suggest you ask your web hosting company to install ImageMagick with the PECL Extension. ImageMagick produces much cleaner converted images. Also there's a hack to turn off the compression so avatars look even better.
Oh ok ! Thanks you so much for your patience, I understand !
I think I would have never found the reason of this problem without your help, since I thought the problem web from my code.
I forgot to mention that is my local webserver, so I can install ImageMagick with PECL myself, and that problem won't occur on my production environnement since it's allready installed their.
Thanks again for your help Andy !