subject
Advanced Placement (AP), 16.02.2021 01:00 cycy24

The image in the previous exercise used the classic RGB color representation to represent color. That’s 24 bits to represent each color. However, the image only had 4 different colors in it! 24 bits is nice when we need to represent millions of different colors, but in this scenario we only needed to represent 4 colors!

If an image has only 4 colors, how many bits are necessary to represent one pixel’s color?

Describe a new custom encoding that uses fewer bits to represent each color in the image. What is your encoding for each color?

If you were to re-encode this image using your new encoding, how many bits would you save when compared to the 24 bit RGB encoding? As a reminder, here is the image:

It is 17 pixels wide, 20 pixels tall, and has 4 different colors: red, blue, black, and white.

If you were to decompress your image would you lose any quality or would you be able to get back to the original image?

ansver
Answers: 3

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 23.06.2019 06:00
How does act ii, scene 3, when romeo goes to friar laurence’s cell at dawn, contrast with the action of the night before, when romeo and juliet declare their love? what do dawn and daytime signify to romeo and juliet’s relationship, and how does this scene tie into the light/darkness visual motif of the play? in the space below, analyze the scene’s importance in these respects. use specific details from the text to support your analysis.
Answers: 3
question
Advanced Placement (AP), 24.06.2019 16:30
Which of the following is a resource outside the workplace that will you find information on safety and health issues? a.safety data sheets b.medical manuals c.the osha website d.work task and procedures intruction
Answers: 1
question
Advanced Placement (AP), 25.06.2019 08:00
Assume you wanted to save 2000 to buy a used car 18 months from now. how much money do you need to save every week to accomplish your goal?
Answers: 1
question
Advanced Placement (AP), 26.06.2019 11:00
Micheal wants to estimate how much it will cost him each month to own and maintain his car. which of the following costs should not be included in the calculations? routine maintenance? dealer fees? gas? loan payments? wouldn't it be dealer fees? ? idk in advance! : )
Answers: 1
You know the right answer?
The image in the previous exercise used the classic RGB color representation to represent color. Tha...
Questions
question
Computers and Technology, 03.02.2021 18:00
question
English, 03.02.2021 18:00
question
Mathematics, 03.02.2021 18:00
question
Social Studies, 03.02.2021 18:00
Questions on the website: 13722361