Ugly Hedgehog - Photography Forum
Home Active Topics Newest Pictures Search Login Register
Check out Close Up Photography section of our forum.
Main Photography Discussion
I may have stumped google?
Page <prev 2 of 2
Jan 22, 2018 21:24:16   #
John_F Loc: Minneapolis, MN
 
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.

Reply
Jan 22, 2018 22:29:54   #
blackest Loc: Ireland
 
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.

Reply
Jan 22, 2018 23:35:42   #
SteveR Loc: Michigan
 
Does pixel size affect file size?

Reply
Check out The Pampered Pets Corner section of our forum.
Jan 23, 2018 00:06:50   #
Rongnongno Loc: FL
 
SteveR wrote:
Does pixel size affect file size?



Reply
Jan 23, 2018 12:02:55   #
John_F Loc: Minneapolis, MN
 
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)

Reply
Jan 23, 2018 13:00:38   #
Apaflo Loc: Anchorage, Alaska
 
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.

Reply
Jan 23, 2018 17:15:00   #
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.

Reply
Page <prev 2 of 2
If you want to reply, then register here. Registration is free and your account is created instantly, so you can post right away.
Check out Smartphone Photography section of our forum.
Main Photography Discussion
UglyHedgehog.com - Forum
Copyright 2011-2024 Ugly Hedgehog, Inc.