Quick Tip: RAW Is Bigger Than JPEG?

Quick Tip: RAW Is Bigger Than JPEG?

If a RAW is so much better than a JPEG, than it must have more megapixels, right? The question from a student at my workshops deserves an answer. I hope this article explains the problem.

There’s so much confusion about JPEG and RAW that it can be hard to explain what it is all about. It’s not just amateurs, even professionals are not sure when a discussion about the advantages of one and the other arises.

I would say that it’s always better to use JPEG than to use poorly created RAW files. That’s my way to say that if you don’t understand what it is all about, you should use JPEGs and live happily the rest of your life.

In fact, the JPEG format is so good that different types of files, from the JPEG 2000 (from 12 years ago) to Microsoft HD Photo that was going to be the new kid on the block in 2007, tried to take its place and they never did. JPEGs are good enough, so no one is going to take them away in the foreseeable future. And they are getting better every day, as the processing in cameras and software evolves.


Although different, both files have the same dimensions when opened in Photoshop

RAW: Easier Today

It’s easier to edit RAW files today than it was when I first started taking pictures with digital cameras. No one was sure, in that period, if in two years time the RAW files from each camera maker could be opened.

See what happened to the Kodak Photo-CD (PCD) format from the ’90s. Photoshop dropped it all together and so did Kodak. So, even if camera makers had their software to open RAW, everybody was saving JPEGs, and TIFF or PSD, to make their archives safer.

Today, it doesn’t matter if you’re doing JPEGs or RAW. You can use one or the other, depending on what your needs are, the time you have to process files, and how much you intend to post-process your images.

It’s only when you have answers to those aspects that you can define how to shoot. It should never be something done because your friends do it or because you want to look like a professional. Professionals use the best tools according to the moment. Or things as simple as the space left in their memory card.

The question of space in memory cards is what sparks this debate. We all hear that RAW images are bigger than JPEGs, but that bigger is in terms of the space they fill in the card or on your hard drive. RAW is not a compressed format, so it does need more room than a JPEG, which can be compressed. And that’s the difference.


The image size window confirms that there is no difference between a RAW and a JPEG when it comes to their weight in MB.

JPEGs are also BIG

Forget, for now, the other reasons why RAWs and JPEGs are different, and imagine your camera creates files with 3000×2000. It doesn’t matter if they’re RAW or JPEG, they’ve the same dimensions. So, they will have to, when opened, have the same weight in megapixels. The difference is that the JPEGs can be compressed, so they take less space than a RAW, depending on the detail of each image taken.

For a practical example let’s look at some images I took recently. Because I did not have much space left on a 16GB card I had on a Canon EOS 5D Mark III camera I was using, I choose to use JPEGs for some images, after having shot RAW for the first pictures. The images are different, but are from the same session and I tried to use about the same framing, and situation, so we’ve similar files.

Now, although they both have the same size in pixels (3840×5760) the RAW file uses 26.6MB space when on the memory card, while the JPEG uses only 5.12MB. This means that I can place almost 5 JPEGs in the space a RAW occupies.


RAW Advantages

To put it simply, RAW gives you more control. When you shoot a JPEG, you’re letting your camera apply a white balance, sharpening, color saturation and contrast to your image. These filters, let’s call them, are not editable layers on top of a file, they are a permanent part of the file.

When you shoot RAW, you’re choosing how each of these filters is applied and you’re applying them with a program that is (in theory) more powerful and “smart” than the program your camera uses.

When working with JPEG, you can also experience compression loss. Opening, editing and recompressing JPEG files creates errors in the file. Back in the late ’90s, if you opened and resaved a JPEG ten times, you’d start to notice gradients pulling apart and digital noise being introduced. These days, JPEG compression is much, much smarter, and this problem has for the vast majority of us been fixed. But it still remains a fact, that compressing, decompressing and recompressing files does cause data loss.

The important thing to remember these days is that if you shoot a picture in a JPEG format that needs little or no editing, your final results will be just as good as if you had made the image in a RAW format.

  • http://www.tyleringram.com TylerIngram

    I recommend people shoot in RAW if they can. With storage being cheap these days (a 1 TB drive being ~$100) why not shoot in RAW?

    Also with Lightroom and Aperture being relatively inexpensive these days, editing RAW files isn’t difficult either.

    The lossless part of RAW makes it better if you edit a photo and export to JPEG. If you buggered up your photo in post-process, you can’t really undo that if it was shot as a JPEG. RAW’s can keep their editing (meta) info separate so that it is really easy to revert back to the untouched image.

    If you don’t plan on editing your photos after you take them, then sure shoot them as JPEGs. But if you do shoot in JPEG, try to “save-as” the photo so that it creates a new one as opposed to overwrite you’re original JPEG. Always work on a copy of the original JPEG just to minimize data loss/compression artifacts.

    Also when printing (if to have a print shop do it) don’t send them your RAW files. Send them what they require (usually TIFF but occasionally JPEG). Even if you print from your machine in a RAW format, it is converted to a format the printer can handle (TiFF, JPEG, PNG whatever) so yea, you can’t tell it was printed as a RAW file because it’s converted before the printer prints it out.

  • dj

    A very interesting read for me, with aspects that I had not previously considered – so thanks. If I could return the favor. When you write your next article, and I hope you do, you really should have someone proofread and spell check it.

  • http://www.danielsone.com Daniel S.

    MAJOR inaccuracy in this article (2nd photo, caption):

    There is a HUGE difference between JPEG and RAW file-sizes. RAWs tend to be 2x, even 3x larger than identical JPEGs. I literally just shot a RAW+JPEG image a few minutes ago and the RAW is 22.48MB and the JPEG is 10.32MB.

    The supposed “identical” sizes claimed in Photoshop is because both images are using the same bit-depth of color to edit the image within Photoshop. The size you’re seeing is the size of the PSD file if you were to save it as a PSD.

    File sizes can vary greatly depending on the following factors (assuming you shoot the images at the same resolution):
    - ISO setting
    - Bit depth
    - Pixel brightness

    The higher the ISO, the larger the file size because of the higher signal-to-noise ratio. The bit depth (8-bit, JPEG; 14-bit, RAW) determines how much information is stored to represent each color. The pixel brightness — how close to black (0) or how close to white (255) — also changes the file size.

    • http://www.joseantunes.com Jose Antunes
      Author

      What I tried to explain, to get things simple, is that when you open a file in Photoshop, whether it is JPEG or a RAW, the image has the same dimensions in pixels and the same base MB. I am aware that file sizes change with the different factors you mention, but many people think there is a difference in the size of the pictures you can get from a JPEG and a RAW.

      That’s what I tried to clarify. Because when you do print an image directly from Photoshop if they’ve the same size, they’ll give you the same final dimension options on paper.

  • Aaron

    This article is very misleading and quite choppy. A RAW file will almost always be larger than a JPEG. As others have already stated, the Photoshop file size is arbitrary in this argument. Your explanation of the advantages of RAW files is very unclear. Perhaps you could expand on how and what can be done to a RAW file on a computer. I don’t want to sound rude, but your sentence structure, organization and overall article were quite weak. Please tell more about cameras now and less about the history of failed formats.

    • http://www.joseantunes.com Jose Antunes
      Author

      The Photoshop file size shows how much each file, either from RAW or JPEG will weight if saved as PSD. That’s what I wanted to show (maybe it was not that clear, though). And any other format you save to, the relation will be kept, showing that you can get same sized pictures in the end. Some people seem to think you can get bigger pictures from RAW than from JPEG.

      This tip was written to explain that aspect and was not intended to explore further the advantages of using RAW.

      • http://www.danielsone.com Daniel S.

        Jose,

        I understand your point, but this truth was not clearly explained. To inexperienced photographers, who do not have the knowledge and understanding we do (and may take for granted), the article and photographs are conflicting in their message.

        I’m sure this wasn’t your intention, especially after viewing your portfolio, but the perception of misleading information is still there. As a writer you should have to defend or clarify your core position in the comments section. People on the Internet do not have the patience to read your defense/clarification in the comments. They’ll just spot the discrepancy and dismiss you as a credible source.

        • http://www.danielsone.com Daniel S.

          correction:

          “As a writer you SHOULDN’T have to defend…”

  • Michael Rose

    I just checked the sizes on some photos I took after my Niece’s Graduation Ceremony at Bryant Unviersiy, Smithfield, RI.

    The RAW files (*.ORF) were only about 1/5-1/6 the size of (*.PSD) files created when I round-tripped a few of the (*.ORF) from Lightroom (LR) into Photoshop and back to LR.

    This is often necessary when files need editing that isn’t possible in LR.

    Olympus uses loss-less, compression on their RAW (*.ORF) files, so they are always smaller than their JPG files.

    File size alone is not a reason to shoot JPG instead of RAW with Olympus.

    I shoot RAW almost exclusively with my Olympus E-30 camera– I make sure I have a media card with a fast transfer rate in it because files from the 12MP size sensor are still 9.5-10MB!

  • Tiberman Sajiwan Ramyead

    The comments on Jose’s written language are unfair. I have read his article and understood the message perfectly.

    Our site here deals with the techniques of photography, not linguistics.

    As a writer one shouldn’t have to defend? Common! True, the writer should be used to opposing views, but he mayalso defend his substance.

    Jpeg v/s Raw: I am a beginner (2 and a half years of DSLR) and I agree with most of Jose’s views.

    So let’s forge ahead, nicely, healthily.

    Warm regards from Mauritius.

    • http://www.danielsone.com Daniel S.

      Tiberman,

      A writer should not have to make clarifications to the essence of his article in the comments section. That should be done within the article itself. If the article isn’t clear or contains conflicting information, then confusion is what it will portray.

      Once that confusion is realized, the writer is discredited and then other commenters start making petty criticisms over a few typos or grammar. People on the Internet are extremely impatient and very quick to judge. Jose has written some great stuff on here, and I only pointed a core discrepancy, not picking on his grammar, sentence structure, etc.

      Aside from the criticism I pointed out in my first post, the rest of his article is pretty much spot-on.

  • http://clientandserver.blogspot.com Simon SC

    I’ve never regretted shooting RAW. Here are two observations:

    1) You consistently get a slightly sharper picture. Much nicer for pixel peeping.
    2) I find certain lens defects (especially chromatic aberration) easier to fix.
    3) You can re-visit a photo and re-process it in a completely different style if you want (Warmer, B/W, etc), without losing quality.

  • Antonio Scheffel

    Raw contains the totality of the data of the image as caught by the sensor of the camera. Such formats cannot have applied the compression with loss of information, as it occurs with the popular JPEG.