Seen on web browsers and smartphones everywhere, the JPEG file format is the bread and butter of everyday image file storage and display. Find out more about the history of JPEG images, what to use them for, and how to take advantage of their compression capabilities.
JPEG stands for Joint Photographic Experts Group, an international organization that standardized the format during the late 1980s and early 1990s. It’s the go-to file format for digital images — and it has been ever since photographers began snapping and storing images on digital cameras and other reprographic devices.
style
xl spacing, two up
layout
1 | 2
JPEG images group together the following filename extensions:
.jpg
.jpeg
.jpe
.jif
.jfif
.jfi
A JPEG file supports up to 24-bit color and uses lossy compression to compress images for more convenient storage and sending. This may make JPEGs better for everyday use, but it does mean sacrificing some of the original image quality.
History of the JPEG file.
In 1986, monitor technology couldn’t produce on-screen graphics. That’s when a group called the International Organization for Standardization (ISO) started working on ways to bring photo-realistic pictures to small screens around the world.
At the same time, the Joint Photographic Experts Group (JPEG) arrived on the scene and created its own standard to compress graphics files enough to work on the average PC. They came up with the concept of lossy compression, which removed visual data that the human eye couldn't see and averaged out color variation.
JPEG files came into their own with the advent of digital cameras and the World Wide Web. Now, anyone could snap and store images in small enough files to fit on limited camera storage while displaying reasonably well. The real value came in the JPEG’s ability to store metadata — such as where and when a picture is taken, and even camera settings.
Serious photographers still shy away from shooting in JPEGs because they want to keep all the image detail for post-processing or printing. But this file format is still very much a mainstream favorite.
What are JPEG files used for?
A JPEG file can display 16.8 million colors while staying relatively small in size. That’s what makes it the go-to file for photographers and web publishers alike.
Photography display.
While photographers tend to shoot in a raw format to ensure the most accurate capture of a picture possible, they often share the fruits of their labor online in JPEG form. The smaller size means it’ll open faster on most browsers (including mobile) without sacrificing too much quality.
Web publishing.
Everyone from big-time publishers to bloggers benefit from using JPEG files on their website. Faster page loading times gives readers quicker access to content — plus, JPEGs don’t take up too much storage space in the cloud.
The trade-off between file size and image quality is where the JPEG debate heats up.
Advantages of JPEGs.
JPEG files are arguably the most universally recognized image file format — compatible with most browsers, software, and apps.
Their small file sizes allow for quick transfer and fast access for viewing online. By intelligently discarding all the colors that the human eye can’t pick out — called lossy compression — JPEGs keep their file size as small as possible. Compared to lossless formats like GIFs, JPEGs are dramatically smaller in size.
Post-processing is easier because white balance and saturation in JPEGs are set with the click of the shutter.
Disadvantages of JPEG.
Lossy compression may be a space-saver, but when dealing with very heavily compressed images, the quality will suffer. Images with clean edges and lines will lose some of their sharpness in the compression.
Losing so much data may cause posterization — the loss of smoother transition between colors, making an image look blockier and abrupt. It may also cause the appearance of artifacts — aliasing on edges, blooming, or noise — which can severely affect image quality. Photographers can avoid the potential pitfalls of artifacts and posterization by saving photos in raw format.
style
xl spacing
background
#F5F5F5
How to open a JPEG file.
On a web browser (Windows).
If you’ve found an image on a web page and want to view it on its own, you can usually open it in a new tab. Right-click on the image (on PC) and select Open Image in New Tab or similar.
On a web browser (Mac).
If you’re operating Safari or a different browser on a Mac, you’ll see the same type of option as above for opening an image in a new tab. Just hold down the Command key and click on the image to bring up a menu, then select Open Image in New Tab.
From your desktop or hard drive.
Your computer should have a default image viewing program such as Photos for Windows or Preview on Mac. To open a file that’s saved on your computer, double-click the image file on your desktop and it will open using the default program.
Alternatively, you can use your preferred piece of software for viewing photos on Windows:
Right-click on the image on your desktop or file explorer window
Scroll down to Open With, then move right to see the list of programs that are preset to open your JPEG
How to create and edit a JPEG file.
When you want to save a finished file in Adobe Photoshop, you can create a JPEG file by clicking on the File menu, then selecting Save As.
You can return at any time to edit the file by opening Photoshop and using the File menu, then Open, to locate the file in your file explorer window. However, JPEG may not be the best choice for saving works-in-progress on Photoshop — the lossy compression can affect the image quality and you may lose some of the effect of the work. If this is the case for you, try saving as an alternative file format like PSD.
You can also create a JPEG in Adobe Firefly's AI image generator and downloading your finished creation as a JPEG file.
JPEG files: frequently asked questions.
JPGs and JPEGs are the same. The three-letter file extension was due to the limitations of older versions of Windows and MS-DOS. All file extensions were limited to three characters — today, this is no longer the case.
JPEG compression reduces file size by changing the color values and blocking together groups of pixels with a more uniform color, so that it doesn’t have to store as many different ones. While this does decrease the file size, it also alters the true image by changing the colors.
Older iPhones store photos as JPEG files. But since iOS 11, the default file type is now HEIC. You can change your preferences in the Compatibility settings on the iPhoto app.
Exchangeable image file format, or EXIF, is data contained within a JPEG file that provides extra information to the user such as:
The date and time the image was created
Camera settings such as make and model, aperture, and ISO speed
A thumbnail for previewing in file managers and on the camera’s LCD screen
Copyright information
Geotags to indicate where the photo was taken
You can view the EXIF data in Windows by right-clicking on the photo. Select Properties, then Details and scroll down. To view EXIF data on a Mac, open the image in Photos and choose Get Info.
You can control how Adobe websites use cookies and similar technologies by making choices below. But note that if you disable cookies and similar technologies entirely, Adobe websites may not function properly.
Cookies are small text files stored by your web browser when you use websites. There are also other technologies that can be used for similar purposes like HTML5 Local Storage and local shared objects, web beacons, and embedded scripts. These technologies help us do things like remembering you and your preferences when you return to our sites, measure how you use the website, conduct market research, and gather information about the ads you see and interact with.
You can make choices in the menu below about what cookies and other technologies you want us to use on Adobe sites when you visit them from this browser. You can always change those choices later by clicking on the Cookie Preferences link at the bottom of the page.
If enabled:
We can improve your experience by tailoring the site and the content to things we think might be of interest
We can better keep track of your preferences — like what language you prefer to use
We will better understand your likely interests so we can provide you more relevant Adobe ads and content on non-Adobe websites and in non-Adobe apps
It will help us improve the performance of our website and those of our partners who use the Adobe Experience Cloud
If disabled:
We won’t be able to remember you from session to session so the experience may not be tailored to your interests
You’ll still have access to the content of the site but certain features that depend on cookies may not function
You’ll still see ads, they just may not be as relevant to you
General information
You can control how Adobe websites use cookies and similar technologies by making choices below. But note that if you disable cookies and similar technologies entirely, Adobe websites may not function properly.
Cookies are small text files stored by your web browser when you use websites. There are also other technologies that can be used for similar purposes like HTML5 Local Storage, web beacons, and embedded scripts. These technologies help us do things like remembering you and your preferences when you return to our sites, measure how you use the website, conduct market research, and gather information about the ads you see and interact with.
You can make choices in the menu below about what cookies and other technologies you want us to use on Adobe sites when you visit them from this browser. You can always change those choices later by clicking on the Cookie Preferences link at the bottom of the page.
If enabled:
We can improve your experience by tailoring the site and the content to things we think might be of interest
We can better keep track of your preferences — like what language you prefer to use
We will better understand your likely interests so we can provide you more relevant Adobe ads and content on non-Adobe websites and in non-Adobe apps
It will help us improve the performance of our website and those of our partners who use the Adobe Experience Cloud
If disabled:
We won’t be able to remember you from session to session so the experience may not be tailored to your interests
We’ll still count your use of our site and services
You’ll still have access to the content of the site but certain features that depend on cookies may not function
You’ll still see ads, they just may not be as relevant to you
Operate the site and core servicesOperate site and measure engagement
Always active
These cookies are required, and they are used to enable the site and related services core functionality. Without them the site could not operate, so they cannot be disabled.
These cookies enable the site and related services’ core functionality and collect statistics about user engagement, such as counting active use to help us understand trends. These cookies cannot be disabled.
Measure performance
These cookies are used to analyze site usage to measure and improve performance. Without them Adobe cannot know what content is most valued and how often unique visitors return to the site, making it hard to improve information we offer to you.
These cookies are used to analyze site usage to measure and improve performance. Without them Adobe cannot know what content is most valued, making it hard to improve information we offer to you.
Extend functionality
These cookies are used to enhance the functionality of Adobe sites such as remembering your settings and preferences to deliver a personalized experience; for example, your username, your repeated visits, preferred language, your country, or any other saved preference.
Personalize advertising
These cookies are used to enable Adobe and our partners to serve ads more relevant to your interests. Without them you will still see ads, but they might not be as relevant to you.