Simple question: pixels vs file size

A
Posted By
Arizona
Sep 12, 2004
Views
575
Replies
10
Status
Closed
Why would a 2510 by 1960 image take 14.1MB in its uncompressed mode? What’s the math?

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

S
Sanders
Sep 12, 2004
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
N
nomail
Sep 12, 2004
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/
A
anyone
Sep 12, 2004
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?
S
Sanders
Sep 12, 2004
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
N
nomail
Sep 12, 2004
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/
N
nospam
Sep 13, 2004
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
AA
Aki Ahonen
Sep 13, 2004
"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
C
Carlos
Sep 13, 2004
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
C
Carlos
Sep 13, 2004
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
N
nospam
Sep 14, 2004
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

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

Related Discussion Topics

Nice and short text about related topics in discussion sections