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)

MSPaint can save perfectly find JPG images on its own. Make sure you change the "Save as type" to "JPG" before you save. Dont rely on it knowing to change to that type just because you typed "something.jpg" in the name box. --Uberfuzzy 19:29, August 24, 2011 (UTC)

The above is just what I've encountered today, but I hadn't put the image through any processes such as Paint or GIMP. I saved it straight from an email and it called itself "...jpg". I tried to upload it to Wikia with no name change and got the red message.

I'll try to fiddle with it using GIMP, as suggested above, but if it doesn't work I'll be back here. (This page was the top hit when I typed "MIME" in the search box, so it probably shouldn't be permanently archived. Maybe there should be a reference to a Help page.)

-- Robin Patterson (Talk) 06:21, December 29, 2011 (UTC)