Do raw images of the same camera have the same size?












11















I have a project in which I'm trying to balance load between several computing devices. These devices are similar and are supposed to have a camera segment. Device captures an image and then processes the image.



For simplicity I want to consider the load as the number of the images waiting on the process queue, but this requires the images to be the same size and have the same specifications.



So my question is that do the images of the same camera have the same size? I know that compressing the images and converting them to .jpeg format, will probably change their size, but how about raw images of the same camera? Do raw images have the same size?










share|improve this question




















  • 2





    Speaking from the programming/computing side of this question, the image data that you're operating on will be as close to identically sized as makes no difference; once the images are decoded (from either raw or JPEG), the bitmap size will be the same, and the decoding steps are usually extremely fast.

    – chrylis
    Jan 23 at 9:05











  • @chrylis Thanks a lot, your comment was really helpful for me.

    – Pablo
    Jan 23 at 13:10






  • 1





    If the images being take are of similar composition and under similar conditions and settings (lighting, ISO, shutter speed, etc). The images will be very close to the same size. If the pictures themselves vary a lot, so could the size.

    – JPhi1618
    Jan 23 at 18:43






  • 2





    vtc b/c The OP isn't performing a task photographers would be expected to have any expertise in; the quesion is unanswerable without more information about the specific cameras involved; and OP could easily answer the question himself by taking and examining a few photos.

    – xiota
    Jan 24 at 1:20






  • 1





    @xiota On the other hand, the basic question and its answers are certainly of practical value to photographers. That makes it on topic here.

    – Michael C
    Jan 24 at 14:18
















11















I have a project in which I'm trying to balance load between several computing devices. These devices are similar and are supposed to have a camera segment. Device captures an image and then processes the image.



For simplicity I want to consider the load as the number of the images waiting on the process queue, but this requires the images to be the same size and have the same specifications.



So my question is that do the images of the same camera have the same size? I know that compressing the images and converting them to .jpeg format, will probably change their size, but how about raw images of the same camera? Do raw images have the same size?










share|improve this question




















  • 2





    Speaking from the programming/computing side of this question, the image data that you're operating on will be as close to identically sized as makes no difference; once the images are decoded (from either raw or JPEG), the bitmap size will be the same, and the decoding steps are usually extremely fast.

    – chrylis
    Jan 23 at 9:05











  • @chrylis Thanks a lot, your comment was really helpful for me.

    – Pablo
    Jan 23 at 13:10






  • 1





    If the images being take are of similar composition and under similar conditions and settings (lighting, ISO, shutter speed, etc). The images will be very close to the same size. If the pictures themselves vary a lot, so could the size.

    – JPhi1618
    Jan 23 at 18:43






  • 2





    vtc b/c The OP isn't performing a task photographers would be expected to have any expertise in; the quesion is unanswerable without more information about the specific cameras involved; and OP could easily answer the question himself by taking and examining a few photos.

    – xiota
    Jan 24 at 1:20






  • 1





    @xiota On the other hand, the basic question and its answers are certainly of practical value to photographers. That makes it on topic here.

    – Michael C
    Jan 24 at 14:18














11












11








11








I have a project in which I'm trying to balance load between several computing devices. These devices are similar and are supposed to have a camera segment. Device captures an image and then processes the image.



For simplicity I want to consider the load as the number of the images waiting on the process queue, but this requires the images to be the same size and have the same specifications.



So my question is that do the images of the same camera have the same size? I know that compressing the images and converting them to .jpeg format, will probably change their size, but how about raw images of the same camera? Do raw images have the same size?










share|improve this question
















I have a project in which I'm trying to balance load between several computing devices. These devices are similar and are supposed to have a camera segment. Device captures an image and then processes the image.



For simplicity I want to consider the load as the number of the images waiting on the process queue, but this requires the images to be the same size and have the same specifications.



So my question is that do the images of the same camera have the same size? I know that compressing the images and converting them to .jpeg format, will probably change their size, but how about raw images of the same camera? Do raw images have the same size?







raw






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 23 at 21:10







Pablo

















asked Jan 22 at 18:35









PabloPablo

6215




6215








  • 2





    Speaking from the programming/computing side of this question, the image data that you're operating on will be as close to identically sized as makes no difference; once the images are decoded (from either raw or JPEG), the bitmap size will be the same, and the decoding steps are usually extremely fast.

    – chrylis
    Jan 23 at 9:05











  • @chrylis Thanks a lot, your comment was really helpful for me.

    – Pablo
    Jan 23 at 13:10






  • 1





    If the images being take are of similar composition and under similar conditions and settings (lighting, ISO, shutter speed, etc). The images will be very close to the same size. If the pictures themselves vary a lot, so could the size.

    – JPhi1618
    Jan 23 at 18:43






  • 2





    vtc b/c The OP isn't performing a task photographers would be expected to have any expertise in; the quesion is unanswerable without more information about the specific cameras involved; and OP could easily answer the question himself by taking and examining a few photos.

    – xiota
    Jan 24 at 1:20






  • 1





    @xiota On the other hand, the basic question and its answers are certainly of practical value to photographers. That makes it on topic here.

    – Michael C
    Jan 24 at 14:18














  • 2





    Speaking from the programming/computing side of this question, the image data that you're operating on will be as close to identically sized as makes no difference; once the images are decoded (from either raw or JPEG), the bitmap size will be the same, and the decoding steps are usually extremely fast.

    – chrylis
    Jan 23 at 9:05











  • @chrylis Thanks a lot, your comment was really helpful for me.

    – Pablo
    Jan 23 at 13:10






  • 1





    If the images being take are of similar composition and under similar conditions and settings (lighting, ISO, shutter speed, etc). The images will be very close to the same size. If the pictures themselves vary a lot, so could the size.

    – JPhi1618
    Jan 23 at 18:43






  • 2





    vtc b/c The OP isn't performing a task photographers would be expected to have any expertise in; the quesion is unanswerable without more information about the specific cameras involved; and OP could easily answer the question himself by taking and examining a few photos.

    – xiota
    Jan 24 at 1:20






  • 1





    @xiota On the other hand, the basic question and its answers are certainly of practical value to photographers. That makes it on topic here.

    – Michael C
    Jan 24 at 14:18








2




2





Speaking from the programming/computing side of this question, the image data that you're operating on will be as close to identically sized as makes no difference; once the images are decoded (from either raw or JPEG), the bitmap size will be the same, and the decoding steps are usually extremely fast.

– chrylis
Jan 23 at 9:05





Speaking from the programming/computing side of this question, the image data that you're operating on will be as close to identically sized as makes no difference; once the images are decoded (from either raw or JPEG), the bitmap size will be the same, and the decoding steps are usually extremely fast.

– chrylis
Jan 23 at 9:05













@chrylis Thanks a lot, your comment was really helpful for me.

– Pablo
Jan 23 at 13:10





@chrylis Thanks a lot, your comment was really helpful for me.

– Pablo
Jan 23 at 13:10




1




1





If the images being take are of similar composition and under similar conditions and settings (lighting, ISO, shutter speed, etc). The images will be very close to the same size. If the pictures themselves vary a lot, so could the size.

– JPhi1618
Jan 23 at 18:43





If the images being take are of similar composition and under similar conditions and settings (lighting, ISO, shutter speed, etc). The images will be very close to the same size. If the pictures themselves vary a lot, so could the size.

– JPhi1618
Jan 23 at 18:43




2




2





vtc b/c The OP isn't performing a task photographers would be expected to have any expertise in; the quesion is unanswerable without more information about the specific cameras involved; and OP could easily answer the question himself by taking and examining a few photos.

– xiota
Jan 24 at 1:20





vtc b/c The OP isn't performing a task photographers would be expected to have any expertise in; the quesion is unanswerable without more information about the specific cameras involved; and OP could easily answer the question himself by taking and examining a few photos.

– xiota
Jan 24 at 1:20




1




1





@xiota On the other hand, the basic question and its answers are certainly of practical value to photographers. That makes it on topic here.

– Michael C
Jan 24 at 14:18





@xiota On the other hand, the basic question and its answers are certainly of practical value to photographers. That makes it on topic here.

– Michael C
Jan 24 at 14:18










7 Answers
7






active

oldest

votes


















26














Many digital cameras use lossless compression with raw files. That means the size of raw files from the same camera is somewhat content dependent.



The more detail and different colors a scene contains, the larger the file will be. The more homogeneity a scene contains, the smaller the file will be. The degree of the differences will also be governed by differences in things such as noise in dark areas (noise usually adds to a file size by creating a greater number of unique brightness levels).






share|improve this answer





















  • 1





    Worth noting that Sonys had an infamous bug in their not-so-lossless compression, so many of us turn it off and write uncompressed raw, which is the same size every time. Converting those to DNG usually results in lossless 40-65% size reduction.

    – chrylis
    Jan 23 at 9:04











  • @chrylis There's a Sony specific answer below. Also, converting to DNG is an entirely different can of worms that is also highly dependent upon the codecs of the original raw files, what information they do or do not contain, and whether the end user wants/needs to use that portion of the information that is stripped from files when they are converted to DNG. That, IMHO, is a little much to go into in such a short and generic answer as this one (considering the OP did not specify a brand of camera/specific type of raw file). If you feel it is so vital, you could include it in your answer.

    – Michael C
    Jan 25 at 11:52



















25














A picture being worth a thousand spreadsheet cells, here is an histogram of the size of the RAW files from my camera for 2018 (EOS 70D, 20Mpx). Sizes are in 1000's of K (not really MB).enter image description here



For the mathematically inclined:



Average:    24538
Median: 24300
Std dev.: 2119





share|improve this answer


























  • Perhaps you could post the mean and SD? It would be informative

    – Azor Ahai
    Jan 22 at 22:25






  • 2





    Thanks a lot. Would you please clarify about what the x-axis and y-axis show? I'm not sure about what these values exactly are.

    – Pablo
    Jan 22 at 23:03






  • 3





    X is size ('24' is for pics between 24000K and 25000K) and Y is the number of pics in the bucket.

    – xenoid
    Jan 22 at 23:25






  • 4





    1000s of KB = MB, 1024s of KiB -> MiB. Common operating systems report 1,000 byte KB and 1,000,000 byte MB, except for RAM, as is standard.

    – Dietrich Epp
    Jan 23 at 14:08






  • 5





    If you want to split hairs, these are 1000's of KiB :) The shape of the histogram would remain the same...

    – xenoid
    Jan 23 at 14:55



















4














A little extra info: If the raw file includes a preview (they generally do) that's likely to be jpeg compressed and will cause a small variation in file size.



Checking some raw CR2 files I shot yesterday (I keep an old Canon 350D in my desk), 3 shots of essentially the same scene vary by about 3%. I was fiddling with the lighting and used a very black background so one has both blown highlights and (almost) pure black, both of which compress well even losslessly.



However in terms of load balancing you're probably fine: averaged over a sensible number of images the load will be sufficiently similar unless your system is right on the edge, and transfer- or decompression-limited.






