Choosing between RAW and JPEG when you photograph is one of the most important decisions for both image quality and workflow. This guide gives you a complete breakdown of the differences, so you can make the right choice for your specific needs.
What you’ll learn in this article:
- Exactly what separates RAW and JPEG technically
- The advantages and disadvantages of each format
- When you should choose RAW versus JPEG
- How RAW+JPEG mode works as a hybrid solution
- Practical tips for handling files in jAlbum
Whether you’re a hobby photographer or running a professional photography business with a client photo gallery, you’ll get concrete advice that helps you optimize both image quality and workflow.
What are RAW files?
A RAW file is the closest you can get to a digital negative. When your camera’s sensor captures light, every photodiode hit by the sensor is registered, and all this raw data is saved directly to the file without any processing or compression.
Unlike JPEG files that are fully processed and ready to share straight from the camera, the RAW file contains only the sensor data in its original form. It’s like the difference between getting a finished meal compared to all the raw ingredients – with the ingredients, you decide exactly how the dish should be prepared.
How RAW format works
RAW files save image information in 12, 14, or 16 bits per color channel, which provides an enormous dynamic range. To put this in perspective:
- An 8-bit JPEG has 256 brightness levels per color channel (approximately 16.7 million colors total)
- A 12-bit RAW file has 4,096 levels per channel (approximately 68 billion colors)
- A 14-bit RAW file has 16,384 levels per channel (approximately 4.4 trillion colors)
This extra bit depth means the file contains information “behind” what you see on screen. In practice, you can recover overexposed skies or lift deep shadows in post-processing without introducing noise or visible color banding.
The RAW file also stores data in linear form, which means the values are directly proportional to the amount of light that hit the sensor. White balance, contrast, and other settings are saved only as metadata – instructions for how the image should be displayed – but the original data remains untouched.
Benefits of shooting RAW
Maximum editing flexibility
When you adjust a RAW file in Lightroom, Capture One, or similar software, you never change the actual pixels. Instead, you create a set of instructions (metadata) about how the image should be interpreted. This is called non-destructive editing. You can always return to the original appearance, even after hundreds of adjustments.
Better detail recovery
Thanks to the high bit depth and wide dynamic range, you can recover details in both overexposed areas and deep shadows in post-processing. Often you’ll see information in an overexposed area that appeared completely white in the JPEG version.
Perfect white balance adjustments
Because the white balance setting in RAW files is only metadata, you can change it completely without quality loss. Did you photograph indoors with the wrong white balance setting? In RAW format, it’s a simple adjustment. In JPEG, incorrect white balance has already permanently modified the pixel values.
Future-proof archiving
RAW files make it possible to take advantage of future editing tools. AI-based noise reduction and new demosaicing algorithms can be applied to old RAW files and deliver better results than what was possible when the photo was taken.
Drawbacks of RAW files
Large file sizes
RAW files take significantly more storage space than JPEG. A typical RAW file from a modern mirrorless camera is 25-50 MB, while the same image as JPEG might be 5-10 MB. This affects both memory card capacity during shooting and storage needs at home.
Requires post-processing
RAW files cannot be used directly – they must be processed in editing software first. This means extra time in the workflow. For photographers delivering hundreds of images from an event, this can become a significant time investment.
Slower camera buffer
Because RAW files are so large, the camera’s internal buffer fills up faster, which can limit the number of images you can take in burst mode before the camera must slow down to write files to the card.
Requires more computer power
Working with RAW files requires a computer with sufficient RAM and processing power. A large library of RAW files can make Lightroom or other software slow on older computers.
What are JPEG files?
JPEG (Joint Photographic Experts Group) is a compressed image format that became standard in the 1990s. When the camera saves an image as JPEG, the image goes through extensive processing directly in the camera.
The camera’s image processor (Image Signal Processor, ISP) takes the raw sensor data and applies a series of adjustments: white balance, contrast, sharpness, noise reduction, and color saturation. The image is then mathematically compressed to reduce file size. The result is a finished image that can be shared, printed, or published directly without any post-processing.
How JPEG compression works
JPEG uses a compression method called “lossy.” This means data is permanently discarded to make the file smaller.
The process works in several steps:
Color space conversion and chroma subsampling
The image is converted from RGB to YCbCr (brightness and color difference). Because the human eye is much more sensitive to brightness differences than color differences, color information is often reduced by half in both height and width (4:2:0 subsampling). This discards 75% of the color resolution.
Bit depth reduction
The linear sensor data (12-16 bit) is converted to 8 bits per channel with a gamma curve applied. This gives 256 levels per color channel instead of thousands. In areas with subtle gradients, like a sunset sky, this can lead to visible color steps (posterization or “banding”).
Quantization
The image is divided into small blocks (8×8 pixels) and each block is analyzed mathematically. Fine details and high frequencies (like texture and noise) are heavily reduced or removed completely. This creates the characteristic “blocking artifacts” seen in heavily compressed JPEG images.
Advantages of JPEG format
Immediate usability
JPEG files are ready to use straight from the camera. You can share them on social media, send them to clients, or print them without any processing. For event photographers or journalists who need to deliver images quickly, this is invaluable.
Small file size
JPEG files take up a fraction of the space that RAW files require. This means you can store more images on your memory card and fill fewer hard drives in your archive. For web galleries with jAlbum, JPEG files also load faster for visitors.
Universal compatibility
JPEG is supported by all devices, software, and platforms. You can open a JPEG on any computer, phone, tablet, or camera without specialized software.
Faster workflow
Because the files are smaller, they write faster to the memory card, which means the camera’s buffer clears faster. You can take more images in succession before the camera must pause.
Disadvantages of JPEG format
Limited editing flexibility
Because JPEG files only have 8 bits per channel and are already compressed, there’s limited room for extensive adjustments. When you lift shadows or lower highlights in a JPEG file, you often see noise, color shifts, and posterization.
Generation loss
Every time you open, edit, and save a JPEG file, it’s compressed again. This is called “generation loss.” After several rounds of editing and re-saving, image quality degrades noticeably – colors become muddy, details disappear, and artifacts increase.
Fixed white balance
The white balance setting is permanently baked into the pixel values. If the camera guessed wrong on white balance, you cannot perfectly correct this in post-processing without introducing color shifts and quality loss.
Poor performance in challenging lighting
In high-contrast situations – like when you photograph against the sun or in a dark room with bright windows – JPEG format clips information in both shadows and highlights that could have been recovered in RAW.
Key differences between RAW and JPEG
Image quality and dynamic range
Dynamic range describes how large a difference the camera can capture between the darkest and brightest area in an image.
Modern sensors can capture 14-15 stops of dynamic range in RAW format. This corresponds to a difference of approximately 16,000:1 between the brightest and darkest point. An 8-bit JPEG can only display 6-8 stops of this information – the rest is clipped at the shadow point (becomes completely black) or at the highlight point (becomes completely white).
In practice, this means when you photograph a sunset or an indoor room with bright windows, the JPEG version will have either blown-out skies or black shadows, while the RAW version contains information in both these areas that can be recovered during editing.
File size and storage
Here’s a typical comparison from a 24-megapixel mirrorless camera:
- RAW file: 25-45 MB (depending on image content and compression method)
- JPEG (highest quality): 8-12 MB
- JPEG (medium quality): 4-6 MB
- JPEG (low quality): 1-3 MB
If you photograph 1,000 images during a weekend, RAW files fill approximately 35 GB, while JPEG files (high quality) fill about 10 GB.
Editing flexibility
Non-destructive vs destructive editing
When you adjust exposure, white balance, or contrast in a RAW file, the changes are saved as metadata – a list of instructions. The original file remains untouched. You can always return to the start or create multiple different versions without losing quality.
With JPEG files, every adjustment is destructive. When you increase contrast, the pixel values are permanently modified. If you save over the original file, the original information disappears.
Detail recovery
In our experience, the most obvious difference is when you try to save an overexposed or underexposed image. With a RAW file, you can often pull down exposure by 2-3 stops and still see details in the sky or clouds that appeared completely white. In the corresponding JPEG file, no information remains to recover – white stays white.
Workflow and speed
From camera to finished image
With JPEG files:
- Take the photo
- Transfer to computer (fast, small files)
- Images are ready to share/publish
With RAW files:
- Take the photo
- Transfer to computer (slower, large files)
- Import to editing software (Lightroom, Capture One, etc.)
- Adjust exposure, white balance, contrast
- Export to JPEG/TIFF for use
- Publish/share
For a professional photographer delivering 500 edited images from a wedding, post-processing RAW files can take several days. The same job in JPEG can be done in a few hours if the images are already well-exposed.
When to shoot in RAW format
RAW format is the optimal choice in several specific situations where image quality and editing flexibility are prioritized over speed and convenience.
Landscape photography
Landscape scenes often contain extremely large contrast differences – a bright sky against dark ground. RAW format’s wide dynamic range makes it possible to capture details in both sky and foreground in a single exposure, which can then be balanced perfectly during editing.
Studio portrait photography
When you photograph portraits professionally, you need perfect skin tone reproduction and control over every detail. RAW files’ non-destructive editing lets you fine-tune white balance and skin tones without compromising quality.
Events with challenging lighting conditions
Weddings, concerts, and indoor events often have mixed light sources (daylight from windows, warm lamps, cool LED spotlights). With RAW files, you can correct white balance individually for each image in post-processing without quality loss.
Commercial work and archiving
If images are your livelihood or will be archived long-term, RAW is the only reasonable choice. You never know when a client might need the image in a different format or when new editing tools can improve old images.
When you’re learning photography
For photographers developing their technique, RAW format provides a “safety margin.” An image that’s slightly overexposed or has the wrong white balance can still be saved and become usable, which gives more room for experimentation and learning.
When JPEG is the better choice
Despite RAW format’s technical superiority, there are many situations where JPEG is the smartest and most practical choice.
Event photography with fast delivery
Sports photographers, press images, and event documentation where hundreds of images need to be delivered the same day. When workflow speed is critical and images are used in smaller formats (newspaper pages, web galleries), JPEG quality is more than sufficient.
Casual photography and travel
If you photograph for personal enjoyment and don’t plan extensive editing, JPEG format’s convenience is invaluable. You can directly share photos from vacation on social media without sitting at the computer.
Limited storage space
With JPEG format, you fit approximately three times as many images on the memory card. On a month-long trip where you don’t have access to backup solutions, this can be crucial to avoid running out of space.
Older computers with limited performance
If your computer struggles to handle RAW files in Lightroom, the workflow becomes frustratingly slow. JPEG files are much easier to work with and require less RAM and processing power.
Documentation and notes
When you photograph receipts, documents, whiteboard notes, or similar, image quality and editing possibilities matter less. JPEG is completely sufficient and makes files easier to organize and share.
RAW+JPEG mode – best of both worlds?
Most modern cameras offer a hybrid mode where both a RAW file and a JPEG file are saved simultaneously for each image you take. This might seem like the perfect solution, but there are both advantages and disadvantages to consider.
Benefits of RAW+JPEG mode
You get immediate access to finished JPEG files for quick preview, sharing on social media, or direct delivery to clients. At the same time, you have the RAW files saved for images that need more extensive editing or higher quality.
This is particularly useful for wedding photographers who want to show some quickly reviewed images to the couple the same evening, but then deliver fully edited images from the RAW files a few weeks later.
Drawbacks of RAW+JPEG mode
The obvious disadvantage is that each image now takes up approximately 1.5 times as much space on the memory card compared to just RAW. From a 1,000-image event, you get 1,000 RAW files (approximately 35 GB) plus 1,000 JPEG files (approximately 10 GB), totaling 45 GB to manage.
File management also becomes more complex. In jAlbum, your RAW files will be excluded by default, and the corresponding JPEG used instead.
When RAW+JPEG is practical
This mode works best for professional photographers who need to deliver quickly but also want to maintain maximum quality for archive and future use. It works less well for hobby photographers with limited storage capacity or for those who photograph large volumes.
A smart strategy can be to use RAW+JPEG selectively – set the camera to this mode only for important occasions, and use only RAW or JPEG for more casual photography.
What about AVIF?
AVIF (AV1 Image File Format) is a modern image format that jAlbum recently introduced with version 39. It represents a significant leap forward from the now 34-year-old JPEG standard.
Technical advantages of AVIF
AVIF offers several compelling improvements over JPEG:
- Better compression – AVIF files are typically 30-50% smaller than JPEG at the same visual quality
- HDR support – Can display a wider range of brightness and colors
- Higher bit depth – Supports 10-bit and 12-bit color (billions to trillions of colors vs JPEG’s millions)
- Transparency support – Like PNG, AVIF can have transparent backgrounds
- Animation capabilities – Can contain animated sequences
Why cameras still use JPEG
Despite AVIF’s technical superiority, camera manufacturers have been slow to adopt it. As of today, support for AVIF among camera manufacturers is practically non-existent. The main reason is likely the increased processing requirements – encoding AVIF files demands significantly more computational power than JPEG, which would drain camera batteries faster and require more expensive processors in the camera body.
This situation will likely change as processor technology becomes more efficient, but until then, JPEG remains the practical output format from your camera.
The optimal modern workflow
The good news is that you don’t need to wait for camera manufacturers. You can take advantage of AVIF’s benefits right now with jAlbum:
- Let your camera produce either RAW, JPEG, or RAW+JPEG files as usual
- Feed jAlbum with your images in either format:
- Large, high-quality JPEG files (if you’ve already processed your RAW files in Lightroom/Capture One)
- RAW files directly (letting jAlbum handle the RAW processing for you)
- jAlbum produces AVIF files for your web gallery, which are supported by all modern browsers today
An important note: jAlbum performs all image processing non-destructively, meaning your original files remain completely untouched regardless of which format you choose. The processing happens only when the web gallery is built, and you can always rebuild with different settings without affecting your source files.
This workflow gives you the best of all worlds: the flexibility of RAW or JPEG shooting, combined with the efficiency of modern AVIF delivery to your gallery visitors.
How your format choice affects working with jAlbum
When you build web galleries with jAlbum, the format of your source files plays a significant role in both workflow and final results.
Working with RAW files in jAlbum
jAlbum handles RAW files directly and can create web galleries from them, but it requires some planning. RAW files must first be processed and converted to JPEG or another web-compatible format before they can be displayed in web browsers.
Many photographers using jAlbum prefer to first edit their RAW files in Lightroom or Capture One, export them as high-quality JPEG files, and then import these JPEG files to jAlbum. This gives you full control over image quality and appearance before the gallery is built.
Benefits of JPEG for web galleries
Because JPEG files are already compressed and have reasonable file size, your web galleries load faster for visitors. This is especially important for mobile users with slower connections.
jAlbum can also more easily handle large image libraries when source files are in JPEG format. Processing time to build the gallery becomes shorter, and you don’t wait as long when you update or add new images.
Optimal workflow for professional photographers
Many professional photographers using jAlbum develop this workflow:
- Shoot in RAW+JPEG or only RAW
- Import RAW files to Lightroom/Capture One
- Make basic adjustments (white balance, exposure) on all images
- Select the best images for the web gallery
- Edit these images more carefully
- Export as high-quality JPEG (quality 90-95%, sRGB color space)
- Import JPEG files to jAlbum and build the gallery
This provides the best balance between image quality and practical manageability. When exporting JPEGs to jAlbum, use far higher resolution than you plan to use in the web galleries – this minimizes artifacts in the final images (see “Generation loss” above). An alternative approach is to skip the manual RAW processing step entirely and feed jAlbum your RAW files directly. jAlbum will handle the RAW conversion and can output directly to AVIF format, which produces significantly less artifacts than JPEG even at higher compression levels. This streamlined workflow is particularly attractive if you’re comfortable letting jAlbum’s processing handle your images, though it offers less fine-tuned control than dedicated RAW editing software like Lightroom or Capture One.
Color management for the web
An important detail is that the web uses the sRGB color space by default. If you work with RAW files in a wider color space (like ProPhoto RGB or AdobeRGB), you must convert images to sRGB when you export for web galleries. Otherwise, colors can look different for visitors viewing your jAlbum gallery.
Making the right choice for your photography
Choosing between RAW and JPEG isn’t about which format is objectively “best,” but about which fits your specific needs, workflow, and photography style.
Choose RAW when:
- You take images that will be edited extensively
- Image quality and editing flexibility are prioritized over convenience
- You photograph scenes with high contrast (landscapes, backlit situations)
- Images are professional work or long-term archive
- You have access to sufficient storage space and computer power
Choose JPEG when:
- You need finished images straight from the camera
- Speed and simplicity are more important than maximum image quality
- You photograph large volumes where extensive editing isn’t practically possible
- Storage space is limited
- Images are used primarily for web and social media in smaller sizes
Consider RAW+JPEG when:
- You’re a professional photographer who needs both quick preview and archive quality
- You have sufficient storage space and can handle duplicate sets of files
- You want to experiment with RAW editing for selected images but have JPEG as backup
In our experience, most photographers develop their own hybrid strategy over time. You might photograph in RAW for important occasions like travel and events, but use JPEG for everyday documentation. What’s important is understanding the differences so you can make an informed choice for each shooting situation.
With jAlbum, you have the ability to present your images professionally online regardless of which format you choose to work with. The optimal approach is often to edit RAW files first, export them as high-quality, large sized JPEG files, and then build your web galleries from these optimized JPEG files. This way you get the best possible combination of image quality and practical manageability for the web.
