Simple question: pixels vs file size

575 views10 repliesLast post: 9/14/2004
Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?
#1
On Sun, 12 Sep 2004 14:39:57 GMT, Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?
****************
The math is:
2510 x 1960 x bit depth (8) x number of channels (3) / 8192 = Kilobytes Divide that by 1000 for MB.

--sanders
e-mail?Please erase theboard
#2
Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?

2510 x 1960 = 4919600 pixels.
One pixel is 3 bytes if the image is 8 bits per pixel, so 4919600 pixels = 14758800 bytes = 14.0751 MB.

--
Johan W. Elzenga johan<<at>>johanfoto.nl Editor / Photographer http://www.johanfoto.nl/
#3
On Sun, 12 Sep 2004 15:08:33 GMT, Sanders
wrote:

On Sun, 12 Sep 2004 14:39:57 GMT, Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?
****************
The math is:
2510 x 1960 x bit depth (8) x number of channels (3) / 8192 = Kilobytes Divide that by 1000 for MB.
What's 8192?
#4
On Sun, 12 Sep 2004 14:39:57 GMT, Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?
To be precise: There are 8,192 bits in a kilobyte, not 8,000 --sanders
e-mail?Please erase theboard
#5
Johan W. Elzenga wrote:

Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?

2510 x 1960 = 4919600 pixels.
One pixel is 3 bytes if the image is 8 bits per pixel, so 4919600 pixels = 14758800 bytes = 14.0751 MB.

Oops. Read "if the image is 8 bits per COLOR", not per pixel.

--
Johan W. Elzenga johan<<at>>johanfoto.nl Editor / Photographer http://www.johanfoto.nl/
#6
On Sun, 12 Sep 2004 20:57:35 GMT, Sanders
wrote (with possible editing):

On Sun, 12 Sep 2004 14:39:57 GMT, Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?
To be precise: There are 8,192 bits in a kilobyte, not 8,000 --sanders
e-mail?Please erase theboard

I always thought there were 1024 bits in a kilobyte.
--

Larry
Email to rapp at lmr dot com
#7
"L. M. Rappaport" wrote in message
On Sun, 12 Sep 2004 20:57:35 GMT, Sanders
wrote (with possible editing):

On Sun, 12 Sep 2004 14:39:57 GMT, Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?
To be precise: There are 8,192 bits in a kilobyte, not 8,000 --sanders
e-mail?Please erase theboard

I always thought there were 1024 bits in a kilobyte.
--

Larry
Email to rapp at lmr dot com

1024 bits in kilobit
bit=1/8Byte
so 1kilobyte=1024x8bits

--Aki Ahonen
#8
Hi

The math is:
2510 x 1960 x bit depth (8) x number of channels (3) / 8192 = Kilobytes
That is correct.

Divide that by 1000 for MB.
This is incorrect. You must divide by 1024 for Mbytes.

Carlos

"Sanders" wrote in message
On Sun, 12 Sep 2004 14:39:57 GMT, Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?
****************
The math is:
2510 x 1960 x bit depth (8) x number of channels (3) / 8192 = Kilobytes Divide that by 1000 for MB.

--sanders
e-mail?Please erase theboard
#9
Hi

I always thought there were 1024 bits in a kilobyte.

1 byte = 8 bits
1 Kbyte = 1024 bytes = 8 x 1024 bits = 8192 bits.

Carlos

"L. M. Rappaport" wrote in message
On Sun, 12 Sep 2004 20:57:35 GMT, Sanders
wrote (with possible editing):

On Sun, 12 Sep 2004 14:39:57 GMT, Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?
To be precise: There are 8,192 bits in a kilobyte, not 8,000 --sanders
e-mail?Please erase theboard

I always thought there were 1024 bits in a kilobyte.
--

Larry
Email to rapp at lmr dot com
#10
On Mon, 13 Sep 2004 14:04:09 GMT, "Aki Ahonen" wrote (with possible editing):

"L. M. Rappaport" wrote in message
On Sun, 12 Sep 2004 20:57:35 GMT, Sanders
wrote (with possible editing):

On Sun, 12 Sep 2004 14:39:57 GMT, Arizona wrote:

Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What's the math?
To be precise: There are 8,192 bits in a kilobyte, not 8,000 --sanders
e-mail?Please erase theboard

I always thought there were 1024 bits in a kilobyte.
--

Larry
Email to rapp at lmr dot com

1024 bits in kilobit
bit=1/8Byte
so 1kilobyte=1024x8bits

--Aki Ahonen

You're right - I should know better.

--

Larry
Email to rapp at lmr dot com
#11