If you know the pixel dimensions of the image (W x H) and the bit depth per pixel (D) then the minimum file size in bytes of WxHxD/8. Every file has a header that contains information of necessity to the reading device, such as a computer. People who are familiar with file headers can explain.
John_F wrote:
If you know the pixel dimensions of the image (W x H) and the bit depth per pixel (D) then the minimum file size in bytes of WxHxD/8. Every file has a header that contains information of necessity to the reading device, such as a computer. People who are familiar with file headers can explain.
Doesn't really work that way, once the image is converted to a bitmap generally its 8 bits per color channel or 24bits.
for a 16bit tiff its 48 bits (thats 3 or 6 bytes per pixel)
width and height would give the mega-pixels used e.g 6000 x 4000 = 24 million or 24 mega pixels for 8 bits that would be 72 million bytes and 144 million bytes for 16 bit per channel.
For raw at 12 bits per pixel site (same dimensions 6000 x 4000) it would be around 36 million for the same sensor + a bit more for the pixel sites around the edge of the sensor + header information. in practice file sizes are much smaller using lossless or lossy compression techniques.
Does pixel size affect file size?
When you transfer your image files to computer storage, how large does the computer OS say the file is. A 6000 by 4000 pixel raw image from my Sony a6300 in my Mac occupies about 25 megabytes. Therefore te pixel bit depth can not exceed 8 (1 byte).
blackest wrote:
Doesn't really work that way, once the image is converted to a bitmap generally its 8 bits per color channel or 24bits.
for a 16bit tiff its 48 bits (thats 3 or 6 bytes per pixel)
width and height would give the mega-pixels used e.g 6000 x 4000 = 24 million or 24 mega pixels for 8 bits that would be 72 million bytes and 144 million bytes for 16 bit per channel.
For raw at 12 bits per pixel site (same dimensions 6000 x 4000) it would be around 36 million for the same sensor + a bit more for the pixel sites around the edge of the sensor + header information. in practice file sizes are much smaller using lossless or lossy compression techniques.
Doesn't really work that way, once the image is co... (
show quote)
John_F wrote:
When you transfer your image files to computer storage, how large does the computer OS say the file is. A 6000 by 4000 pixel raw image from my Sony a6300 in my Mac occupies about 25 megabytes. Therefore te pixel bit depth can not exceed 8 (1 byte).
You are not considering how much that file is compressed. Therefore the pixel bit depth is significantly greater than the 8 bits you suggest.
Sony says the a6300 shoots in either 14 bit or 12 bit mode, and it is not possible to generate an 8 bit depth RAW file.
bkyser
Loc: Fly over country in Indiana
Wow, this ended up a lot "deeper" than I thought. I will admit, I'm enjoying the reading, and the fact that nobody is attacking each other on a personal basis. I could get used to this.
If you want to reply, then
register here. Registration is free and your account is created instantly, so you can post right away.