File size?? Pixels??Watch

Announcements
#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

2
1 year 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
1 year 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
1 year 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

We aren't doing your homework for you. Both answers can be attained in about twenty seconds on a calculator.
1
#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
1 year ago
#6
i got exact the same question lol...
0
1 week 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 week 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 week 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 week ago
0
1 week 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.

University open days

• University of Surrey
Wed, 23 Oct '19
• University of Bristol
Wed, 23 Oct '19
• University of Exeter
Wed, 23 Oct '19

Poll

Join the discussion

Yes (33)
25%
No (99)
75%