1. The drawing of 512 on 64 pixels in size is coded with a palette 2 colors. How to learn how many the kilobyte occupies in memory the drawing without compression? 2. The drawing of 288 on 256 pixels in size occupies in pamyati18 Kb (without compression). Find the greatest possible amount of colors to an image.3 vpalitra. The drawing of 80 on 192 pixels in size is coded with a palette of 256 flowers. How to learn how many the kilobyte occupies in memory the drawing without compression?

268
1) When using 2 colors for storage of one pixel log(2) 2 = 1 bit is required. Drawing volume = 512*64*1 bits = 512*64/8 bytes = 512*64 / (8*1024) Kb = 4 Kb 2) 18 Kb = 18*1024 Bytes = 18*1024*8 bits Memory for one pixel = 18*1024*8 / (288*256) = 2 bits Amount of colors in a palette = 2^2 = 4 3) When using 256 colors for storage of one pixel is required to log (2) 256 = 8 bits = 1 byte. Drawing volume = 80*192*1 bytes = 80*192/1024 Kb = 15 Kb
135
Answer add
Milko

Other questions in the section - informatics
Vonifatiy
Features of work of the person with information
2020-10-26 10:00:32
Kasusevy
Please count!!!! The conditional operator is given: if a< 5 then c: =1else if
2020-10-26 10:00:32
Fobor
Napishite, please, the program on Pascal. The one-dimensional massif is given. To define whether
2020-10-26 10:00:32
Boonsahda
Task 1. The massif from 30 elements filled with the whole random numbers from
2020-10-26 10:00:32
Nyuk
Please count PLEASE! The volume of video memory is equal to 256 KB. Amount
2020-10-26 10:00:32