JPG and JPEG are two equivalent file extensions that both refer to the same digital image format, so there are actually no differences between the JPG and JPEG formats. The only difference is the number of characters used.
JPG exists because the earlier versions of Windows operating systems had a maximum 3-letter limit when it came to file names. UNIX-like operating systems like Mac or Linux never had this limit.
Also, JetBrains editors already match jpeg files as image.
From the web:
Also, JetBrains editors already match jpeg files as image.