Why do .jpg and .jpeg both exist?

957 views

Why do .jpg and .jpeg both exist?

In: 4623

36 Answers

Anonymous 0 Comments

In UNIX and Mac systems, a filename extension meant nothing and in fact wasn’t even *really* a thing. You could place a period in a filename if you felt like it but the system didn’t see it as meaning anything special. As far as the OS was concerned, a filename like `abc.def` is just a 7 character filename where the third character happens to be a period for some reason. The `def` wasn’t even stored in a separate field.

In DOS systems, a filename extension was a *different part of* the name stored in a different field that can only be 3 characters. You still see this legacy today in Microsoft’s .NET software, where most system calls that use the word “filename” in their name don’t really mean the whole filename. They mean just the part without the extension.

When JPEG was invented, it wasn’t invented in the DOS world. The original filename extension was supposed to be “.jpeg”. But it got shortened to “.JPG” when working with with DOS systems that couldn’t do 4-character extensions. Even software on the Operating Systems that can handle the full name still had to deal with the fact that they were also going to get a lot of files named the 3-character way because that’s what people who made the files on DOS were going to name them.

The limitation no longer exists in modern version of Windows, but the legacy of people being used to naming JPEG files as “.JPG” for short is still there and it just stuck.

Anonymous 0 Comments

It was originally supposed to be .jpeg, but you had many people using computers at that time that only allowed 3-letter file extensions, so .JPG was the shortened form for them. People using Microsoft products got used to JPG, and it stuck and carried over long after the limitation went away.

Anonymous 0 Comments

In UNIX and Mac systems, a filename extension meant nothing and in fact wasn’t even *really* a thing. You could place a period in a filename if you felt like it but the system didn’t see it as meaning anything special. As far as the OS was concerned, a filename like `abc.def` is just a 7 character filename where the third character happens to be a period for some reason. The `def` wasn’t even stored in a separate field.

In DOS systems, a filename extension was a *different part of* the name stored in a different field that can only be 3 characters. You still see this legacy today in Microsoft’s .NET software, where most system calls that use the word “filename” in their name don’t really mean the whole filename. They mean just the part without the extension.

When JPEG was invented, it wasn’t invented in the DOS world. The original filename extension was supposed to be “.jpeg”. But it got shortened to “.JPG” when working with with DOS systems that couldn’t do 4-character extensions. Even software on the Operating Systems that can handle the full name still had to deal with the fact that they were also going to get a lot of files named the 3-character way because that’s what people who made the files on DOS were going to name them.

The limitation no longer exists in modern version of Windows, but the legacy of people being used to naming JPEG files as “.JPG” for short is still there and it just stuck.

Anonymous 0 Comments

[removed]

Anonymous 0 Comments

[removed]

Anonymous 0 Comments

[removed]

Anonymous 0 Comments

[removed]

Anonymous 0 Comments

[removed]

Anonymous 0 Comments

In early MacOS (pre OSX), there was a 4 letter file type code and a 4 letter creator code. The file type told the app what type of file it was opening and the creator code would tell the OS what app to open when you double clicked on it. I think these codes also told the OS what icon to display. These codes were invisible to most users and part of the ”magic” of the gui. Since the file type codes were 4 letters, it used JPEG not JPG.

Anonymous 0 Comments

[removed]