subject

Hello Guys! These are some questions from Computer Science that I got stuck with. I'd appreciate it if you guys would help me. 1. If an image has only 4 colors, how many bits are necessary to represent one pixel’s color?

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

3. 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? (Image attached)

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

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


Hello Guys! These are some questions from Computer Science that I got stuck with. I'd appreciate it

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:30
This technology is used to produce high-quality documents that look good on the computer screen and in print.
Answers: 1
question
Computers and Technology, 23.06.2019 01:50
Write a program that uses a random number generator to generate a two digit positive integer and allows the user to perform one or more of the following operations: a. double the number. b. reverse the digits of the number. c. raise the number to the power of 2, 3, or 4. d. sum the digits of the number. e. if the number is a two-digit number, then raise the first digit to the power of the second digit. f. if the number is a three-digit number and the last digit is less than or equal to 4, then raise the first two digits to the power of the last digit. after performing an operation if the number is less than 10, add 10 to the number. also, after each operation determine if the number is prime. each successive operation should be performed on the number generated by the last operation. your program should not contain any global variables and each of these operations must be implemented by a separate function. also, your program should be menu driven. 7. (fraction calculator) write a program that
Answers: 1
question
Computers and Technology, 23.06.2019 03:50
Q-1 which of the following can exist as cloud-based it resources? a. physical serverb. virtual serverc. software programd. network device
Answers: 1
question
Computers and Technology, 23.06.2019 04:00
Another name for addicting games.com
Answers: 1
You know the right answer?
Hello Guys! These are some questions from Computer Science that I got stuck with. I'd appreciate it...
Questions
question
Mathematics, 02.11.2020 21:20
question
Mathematics, 02.11.2020 21:20
question
Mathematics, 02.11.2020 21:20
Questions on the website: 13722367