Forum:Does not match MIME type?

I was trying to upload a new version of an existing file, but it said "File extension does not match MIME type". What does that mean? SereneChaos 19:58, August 22, 2011 (UTC)


 * The type of the file (such as PNG) doesn't match the end of the name (such as .png). Basically, you can't say a jpg is a png, or vice versa.


 * But the file type is correct. The original image was a jpg. I copy and pasted it into paint, erased the text, then saved as a jpg. But when I tried to upload it, it wouldn't work. SereneChaos 20:06, August 22, 2011 (UTC)


 * AFAIK, MSPaint claims it saves as a JPG but actually saves it as a BMP. I'd download a better image program. Irfanview is a nice compact program that can read almost any media type as well as convert images from one type to another. I'd suggest to give that a try and see if you can't get the results you want with the file you saved with MSPaint. The program will tell you when you open the file if it is a file type that is different from the name. Rappy 20:46, August 22, 2011 (UTC)