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 02:30
If you were charged with and convicted for a federal crime such as transporting drugs across state lines, but knew you were innocent, what would be steps available to you to clear your name? select all that apply.
Answers: 1
question
Advanced Placement (AP), 23.06.2019 13:10
Want free points + brainliest? answer this drived ed question correctly and i got you ! rural areas are with long stretches of roads. a. densely populated b. sparsely populated c. free of law enforcement d. busy places
Answers: 2
question
Advanced Placement (AP), 23.06.2019 20:00
*giving 20 free points plus brainliest for this drivers ed question * ! which of the following is not the name of a dash gauge? a. speedometer b. gear meter c. odometer d. temperature gauge
Answers: 2
question
Advanced Placement (AP), 24.06.2019 23:10
The use of a beat or a rhythm to remember something is
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
Mathematics, 02.04.2020 18:05
question
English, 02.04.2020 18:06
question
Mathematics, 02.04.2020 18:06
question
History, 02.04.2020 18:06
Questions on the website: 13722362