answersLogoWhite

0

1pixel equal to how many mb?

Updated: 10/3/2023
User Avatar

Wiki User

13y ago

Best Answer

That would depend on several things, among these are:

  • The color depth of the image. The RGBA standard requires 32 bits of information per pixel. An 8 bit per pixel image will represent up to 256 separate colors
  • Any compression algorithm that the image has bee subject to. JPEG compression destroys image information but gives a smaller image size than PNG compression or an uncompressed BMP (or uncompressed RGBA)

In the case of an uncompressed RGBA image you will have about 250000 pixels in your megabyte of data (a square 500 pixels on a side)

In the case of an 8 bit bitmap you have four times the area or 1000*1000 pixels (minus a little for header overhead etc.)

When it come to images that are compressed (both lossy like JPEG- JPG, or non-lossy like PNG) it depends on the image because it is easier to compress large fields of single colors than complex imagery like details of branches of a tree.

At maximum compression A 1000 *1000 pixel entirely white image weighs in at 4400 bytes as .png and 6100 bytes as jpg.

With random noise spread across the image the .png (no loss of information mind you) weighs in at 1500000 bytes (1,5Mb) While the Jpeg due to maximum compression had no color information left at all but "weighed" only 51700 byte (51.7 kb) With as little compression as possible the file size of a (good looking) jpg was 1473000 (1,47 Mb)

So there are a lot of things to consider!

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

13y ago

i dont think a pixel is the same as bytes

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: 1pixel equal to how many mb?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions