Website and domain for sale: mail@discussmain.com

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