# File size?? Pixels??

Watch
Announcements
Thread starter 2 years ago
#1
Hi! I was wondering how to go about solving this question. Could someone pls help me?
Which is image is greater in file size?
1 ) a 256 colour icon with dimensions of 50x50 pixels
2) a 16 colour icon with dimensions 100 x 100

Thank you in advance!!
3
2 years ago
#2
Do you know how many bits are required to represent a single 16-colour pixel, and how many bits are required to represent a single 256-colour pixel?
0
2 years ago
#3
file size = colour depth in bits * resolution

1 bit is used to represent two colours - use that to work out how many bits are needed for 16 and 256 colours
0
2 years ago
#4
(Original post by astrid2018)
Hi! I was wondering how to go about solving this question. Could someone pls help me?
Which is image is greater in file size?
1 ) a 256 colour icon with dimensions of 50x50 pixels
2) a 16 colour icon with dimensions 100 x 100

Thank you in advance!!
We aren't doing your homework for you. Both answers can be attained in about twenty seconds on a calculator.
1
Thread starter 2 years ago
#5
(Original post by Bill Nye)
file size = colour depth in bits * resolution

1 bit is used to represent two colours - use that to work out how many bits are needed for 16 and 256 colours
Thank you!! That really helped. I completely forgot that equation
0
2 years ago
#6
i got exact the same question lol...
0
1 year ago
#7
If you ain't gonna help than why answer in the first place , if you are sooooo smart why don't you at least explain how to solve it ?
0
1 year ago
#8
(Original post by Tootles)
We aren't doing your homework for you. Both answers can be attained in about twenty seconds on a calculator.
I don't understand why you replied in the first place because what you said is completely irrelevant to what the person asked and also if you are soooooo smart why don't you actually explain what to do because than you are helping without giving the answer which means you are not doing their homework you are just helping . Giving attitude and making it sound like you are smarter than that person won't help !!!!
0
1 year ago
#9
(Original post by astrid2018)
Hi! I was wondering how to go about solving this question. Could someone pls help me?
Which is image is greater in file size?
1 ) a 256 colour icon with dimensions of 50x50 pixels
2) a 16 colour icon with dimensions 100 x 100
Is that the whole question? It's missing some information, so we'll have to assume a couple of things:
- Written raw, i.e. no compression (images are typically compressed in files)
- Pixels are packed into bytes for efficient storage

You need to calculate the number of bits required for each image. How many bits do you need to represent 256 colours? And for 16?

Now multiply those by the number of pixels in each image. whilst enough to state the storage requirement in bits (b), I'd convert it to bytes (B).

You can also do it by ratios - 2 has four times as many pixels as 1. Now adjust for the number of bits per pixel.
Last edited by RogerOxon; 1 year ago
0
1 year ago
#10
(Original post by Tootles)
We aren't doing your homework for you. Both answers can be attained in about twenty seconds on a calculator.
You must be a slow typer . I wouldn't use a calculator.
1
X

new posts
Back
to top
Latest
My Feed

### Oops, nobody has postedin the last few hours.

Why not re-start the conversation?

see more

### See more of what you like onThe Student Room

You can personalise what you see on TSR. Tell us a little about yourself to get started.

### Poll

Join the discussion

#### Current uni students - are you thinking of dropping out of university?

Yes, I'm seriously considering dropping out (150)
14.61%
I'm not sure (45)
4.38%
No, I'm going to stick it out for now (306)
29.8%
I have already dropped out (27)
2.63%
I'm not a current university student (499)
48.59%