Showing results for 
Show  only  | Search instead for 
Did you mean: 

Canon Rebel T7 - Varying Image Dimensions


Why does the T7 produce images with a variety of dimensions instead of a fixed size?  I thought that the image dimensions were determined by the sensor size and would be consistent.  But, here's a sampling of the dimensions I've seen in tonight's batch: 

6027 x 4018,

6015 x 4010,

6120 x 4080, 

5935 x 3957



Lens correction turned on?

View solution in original post



Because of the bayer array, there are more raw pixels than JPEG pixels, and processing can be a bit variable with the handling of these. If you want consistent sizes, you need to shoot JPEG.

That still doesn't make sense to me.  If it can handle x number of pixels one time, why can't it handle that same x number of pixels another time?  RAW is supposed to straight from the sensor and the number of pixels on the sensor doesn't change between shots just because their recorded values change, so it should be consistent.

That said, I'm not saying your wrong.  I'm just saying it doesn't make sense to me. It's also disappointing that I can't create an improved version of the 6000 x 4000 JPEG file that my camera created because the RAW file is only 5935 x 3957.

Open your raw file in darktable, go to active modules and the module raw black/white point. Go to its hamburger menu and hit passthrough. Now you will see the whole sensor area including the hidden optical black area. The image will look dull, so if you want a normal look with optical black area you need to set the three black points to 2048 and the white point to 12277 for ISO 100 or 15092 for everything else.

6096 x 4051 px for your T7, including the masked area.


Why the different sizes? Well, some things need to be done, like:

  • Optical black area needs to be cropped out. It should be something like 70 columns from left and 34 lines from top for your camera.
  • The borders need to be cropped a little bit. A few columns and lines. darktable removes 8 columns from left, 8 lines from top, 4 columns from the right and 6 lines from the bottom.
  • Distortion correction will crop even more depending on lens.


Lens correction turned on?

I enable the Distortion option under lens correction as part of my default recipe.  Sure enough, if I disable it, the raw images return to their 6000 x 4000 dimensions, matching the out-of-the-camera jpegs.

Thank you!

click here to view the press release