share|improve this answer































    4














    There are two main types of compression methods:




    1. lossless compression

    2. lossy compression


    As you mentioned, JPEG is a lossy compression method which uses some mathematical tricks to save data, therefore losing picture information resulting in quality loss.



    Basically, if you save a picture and store the color information for every pixel without any encoding, then every picture would most likely be exactly the same size.



    But as there exist lossless compression methods, you have the ability to save file size without losing any quality. The most basic example would be Run-length encoding where you can combine identical successive information and thus save the space you would need to store them one by one. For example you would store the information like "2 white, 3 black" instead of saying "white, white, black, black, black".



    This results in pictures without much variance being compressed to relatively small file sizes, while this is not possible for those with a lot of variance in them.



    This is why different raw pictures taken on the same camera will most likely result in different file sizes.






    share|improve this answer

































      3














      This may be camera-dependent, but for my Canon EOS 7D Mark II, different raw images are definitely not the same size:



      # ls -l *.cr2
      -rwx------ 1 tew tew 23868042 Jan 21 10:59 20190121105920-6996.cr2
      -rwx------ 1 tew tew 24408037 Jan 21 11:07 20190121110757-7002.cr2
      -rwx------ 1 tew tew 25928707 Jan 21 11:08 20190121110823-7003.cr2
      -rwx------ 1 tew tew 23777211 Jan 21 11:08 20190121110852-7004.cr2
      -rwx------ 1 tew tew 25369539 Jan 21 11:09 20190121110922-7005.cr2
      -rwx------ 1 tew tew 22675822 Jan 21 11:11 20190121111113-7006.cr2
      -rwx------ 1 tew tew 23377077 Jan 21 11:11 20190121111119-7007.cr2


      They are all pretty close in size, but there's definitely some variance, which is primarily due to compression of the raw sensor data as well as the metadata and embedded JPG preview image.






      share|improve this answer


























      • Thanks. Since I don't have enough knowledge in photography, I wanted to know if this difference in size is so high that I can't consider load as the number of images? Does "23868042" mean 23.8 Megabyte?

        – Pablo
        Jan 22 at 18:56






      • 1





        Correct - the 7D II has a 20.2 megapixel sensor, and the resulting raw images are generally between 19 and 36 megabytes, given my current collection of photos...

        – twalberg
        Jan 22 at 19:10





















      0














      Now, in case you are also interested in less popular brands, here is how Sony handles RAWs.



      Currently used RAW files (file extension ".ARW") come in 2 types: 8 bits per pixel (called "Compressed RAW") and 16 bits per pixel ("Uncompressed RAW"). Some cameras are limited to 8 bit, the high end cameras can write either type.



      Consequently, all RAW files from a given camera are nearly the same size, equal to the number of megapixels (for 8 bits) or twice the megapixel count (for 16 bits). Actual file sizes fluctuate a bit because of the embedded JPEG preview but the RAW data itself is always constant size.






      share|improve this answer
























      • Do Sony cameras really reduce bit depth of compressed raw files? What's the point of having "raw" files with the same color depth as JPEG?

        – xiota
        Jan 25 at 20:13













      • @xiota 8 bits of file data for each pixel but not a literal 8 bit image - the effective bit depth depends on the local contrast and can be between 11 and 7 bits and then there is gamma curve (similar to JPEG) stretching the output to 13 bits. artifacts introduced by this compression algorithm are invisible in typical images and Sony owners usually don't even know these files are not really RAW. it's not a bad algorithm but it's a shame that no APS-C camera from Sony can shoot true RAW - there is no option to switch to uncompressed RAW for the rare cases where it makes a difference.

        – szulat
        Jan 25 at 20:39











      • @xiota Raw files do not have any color depth. They are monochromatic luminance values.

        – Michael C
        2 days ago











      • They contain "monochromatic" luminance values of light that has passed through color filters, hence representing color. It may not contain complete color information for each pixel, but it's still color depth.

        – xiota
        yesterday





















      0














      Raw files potentially have the exact same size, but in practice, they almost always don't. Reasons include:




      • Variable size of metadata. (twalberg)

      • Variable size of JPEG preview thumbnails. (Chris H, szulat)

      • Lossless compression. (Michael C, sLaiN)

      • Lossy compression. (sLaiN)

      • Reduced resolution raw files.

      • Reduced bit-depth raw files.


      Without knowing exactly what devices you are using, it is impossible to directly and accurately answer your question.




      • Canon – CR2 files are losslessly compressed. (Chris H, twalberg, xenoid)

      • FujiFilm X-Series – Cameras using G1/G2 X-Trans sensors (16mp) and Faux-X Bayer sensors do not use compression for raw data. G3 and later X-Trans sensors (24mp) have the option to use lossless compression.

      • Nikon – ???

      • Olympus – ???

      • Panasonic – ???

      • Pentax – ???

      • Sony – (szulat)






      share|improve this answer

























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "61"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        noCode: true, onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fphoto.stackexchange.com%2fquestions%2f104508%2fdo-raw-images-of-the-same-camera-have-the-same-size%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        7 Answers
        7






        active

        oldest

        votes








        7 Answers
        7






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        26














        Many digital cameras use lossless compression with raw files. That means the size of raw files from the same camera is somewhat content dependent.



        The more detail and different colors a scene contains, the larger the file will be. The more homogeneity a scene contains, the smaller the file will be. The degree of the differences will also be governed by differences in things such as noise in dark areas (noise usually adds to a file size by creating a greater number of unique brightness levels).






        share|improve this answer





















        • 1





          Worth noting that Sonys had an infamous bug in their not-so-lossless compression, so many of us turn it off and write uncompressed raw, which is the same size every time. Converting those to DNG usually results in lossless 40-65% size reduction.

          – chrylis
          Jan 23 at 9:04











        • @chrylis There's a Sony specific answer below. Also, converting to DNG is an entirely different can of worms that is also highly dependent upon the codecs of the original raw files, what information they do or do not contain, and whether the end user wants/needs to use that portion of the information that is stripped from files when they are converted to DNG. That, IMHO, is a little much to go into in such a short and generic answer as this one (considering the OP did not specify a brand of camera/specific type of raw file). If you feel it is so vital, you could include it in your answer.

          – Michael C
          Jan 25 at 11:52
















        26














        Many digital cameras use lossless compression with raw files. That means the size of raw files from the same camera is somewhat content dependent.



        The more detail and different colors a scene contains, the larger the file will be. The more homogeneity a scene contains, the smaller the file will be. The degree of the differences will also be governed by differences in things such as noise in dark areas (noise usually adds to a file size by creating a greater number of unique brightness levels).






        share|improve this answer





















        • 1





          Worth noting that Sonys had an infamous bug in their not-so-lossless compression, so many of us turn it off and write uncompressed raw, which is the same size every time. Converting those to DNG usually results in lossless 40-65% size reduction.

          – chrylis
          Jan 23 at 9:04











        • @chrylis There's a Sony specific answer below. Also, converting to DNG is an entirely different can of worms that is also highly dependent upon the codecs of the original raw files, what information they do or do not contain, and whether the end user wants/needs to use that portion of the information that is stripped from files when they are converted to DNG. That, IMHO, is a little much to go into in such a short and generic answer as this one (considering the OP did not specify a brand of camera/specific type of raw file). If you feel it is so vital, you could include it in your answer.

          – Michael C
          Jan 25 at 11:52














        26












        26








        26







        Many digital cameras use lossless compression with raw files. That means the size of raw files from the same camera is somewhat content dependent.



        The more detail and different colors a scene contains, the larger the file will be. The more homogeneity a scene contains, the smaller the file will be. The degree of the differences will also be governed by differences in things such as noise in dark areas (noise usually adds to a file size by creating a greater number of unique brightness levels).






        share|improve this answer















        Many digital cameras use lossless compression with raw files. That means the size of raw files from the same camera is somewhat content dependent.



        The more detail and different colors a scene contains, the larger the file will be. The more homogeneity a scene contains, the smaller the file will be. The degree of the differences will also be governed by differences in things such as noise in dark areas (noise usually adds to a file size by creating a greater number of unique brightness levels).







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 24 at 22:54









        xiota

        9,50331553




        9,50331553










        answered Jan 22 at 19:38









        Michael CMichael C

        131k7149368




        131k7149368








        • 1





          Worth noting that Sonys had an infamous bug in their not-so-lossless compression, so many of us turn it off and write uncompressed raw, which is the same size every time. Converting those to DNG usually results in lossless 40-65% size reduction.

          – chrylis
          Jan 23 at 9:04











        • @chrylis There's a Sony specific answer below. Also, converting to DNG is an entirely different can of worms that is also highly dependent upon the codecs of the original raw files, what information they do or do not contain, and whether the end user wants/needs to use that portion of the information that is stripped from files when they are converted to DNG. That, IMHO, is a little much to go into in such a short and generic answer as this one (considering the OP did not specify a brand of camera/specific type of raw file). If you feel it is so vital, you could include it in your answer.

          – Michael C
          Jan 25 at 11:52














        • 1





          Worth noting that Sonys had an infamous bug in their not-so-lossless compression, so many of us turn it off and write uncompressed raw, which is the same size every time. Converting those to DNG usually results in lossless 40-65% size reduction.

          – chrylis
          Jan 23 at 9:04











        • @chrylis There's a Sony specific answer below. Also, converting to DNG is an entirely different can of worms that is also highly dependent upon the codecs of the original raw files, what information they do or do not contain, and whether the end user wants/needs to use that portion of the information that is stripped from files when they are converted to DNG. That, IMHO, is a little much to go into in such a short and generic answer as this one (considering the OP did not specify a brand of camera/specific type of raw file). If you feel it is so vital, you could include it in your answer.

          – Michael C
          Jan 25 at 11:52








        1




        1





        Worth noting that Sonys had an infamous bug in their not-so-lossless compression, so many of us turn it off and write uncompressed raw, which is the same size every time. Converting those to DNG usually results in lossless 40-65% size reduction.

        – chrylis
        Jan 23 at 9:04





        Worth noting that Sonys had an infamous bug in their not-so-lossless compression, so many of us turn it off and write uncompressed raw, which is the same size every time. Converting those to DNG usually results in lossless 40-65% size reduction.

        – chrylis
        Jan 23 at 9:04













        @chrylis There's a Sony specific answer below. Also, converting to DNG is an entirely different can of worms that is also highly dependent upon the codecs of the original raw files, what information they do or do not contain, and whether the end user wants/needs to use that portion of the information that is stripped from files when they are converted to DNG. That, IMHO, is a little much to go into in such a short and generic answer as this one (considering the OP did not specify a brand of camera/specific type of raw file). If you feel it is so vital, you could include it in your answer.

        – Michael C
        Jan 25 at 11:52





        @chrylis There's a Sony specific answer below. Also, converting to DNG is an entirely different can of worms that is also highly dependent upon the codecs of the original raw files, what information they do or do not contain, and whether the end user wants/needs to use that portion of the information that is stripped from files when they are converted to DNG. That, IMHO, is a little much to go into in such a short and generic answer as this one (considering the OP did not specify a brand of camera/specific type of raw file). If you feel it is so vital, you could include it in your answer.

        – Michael C
        Jan 25 at 11:52













        25














        A picture being worth a thousand spreadsheet cells, here is an histogram of the size of the RAW files from my camera for 2018 (EOS 70D, 20Mpx). Sizes are in 1000's of K (not really MB).enter image description here



        For the mathematically inclined:



        Average:    24538
        Median: 24300
        Std dev.: 2119





        share|improve this answer


























        • Perhaps you could post the mean and SD? It would be informative

          – Azor Ahai
          Jan 22 at 22:25






        • 2





          Thanks a lot. Would you please clarify about what the x-axis and y-axis show? I'm not sure about what these values exactly are.

          – Pablo
          Jan 22 at 23:03






        • 3





          X is size ('24' is for pics between 24000K and 25000K) and Y is the number of pics in the bucket.

          – xenoid
          Jan 22 at 23:25






        • 4





          1000s of KB = MB, 1024s of KiB -> MiB. Common operating systems report 1,000 byte KB and 1,000,000 byte MB, except for RAM, as is standard.

          – Dietrich Epp
          Jan 23 at 14:08






        • 5





          If you want to split hairs, these are 1000's of KiB :) The shape of the histogram would remain the same...

          – xenoid
          Jan 23 at 14:55
















        25














        A picture being worth a thousand spreadsheet cells, here is an histogram of the size of the RAW files from my camera for 2018 (EOS 70D, 20Mpx). Sizes are in 1000's of K (not really MB).enter image description here



        For the mathematically inclined:



        Average:    24538
        Median: 24300
        Std dev.: 2119





        share|improve this answer


























        • Perhaps you could post the mean and SD? It would be informative

          – Azor Ahai
          Jan 22 at 22:25






        • 2





          Thanks a lot. Would you please clarify about what the x-axis and y-axis show? I'm not sure about what these values exactly are.

          – Pablo
          Jan 22 at 23:03






        • 3





          X is size ('24' is for pics between 24000K and 25000K) and Y is the number of pics in the bucket.

          – xenoid
          Jan 22 at 23:25






        • 4





          1000s of KB = MB, 1024s of KiB -> MiB. Common operating systems report 1,000 byte KB and 1,000,000 byte MB, except for RAM, as is standard.

          – Dietrich Epp
          Jan 23 at 14:08






        • 5





          If you want to split hairs, these are 1000's of KiB :) The shape of the histogram would remain the same...

          – xenoid
          Jan 23 at 14:55














        25












        25








        25







        A picture being worth a thousand spreadsheet cells, here is an histogram of the size of the RAW files from my camera for 2018 (EOS 70D, 20Mpx). Sizes are in 1000's of K (not really MB).enter image description here



        For the mathematically inclined:



        Average:    24538
        Median: 24300
        Std dev.: 2119





        share|improve this answer















        A picture being worth a thousand spreadsheet cells, here is an histogram of the size of the RAW files from my camera for 2018 (EOS 70D, 20Mpx). Sizes are in 1000's of K (not really MB).enter image description here



        For the mathematically inclined:



        Average:    24538
        Median: 24300
        Std dev.: 2119






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Jan 22 at 22:54

























        answered Jan 22 at 21:56









        xenoidxenoid

        3,176417




        3,176417













        • Perhaps you could post the mean and SD? It would be informative

          – Azor Ahai
          Jan 22 at 22:25






        • 2





          Thanks a lot. Would you please clarify about what the x-axis and y-axis show? I'm not sure about what these values exactly are.

          – Pablo
          Jan 22 at 23:03






        • 3





          X is size ('24' is for pics between 24000K and 25000K) and Y is the number of pics in the bucket.

          – xenoid
          Jan 22 at 23:25






        • 4





          1000s of KB = MB, 1024s of KiB -> MiB. Common operating systems report 1,000 byte KB and 1,000,000 byte MB, except for RAM, as is standard.

          – Dietrich Epp
          Jan 23 at 14:08






        • 5





          If you want to split hairs, these are 1000's of KiB :) The shape of the histogram would remain the same...

          – xenoid
          Jan 23 at 14:55



















        • Perhaps you could post the mean and SD? It would be informative

          – Azor Ahai
          Jan 22 at 22:25






        • 2





          Thanks a lot. Would you please clarify about what the x-axis and y-axis show? I'm not sure about what these values exactly are.

          – Pablo
          Jan 22 at 23:03






        • 3





          X is size ('24' is for pics between 24000K and 25000K) and Y is the number of pics in the bucket.

          – xenoid
          Jan 22 at 23:25






        • 4





          1000s of KB = MB, 1024s of KiB -> MiB. Common operating systems report 1,000 byte KB and 1,000,000 byte MB, except for RAM, as is standard.

          – Dietrich Epp
          Jan 23 at 14:08






        • 5





          If you want to split hairs, these are 1000's of KiB :) The shape of the histogram would remain the same...

          – xenoid
          Jan 23 at 14:55

















        Perhaps you could post the mean and SD? It would be informative

        – Azor Ahai
        Jan 22 at 22:25





        Perhaps you could post the mean and SD? It would be informative

        – Azor Ahai
        Jan 22 at 22:25




        2




        2





        Thanks a lot. Would you please clarify about what the x-axis and y-axis show? I'm not sure about what these values exactly are.

        – Pablo
        Jan 22 at 23:03





        Thanks a lot. Would you please clarify about what the x-axis and y-axis show? I'm not sure about what these values exactly are.

        – Pablo
        Jan 22 at 23:03




        3




        3





        X is size ('24' is for pics between 24000K and 25000K) and Y is the number of pics in the bucket.

        – xenoid
        Jan 22 at 23:25





        X is size ('24' is for pics between 24000K and 25000K) and Y is the number of pics in the bucket.

        – xenoid
        Jan 22 at 23:25




        4




        4





        1000s of KB = MB, 1024s of KiB -> MiB. Common operating systems report 1,000 byte KB and 1,000,000 byte MB, except for RAM, as is standard.

        – Dietrich Epp
        Jan 23 at 14:08





        1000s of KB = MB, 1024s of KiB -> MiB. Common operating systems report 1,000 byte KB and 1,000,000 byte MB, except for RAM, as is standard.

        – Dietrich Epp
        Jan 23 at 14:08




        5




        5





        If you want to split hairs, these are 1000's of KiB :) The shape of the histogram would remain the same...

        – xenoid
        Jan 23 at 14:55





        If you want to split hairs, these are 1000's of KiB :) The shape of the histogram would remain the same...

        – xenoid
        Jan 23 at 14:55











        4














        A little extra info: If the raw file includes a preview (they generally do) that's likely to be jpeg compressed and will cause a small variation in file size.



        Checking some raw CR2 files I shot yesterday (I keep an old Canon 350D in my desk), 3 shots of essentially the same scene vary by about 3%. I was fiddling with the lighting and used a very black background so one has both blown highlights and (almost) pure black, both of which compress well even losslessly.



        However in terms of load balancing you're probably fine: averaged over a sensible number of images the load will be sufficiently similar unless your system is right on the edge, and transfer- or decompression-limited.






        share|improve this answer




























          4














          A little extra info: If the raw file includes a preview (they generally do) that's likely to be jpeg compressed and will cause a small variation in file size.



          Checking some raw CR2 files I shot yesterday (I keep an old Canon 350D in my desk), 3 shots of essentially the same scene vary by about 3%. I was fiddling with the lighting and used a very black background so one has both blown highlights and (almost) pure black, both of which compress well even losslessly.



          However in terms of load balancing you're probably fine: averaged over a sensible number of images the load will be sufficiently similar unless your system is right on the edge, and transfer- or decompression-limited.






          share|improve this answer


























            4












            4








            4







            A little extra info: If the raw file includes a preview (they generally do) that's likely to be jpeg compressed and will cause a small variation in file size.



            Checking some raw CR2 files I shot yesterday (I keep an old Canon 350D in my desk), 3 shots of essentially the same scene vary by about 3%. I was fiddling with the lighting and used a very black background so one has both blown highlights and (almost) pure black, both of which compress well even losslessly.



            However in terms of load balancing you're probably fine: averaged over a sensible number of images the load will be sufficiently similar unless your system is right on the edge, and transfer- or decompression-limited.






            share|improve this answer













            A little extra info: If the raw file includes a preview (they generally do) that's likely to be jpeg compressed and will cause a small variation in file size.



            Checking some raw CR2 files I shot yesterday (I keep an old Canon 350D in my desk), 3 shots of essentially the same scene vary by about 3%. I was fiddling with the lighting and used a very black background so one has both blown highlights and (almost) pure black, both of which compress well even losslessly.



            However in terms of load balancing you're probably fine: averaged over a sensible number of images the load will be sufficiently similar unless your system is right on the edge, and transfer- or decompression-limited.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 23 at 13:59









            Chris HChris H

            3,2451914




            3,2451914























                4














                There are two main types of compression methods:




                1. lossless compression

                2. lossy compression


                As you mentioned, JPEG is a lossy compression method which uses some mathematical tricks to save data, therefore losing picture information resulting in quality loss.



                Basically, if you save a picture and store the color information for every pixel without any encoding, then every picture would most likely be exactly the same size.



                But as there exist lossless compression methods, you have the ability to save file size without losing any quality. The most basic example would be Run-length encoding where you can combine identical successive information and thus save the space you would need to store them one by one. For example you would store the information like "2 white, 3 black" instead of saying "white, white, black, black, black".



                This results in pictures without much variance being compressed to relatively small file sizes, while this is not possible for those with a lot of variance in them.



                This is why different raw pictures taken on the same camera will most likely result in different file sizes.






                share|improve this answer






























                  4














                  There are two main types of compression methods:




                  1. lossless compression

                  2. lossy compression


                  As you mentioned, JPEG is a lossy compression method which uses some mathematical tricks to save data, therefore losing picture information resulting in quality loss.



                  Basically, if you save a picture and store the color information for every pixel without any encoding, then every picture would most likely be exactly the same size.



                  But as there exist lossless compression methods, you have the ability to save file size without losing any quality. The most basic example would be Run-length encoding where you can combine identical successive information and thus save the space you would need to store them one by one. For example you would store the information like "2 white, 3 black" instead of saying "white, white, black, black, black".



                  This results in pictures without much variance being compressed to relatively small file sizes, while this is not possible for those with a lot of variance in them.



                  This is why different raw pictures taken on the same camera will most likely result in different file sizes.






                  share|improve this answer




























                    4












                    4








                    4







                    There are two main types of compression methods:




                    1. lossless compression

                    2. lossy compression


                    As you mentioned, JPEG is a lossy compression method which uses some mathematical tricks to save data, therefore losing picture information resulting in quality loss.



                    Basically, if you save a picture and store the color information for every pixel without any encoding, then every picture would most likely be exactly the same size.



                    But as there exist lossless compression methods, you have the ability to save file size without losing any quality. The most basic example would be Run-length encoding where you can combine identical successive information and thus save the space you would need to store them one by one. For example you would store the information like "2 white, 3 black" instead of saying "white, white, black, black, black".



                    This results in pictures without much variance being compressed to relatively small file sizes, while this is not possible for those with a lot of variance in them.



                    This is why different raw pictures taken on the same camera will most likely result in different file sizes.






                    share|improve this answer















                    There are two main types of compression methods:




                    1. lossless compression

                    2. lossy compression


                    As you mentioned, JPEG is a lossy compression method which uses some mathematical tricks to save data, therefore losing picture information resulting in quality loss.



                    Basically, if you save a picture and store the color information for every pixel without any encoding, then every picture would most likely be exactly the same size.



                    But as there exist lossless compression methods, you have the ability to save file size without losing any quality. The most basic example would be Run-length encoding where you can combine identical successive information and thus save the space you would need to store them one by one. For example you would store the information like "2 white, 3 black" instead of saying "white, white, black, black, black".



                    This results in pictures without much variance being compressed to relatively small file sizes, while this is not possible for those with a lot of variance in them.



                    This is why different raw pictures taken on the same camera will most likely result in different file sizes.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Jan 25 at 19:56









                    xiota

                    9,50331553




                    9,50331553










                    answered Jan 23 at 12:39









                    sLaiNsLaiN

                    413




                    413























                        3














                        This may be camera-dependent, but for my Canon EOS 7D Mark II, different raw images are definitely not the same size:



                        # ls -l *.cr2
                        -rwx------ 1 tew tew 23868042 Jan 21 10:59 20190121105920-6996.cr2
                        -rwx------ 1 tew tew 24408037 Jan 21 11:07 20190121110757-7002.cr2
                        -rwx------ 1 tew tew 25928707 Jan 21 11:08 20190121110823-7003.cr2
                        -rwx------ 1 tew tew 23777211 Jan 21 11:08 20190121110852-7004.cr2
                        -rwx------ 1 tew tew 25369539 Jan 21 11:09 20190121110922-7005.cr2
                        -rwx------ 1 tew tew 22675822 Jan 21 11:11 20190121111113-7006.cr2
                        -rwx------ 1 tew tew 23377077 Jan 21 11:11 20190121111119-7007.cr2


                        They are all pretty close in size, but there's definitely some variance, which is primarily due to compression of the raw sensor data as well as the metadata and embedded JPG preview image.






                        share|improve this answer


























                        • Thanks. Since I don't have enough knowledge in photography, I wanted to know if this difference in size is so high that I can't consider load as the number of images? Does "23868042" mean 23.8 Megabyte?

                          – Pablo
                          Jan 22 at 18:56






                        • 1





                          Correct - the 7D II has a 20.2 megapixel sensor, and the resulting raw images are generally between 19 and 36 megabytes, given my current collection of photos...

                          – twalberg
                          Jan 22 at 19:10


















                        3














                        This may be camera-dependent, but for my Canon EOS 7D Mark II, different raw images are definitely not the same size:



                        # ls -l *.cr2
                        -rwx------ 1 tew tew 23868042 Jan 21 10:59 20190121105920-6996.cr2
                        -rwx------ 1 tew tew 24408037 Jan 21 11:07 20190121110757-7002.cr2
                        -rwx------ 1 tew tew 25928707 Jan 21 11:08 20190121110823-7003.cr2
                        -rwx------ 1 tew tew 23777211 Jan 21 11:08 20190121110852-7004.cr2
                        -rwx------ 1 tew tew 25369539 Jan 21 11:09 20190121110922-7005.cr2
                        -rwx------ 1 tew tew 22675822 Jan 21 11:11 20190121111113-7006.cr2
                        -rwx------ 1 tew tew 23377077 Jan 21 11:11 20190121111119-7007.cr2


                        They are all pretty close in size, but there's definitely some variance, which is primarily due to compression of the raw sensor data as well as the metadata and embedded JPG preview image.






                        share|improve this answer


























                        • Thanks. Since I don't have enough knowledge in photography, I wanted to know if this difference in size is so high that I can't consider load as the number of images? Does "23868042" mean 23.8 Megabyte?

                          – Pablo
                          Jan 22 at 18:56






                        • 1





                          Correct - the 7D II has a 20.2 megapixel sensor, and the resulting raw images are generally between 19 and 36 megabytes, given my current collection of photos...

                          – twalberg
                          Jan 22 at 19:10
















                        3












                        3








                        3







                        This may be camera-dependent, but for my Canon EOS 7D Mark II, different raw images are definitely not the same size:



                        # ls -l *.cr2
                        -rwx------ 1 tew tew 23868042 Jan 21 10:59 20190121105920-6996.cr2
                        -rwx------ 1 tew tew 24408037 Jan 21 11:07 20190121110757-7002.cr2
                        -rwx------ 1 tew tew 25928707 Jan 21 11:08 20190121110823-7003.cr2
                        -rwx------ 1 tew tew 23777211 Jan 21 11:08 20190121110852-7004.cr2
                        -rwx------ 1 tew tew 25369539 Jan 21 11:09 20190121110922-7005.cr2
                        -rwx------ 1 tew tew 22675822 Jan 21 11:11 20190121111113-7006.cr2
                        -rwx------ 1 tew tew 23377077 Jan 21 11:11 20190121111119-7007.cr2


                        They are all pretty close in size, but there's definitely some variance, which is primarily due to compression of the raw sensor data as well as the metadata and embedded JPG preview image.






                        share|improve this answer















                        This may be camera-dependent, but for my Canon EOS 7D Mark II, different raw images are definitely not the same size:



                        # ls -l *.cr2
                        -rwx------ 1 tew tew 23868042 Jan 21 10:59 20190121105920-6996.cr2
                        -rwx------ 1 tew tew 24408037 Jan 21 11:07 20190121110757-7002.cr2
                        -rwx------ 1 tew tew 25928707 Jan 21 11:08 20190121110823-7003.cr2
                        -rwx------ 1 tew tew 23777211 Jan 21 11:08 20190121110852-7004.cr2
                        -rwx------ 1 tew tew 25369539 Jan 21 11:09 20190121110922-7005.cr2
                        -rwx------ 1 tew tew 22675822 Jan 21 11:11 20190121111113-7006.cr2
                        -rwx------ 1 tew tew 23377077 Jan 21 11:11 20190121111119-7007.cr2


                        They are all pretty close in size, but there's definitely some variance, which is primarily due to compression of the raw sensor data as well as the metadata and embedded JPG preview image.







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Jan 22 at 19:11

























                        answered Jan 22 at 18:43









                        twalbergtwalberg

                        2,690613




                        2,690613













                        • Thanks. Since I don't have enough knowledge in photography, I wanted to know if this difference in size is so high that I can't consider load as the number of images? Does "23868042" mean 23.8 Megabyte?

                          – Pablo
                          Jan 22 at 18:56






                        • 1





                          Correct - the 7D II has a 20.2 megapixel sensor, and the resulting raw images are generally between 19 and 36 megabytes, given my current collection of photos...

                          – twalberg
                          Jan 22 at 19:10





















                        • Thanks. Since I don't have enough knowledge in photography, I wanted to know if this difference in size is so high that I can't consider load as the number of images? Does "23868042" mean 23.8 Megabyte?

                          – Pablo
                          Jan 22 at 18:56






                        • 1





                          Correct - the 7D II has a 20.2 megapixel sensor, and the resulting raw images are generally between 19 and 36 megabytes, given my current collection of photos...

                          – twalberg
                          Jan 22 at 19:10



















                        Thanks. Since I don't have enough knowledge in photography, I wanted to know if this difference in size is so high that I can't consider load as the number of images? Does "23868042" mean 23.8 Megabyte?

                        – Pablo
                        Jan 22 at 18:56





                        Thanks. Since I don't have enough knowledge in photography, I wanted to know if this difference in size is so high that I can't consider load as the number of images? Does "23868042" mean 23.8 Megabyte?

                        – Pablo
                        Jan 22 at 18:56




                        1




                        1





                        Correct - the 7D II has a 20.2 megapixel sensor, and the resulting raw images are generally between 19 and 36 megabytes, given my current collection of photos...

                        – twalberg
                        Jan 22 at 19:10







                        Correct - the 7D II has a 20.2 megapixel sensor, and the resulting raw images are generally between 19 and 36 megabytes, given my current collection of photos...

                        – twalberg
                        Jan 22 at 19:10













                        0














                        Now, in case you are also interested in less popular brands, here is how Sony handles RAWs.



                        Currently used RAW files (file extension ".ARW") come in 2 types: 8 bits per pixel (called "Compressed RAW") and 16 bits per pixel ("Uncompressed RAW"). Some cameras are limited to 8 bit, the high end cameras can write either type.



                        Consequently, all RAW files from a given camera are nearly the same size, equal to the number of megapixels (for 8 bits) or twice the megapixel count (for 16 bits). Actual file sizes fluctuate a bit because of the embedded JPEG preview but the RAW data itself is always constant size.






                        share|improve this answer
























                        • Do Sony cameras really reduce bit depth of compressed raw files? What's the point of having "raw" files with the same color depth as JPEG?

                          – xiota
                          Jan 25 at 20:13













                        • @xiota 8 bits of file data for each pixel but not a literal 8 bit image - the effective bit depth depends on the local contrast and can be between 11 and 7 bits and then there is gamma curve (similar to JPEG) stretching the output to 13 bits. artifacts introduced by this compression algorithm are invisible in typical images and Sony owners usually don't even know these files are not really RAW. it's not a bad algorithm but it's a shame that no APS-C camera from Sony can shoot true RAW - there is no option to switch to uncompressed RAW for the rare cases where it makes a difference.

                          – szulat
                          Jan 25 at 20:39











                        • @xiota Raw files do not have any color depth. They are monochromatic luminance values.

                          – Michael C
                          2 days ago











                        • They contain "monochromatic" luminance values of light that has passed through color filters, hence representing color. It may not contain complete color information for each pixel, but it's still color depth.

                          – xiota
                          yesterday


















                        0














                        Now, in case you are also interested in less popular brands, here is how Sony handles RAWs.



                        Currently used RAW files (file extension ".ARW") come in 2 types: 8 bits per pixel (called "Compressed RAW") and 16 bits per pixel ("Uncompressed RAW"). Some cameras are limited to 8 bit, the high end cameras can write either type.



                        Consequently, all RAW files from a given camera are nearly the same size, equal to the number of megapixels (for 8 bits) or twice the megapixel count (for 16 bits). Actual file sizes fluctuate a bit because of the embedded JPEG preview but the RAW data itself is always constant size.






                        share|improve this answer
























                        • Do Sony cameras really reduce bit depth of compressed raw files? What's the point of having "raw" files with the same color depth as JPEG?

                          – xiota
                          Jan 25 at 20:13













                        • @xiota 8 bits of file data for each pixel but not a literal 8 bit image - the effective bit depth depends on the local contrast and can be between 11 and 7 bits and then there is gamma curve (similar to JPEG) stretching the output to 13 bits. artifacts introduced by this compression algorithm are invisible in typical images and Sony owners usually don't even know these files are not really RAW. it's not a bad algorithm but it's a shame that no APS-C camera from Sony can shoot true RAW - there is no option to switch to uncompressed RAW for the rare cases where it makes a difference.

                          – szulat
                          Jan 25 at 20:39











                        • @xiota Raw files do not have any color depth. They are monochromatic luminance values.

                          – Michael C
                          2 days ago











                        • They contain "monochromatic" luminance values of light that has passed through color filters, hence representing color. It may not contain complete color information for each pixel, but it's still color depth.

                          – xiota
                          yesterday
















                        0












                        0








                        0







                        Now, in case you are also interested in less popular brands, here is how Sony handles RAWs.



                        Currently used RAW files (file extension ".ARW") come in 2 types: 8 bits per pixel (called "Compressed RAW") and 16 bits per pixel ("Uncompressed RAW"). Some cameras are limited to 8 bit, the high end cameras can write either type.



                        Consequently, all RAW files from a given camera are nearly the same size, equal to the number of megapixels (for 8 bits) or twice the megapixel count (for 16 bits). Actual file sizes fluctuate a bit because of the embedded JPEG preview but the RAW data itself is always constant size.






                        share|improve this answer













                        Now, in case you are also interested in less popular brands, here is how Sony handles RAWs.



                        Currently used RAW files (file extension ".ARW") come in 2 types: 8 bits per pixel (called "Compressed RAW") and 16 bits per pixel ("Uncompressed RAW"). Some cameras are limited to 8 bit, the high end cameras can write either type.



                        Consequently, all RAW files from a given camera are nearly the same size, equal to the number of megapixels (for 8 bits) or twice the megapixel count (for 16 bits). Actual file sizes fluctuate a bit because of the embedded JPEG preview but the RAW data itself is always constant size.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Jan 24 at 13:39









                        szulatszulat

                        3,71511126




                        3,71511126













                        • Do Sony cameras really reduce bit depth of compressed raw files? What's the point of having "raw" files with the same color depth as JPEG?

                          – xiota
                          Jan 25 at 20:13













                        • @xiota 8 bits of file data for each pixel but not a literal 8 bit image - the effective bit depth depends on the local contrast and can be between 11 and 7 bits and then there is gamma curve (similar to JPEG) stretching the output to 13 bits. artifacts introduced by this compression algorithm are invisible in typical images and Sony owners usually don't even know these files are not really RAW. it's not a bad algorithm but it's a shame that no APS-C camera from Sony can shoot true RAW - there is no option to switch to uncompressed RAW for the rare cases where it makes a difference.

                          – szulat
                          Jan 25 at 20:39











                        • @xiota Raw files do not have any color depth. They are monochromatic luminance values.

                          – Michael C
                          2 days ago











                        • They contain "monochromatic" luminance values of light that has passed through color filters, hence representing color. It may not contain complete color information for each pixel, but it's still color depth.

                          – xiota
                          yesterday





















                        • Do Sony cameras really reduce bit depth of compressed raw files? What's the point of having "raw" files with the same color depth as JPEG?

                          – xiota
                          Jan 25 at 20:13













                        • @xiota 8 bits of file data for each pixel but not a literal 8 bit image - the effective bit depth depends on the local contrast and can be between 11 and 7 bits and then there is gamma curve (similar to JPEG) stretching the output to 13 bits. artifacts introduced by this compression algorithm are invisible in typical images and Sony owners usually don't even know these files are not really RAW. it's not a bad algorithm but it's a shame that no APS-C camera from Sony can shoot true RAW - there is no option to switch to uncompressed RAW for the rare cases where it makes a difference.

                          – szulat
                          Jan 25 at 20:39











                        • @xiota Raw files do not have any color depth. They are monochromatic luminance values.

                          – Michael C
                          2 days ago











                        • They contain "monochromatic" luminance values of light that has passed through color filters, hence representing color. It may not contain complete color information for each pixel, but it's still color depth.

                          – xiota
                          yesterday



















                        Do Sony cameras really reduce bit depth of compressed raw files? What's the point of having "raw" files with the same color depth as JPEG?

                        – xiota
                        Jan 25 at 20:13







                        Do Sony cameras really reduce bit depth of compressed raw files? What's the point of having "raw" files with the same color depth as JPEG?

                        – xiota
                        Jan 25 at 20:13















                        @xiota 8 bits of file data for each pixel but not a literal 8 bit image - the effective bit depth depends on the local contrast and can be between 11 and 7 bits and then there is gamma curve (similar to JPEG) stretching the output to 13 bits. artifacts introduced by this compression algorithm are invisible in typical images and Sony owners usually don't even know these files are not really RAW. it's not a bad algorithm but it's a shame that no APS-C camera from Sony can shoot true RAW - there is no option to switch to uncompressed RAW for the rare cases where it makes a difference.

                        – szulat
                        Jan 25 at 20:39





                        @xiota 8 bits of file data for each pixel but not a literal 8 bit image - the effective bit depth depends on the local contrast and can be between 11 and 7 bits and then there is gamma curve (similar to JPEG) stretching the output to 13 bits. artifacts introduced by this compression algorithm are invisible in typical images and Sony owners usually don't even know these files are not really RAW. it's not a bad algorithm but it's a shame that no APS-C camera from Sony can shoot true RAW - there is no option to switch to uncompressed RAW for the rare cases where it makes a difference.

                        – szulat
                        Jan 25 at 20:39













                        @xiota Raw files do not have any color depth. They are monochromatic luminance values.

                        – Michael C
                        2 days ago





                        @xiota Raw files do not have any color depth. They are monochromatic luminance values.

                        – Michael C
                        2 days ago













                        They contain "monochromatic" luminance values of light that has passed through color filters, hence representing color. It may not contain complete color information for each pixel, but it's still color depth.

                        – xiota
                        yesterday







                        They contain "monochromatic" luminance values of light that has passed through color filters, hence representing color. It may not contain complete color information for each pixel, but it's still color depth.

                        – xiota
                        yesterday













                        0














                        Raw files potentially have the exact same size, but in practice, they almost always don't. Reasons include:




                        • Variable size of metadata. (twalberg)

                        • Variable size of JPEG preview thumbnails. (Chris H, szulat)

                        • Lossless compression. (Michael C, sLaiN)

                        • Lossy compression. (sLaiN)

                        • Reduced resolution raw files.

                        • Reduced bit-depth raw files.


                        Without knowing exactly what devices you are using, it is impossible to directly and accurately answer your question.




                        • Canon – CR2 files are losslessly compressed. (Chris H, twalberg, xenoid)

                        • FujiFilm X-Series – Cameras using G1/G2 X-Trans sensors (16mp) and Faux-X Bayer sensors do not use compression for raw data. G3 and later X-Trans sensors (24mp) have the option to use lossless compression.

                        • Nikon – ???

                        • Olympus – ???

                        • Panasonic – ???

                        • Pentax – ???

                        • Sony – (szulat)






                        share|improve this answer






























                          0














                          Raw files potentially have the exact same size, but in practice, they almost always don't. Reasons include:




                          • Variable size of metadata. (twalberg)

                          • Variable size of JPEG preview thumbnails. (Chris H, szulat)

                          • Lossless compression. (Michael C, sLaiN)

                          • Lossy compression. (sLaiN)

                          • Reduced resolution raw files.

                          • Reduced bit-depth raw files.


                          Without knowing exactly what devices you are using, it is impossible to directly and accurately answer your question.




                          • Canon – CR2 files are losslessly compressed. (Chris H, twalberg, xenoid)

                          • FujiFilm X-Series – Cameras using G1/G2 X-Trans sensors (16mp) and Faux-X Bayer sensors do not use compression for raw data. G3 and later X-Trans sensors (24mp) have the option to use lossless compression.

                          • Nikon – ???

                          • Olympus – ???

                          • Panasonic – ???

                          • Pentax – ???

                          • Sony – (szulat)






                          share|improve this answer




























                            0












                            0








                            0







                            Raw files potentially have the exact same size, but in practice, they almost always don't. Reasons include:




                            • Variable size of metadata. (twalberg)

                            • Variable size of JPEG preview thumbnails. (Chris H, szulat)

                            • Lossless compression. (Michael C, sLaiN)

                            • Lossy compression. (sLaiN)

                            • Reduced resolution raw files.

                            • Reduced bit-depth raw files.


                            Without knowing exactly what devices you are using, it is impossible to directly and accurately answer your question.




                            • Canon – CR2 files are losslessly compressed. (Chris H, twalberg, xenoid)

                            • FujiFilm X-Series – Cameras using G1/G2 X-Trans sensors (16mp) and Faux-X Bayer sensors do not use compression for raw data. G3 and later X-Trans sensors (24mp) have the option to use lossless compression.

                            • Nikon – ???

                            • Olympus – ???

                            • Panasonic – ???

                            • Pentax – ???

                            • Sony – (szulat)






                            share|improve this answer















                            Raw files potentially have the exact same size, but in practice, they almost always don't. Reasons include:




                            • Variable size of metadata. (twalberg)

                            • Variable size of JPEG preview thumbnails. (Chris H, szulat)

                            • Lossless compression. (Michael C, sLaiN)

                            • Lossy compression. (sLaiN)

                            • Reduced resolution raw files.

                            • Reduced bit-depth raw files.


                            Without knowing exactly what devices you are using, it is impossible to directly and accurately answer your question.




                            • Canon – CR2 files are losslessly compressed. (Chris H, twalberg, xenoid)

                            • FujiFilm X-Series – Cameras using G1/G2 X-Trans sensors (16mp) and Faux-X Bayer sensors do not use compression for raw data. G3 and later X-Trans sensors (24mp) have the option to use lossless compression.

                            • Nikon – ???

                            • Olympus – ???

                            • Panasonic – ???

                            • Pentax – ???

                            • Sony – (szulat)







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited Jan 25 at 20:14

























                            answered Jan 24 at 22:49









                            xiotaxiota

                            9,50331553




                            9,50331553






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Photography Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fphoto.stackexchange.com%2fquestions%2f104508%2fdo-raw-images-of-the-same-camera-have-the-same-size%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                How to change which sound is reproduced for terminal bell?

                                Can I use Tabulator js library in my java Spring + Thymeleaf project?

                                Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents