astrid2018
Badges: 11
Rep:
?
#1
Report Thread starter 1 year 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!!
2
reply
winterscoming
Badges: 19
Rep:
?
#2
Report 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
reply
Bill Nye
Badges: 21
Rep:
?
#3
Report 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
reply
Tootles
Badges: 21
Rep:
?
#4
Report 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

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
reply
astrid2018
Badges: 11
Rep:
?
#5
Report Thread starter 1 year 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
reply
queenxo
Badges: 1
Rep:
?
#6
Report 1 year ago
#6
i got exact the same question lol...
0
reply
Bianca Simion
Badges: 1
Rep:
?
#7
Report 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
reply
Bianca Simion
Badges: 1
Rep:
?
#8
Report 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
reply
RogerOxon
Badges: 21
Rep:
?
#9
Report 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
reply
RogerOxon
Badges: 21
Rep:
?
#10
Report 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
reply
X

Quick Reply

Attached files
Write a reply...
Reply
new posts
Back
to top
Latest
My Feed

See more of what you like on
The Student Room

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

Personalise

University open days

  • University of Surrey
    Postgraduate Open Afternoon Postgraduate
    Wed, 23 Oct '19
  • University of Bristol
    Undergraduate Open Afternoon Undergraduate
    Wed, 23 Oct '19
  • University of Exeter
    Undergraduate Open Day - Penryn Campus Undergraduate
    Wed, 23 Oct '19

Would you turn to a teacher if you were being bullied?

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

Watched Threads

View All