I often use JPEG images, and I have noticed that there are two very similar file extensions: .jpg, which my mobile's camera and the Preview application use, and .jpeg, with which Image Capture saves the images from scanning with my Canon MX455 printer. LaTeX doesn't seem to distinguish, as I gave it a .jpeg with the extension changed to .jpg and the result seems to be the same as if it had been a .jpg right from the start. I have wondered what the difference between the two is. I have come across this question, and will certainly read through it, though at the moment I'm slightly out of time. However, from what I saw giving it a quick look, it seems not to distinguish the two extensions. In fact, it seems the file type's name is JPEG and the file extension is .jpg:

JPEG(或JPG,作为文件扩展名;联合摄影专家小组)

(摘自第一个答案)。那么这两个扩展之间有什么大的区别吗?如果有,是什么?


当前回答

JPG和JPEG都是联合摄影专家组提出并支持的图像格式。这两个术语有相同的含义,是可以互换的。

要继续阅读,请查看JPG和JPEG之间的差异。

The reason for the different file extensions dates back to the early versions of Windows. The original file extension for the Joint Photographic Expert Group File Format was ‘.jpeg’; however in Windows all files required a three letter file extension. So, the file extension was shortened to ‘.jpg’. However, Macintosh was not limited to three letter file extensions, so Mac users used ‘.jpeg’. Eventually, with upgrades Windows also began to accept ‘.jpeg’. However, many users were already used to ‘.jpg’, so both the three letter file extension and the four letter extension began to be commonly used, and still is. Today, the most commonly accepted and used form is the ‘.jpg’, as many users were Windows users. Imaging applications, such as Adobe Photoshop, save all JPEG files with a ".jpg" extension on both Mac and Windows, in an attempt to avoid confusion. The Joint Photographic Expert Group File Format can also be saved with the upper-case ‘.JPEG’ and ‘.JPG’ file extensions, which are less common, but also accepted.

其他回答

JPG和JPEG都是联合摄影专家组提出并支持的图像格式。这两个术语有相同的含义,是可以互换的。

要继续阅读,请查看JPG和JPEG之间的差异。

The reason for the different file extensions dates back to the early versions of Windows. The original file extension for the Joint Photographic Expert Group File Format was ‘.jpeg’; however in Windows all files required a three letter file extension. So, the file extension was shortened to ‘.jpg’. However, Macintosh was not limited to three letter file extensions, so Mac users used ‘.jpeg’. Eventually, with upgrades Windows also began to accept ‘.jpeg’. However, many users were already used to ‘.jpg’, so both the three letter file extension and the four letter extension began to be commonly used, and still is. Today, the most commonly accepted and used form is the ‘.jpg’, as many users were Windows users. Imaging applications, such as Adobe Photoshop, save all JPEG files with a ".jpg" extension on both Mac and Windows, in an attempt to avoid confusion. The Joint Photographic Expert Group File Format can also be saved with the upper-case ‘.JPEG’ and ‘.JPG’ file extensions, which are less common, but also accepted.

完全没有区别。

我个人更喜欢3个字母的扩展名,但你可能更喜欢全名。 这是纯粹的美学(个人品味),没有别的。 格式不变。

您可以将jpeg文件重命名为jpg(反之亦然),没有任何变化:它们将在您的图片查看器中打开。

通过使用十六进制编辑器打开JPG和JPEG文件,您将注意到它们共享相同的标题信息。

文件扩展名之间没有区别,它们可以互换使用。我猜3个字母的版本源于DOS时代…

但是,JPEG文件有不同的“风格”。最显著的是JFIF标准和EXIF标准。大多数情况下,这些只是使用。jpg或。jpeg作为文件扩展名,JFIF有时使用。jif或。JFIF。

它们之间没有区别,它只是一个图像/jpeg mime类型的文件扩展名。事实上,image/jpeg的文件扩展名是。jpg, .jpeg, .jpeg .jif, .jfif, .jfi

它们是一样的。JPG只是DOS时代的产物,当时文件扩展名必须是3个字符。您可以在这里找到关于JPEG标准的更多信息。在SuperUser上也有一个类似的问题,接受的答案应该会给你一些更详细的信息。