Ques/Help Why are PNG format avatars being saved with JPG extensions?

E

eva2000

Guest
I'm looking at batch optimizing XF 2.2 avatar images if they're over a certain size using ImageMagick. But I just noticed that PNG format uploaded avatar images are being saved by the Xenforo system with JPG extensions?

When I download the avatar image and open it in my image viewer, it also complains wrong extension format and that it's not a JPG image and prompts me to rename it to PNG extension.

Using ImageMagick identify clearly shows uploaded avatar was an PNG image and not a JPG...

Read more

Continue reading...