Java Software Solutions >EX2.14 > Solution

Problem:

How many bits are needed to store a color picture that is 400 pixels wide and 250 pixels high? Assume color is represented using the RGB technique described in this chapter and that no special compression is done.

Output:

Not Applicable

Solution:

Allowing 8 bits for each of the 3 (red, green, and blue) color components of each of 400 x 250 pixels comprising the picture means that 8 x 3 x 400 x 250 = 2,400,000 bits are needed.


No comments :

Post a Comment

Follow Me

If you like our content, feel free to follow me to stay updated.

Subscribe

Enter your email address:

We hate spam as much as you do.

Upload Material

Got an exam, project, tutorial video, exercise, solutions, unsolved problem, question, solution manual? We are open to any coding material. Why not upload?

Upload

Copyright © 2012 - 2014 Java Problems  --  About  --  Attribution  --  Privacy Policy  --  Terms of Use  --  Contact