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)


 * I tried saving it with GIMP (I already had it downloaded, I just prefer paint for quick and easy edits) and it worked. Thanks for the help! ^^ SereneChaos 20:55, August 22, 2011 (UTC)


 * MS Paint can 'save' an image as a PNG/JPG, but usually does it in name only unless you've changed the format. I haven't used Paint in years, but I've been told that it is above the name location. Irfanview has a very low memory footprint and can be configured to load up an external editor with a hotkey (Shift-E). You still might want to look into it. You can configure it to open all your common filetypes (videos included) and hit Shift-E to quickly open the file in GIMP. Rappy 20:59, August 22, 2011 (UTC)