Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

A client sent me many jpeg files that I'd like to rename to jpg. Is this just a matter of renaming them, or should I open them with an image editing program and then saving them as jpg?

share|improve this question

migrated from stackoverflow.com Dec 14 '11 at 9:16

This question came from our site for professional and enthusiast programmers.

1  
You can rename *.jpeg files to *.jpg. How they are handled (in particular thru their MIME type) depends upon the applications processing them. –  Basile Starynkevitch Dec 14 '11 at 8:47

4 Answers 4

up vote 10 down vote accepted

JPEG stands for Joint Photographic Experts Group. JPG (pronounced jay-peg) is the most commonly used file extension used to identify files created with this lossy format, and is the same as .jpeg. JPEG is a bitmap compression format for picture and image files with compression ratios ranging from 10:1 to 20:1. Older DOS-based computers were designed to handle a maximum "3-character file extension" which is why JPG was attributed to compressed image files. Newer Operating systems such as Windows XP and Vista allow for longer file extensions as evidenced by ".html". Accordingly, the JPG file extension was upgraded to the JPEG file extension which is the true acronym for Joint Photographic Experts Group. Just as a side note, XP and Vista will also support the older JPG file extension.

Reference

share|improve this answer

In terms of the file itself there is really no consequence to renaming a JPEG as .jpg or .jpeg or any version of it .

But there may be some association effects if you are using Windows because a .jpeg may be associated with one program and .jpg may be associated with another .

On Unix-like Operating systems like Mac or Linux , file extensions have not meaning to the OS itself and association is made based on file type and not based on file extension, So there is really no effect .

In the case of web-browsers also there is no effect to naming a JPEG file with any extension,How that file is handled is based on the MIME type (CONTENT-TYPE HTTP header) .

share|improve this answer

Well, if you look at the description of the tags you used, you might have your answer:

"JPG is a filename extension for the JPEG image file format. JPEG is a commonly used method of lossy compression for digital photography (image)."

There should be no problem in changing the extensions.

share|improve this answer

Extensions have no effect on the file itself.

The difference might be having different applications associated with them, in which case renaming the file might cause it to be opened by a different application by default.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.