16-bit images and android processing

Am I saying correctly that a 16-bit image will be decoded and drawn faster than 24 or 32 bits? I know that the file size will be smaller, but if the bitmap images are drawn faster than it would be advisable to convert them. If it's faster, how can I save a 16 bit jpeg file? I just found an option in Photoshop to save a 16-bit bitmap ... which is 54 MB.

+3
source share
2 answers

It depends. If your screen (and therefore the surface drawn on it) is 16 bits, it might be faster; if they are 32 bits, however a 32-bit raster map may be faster.

, , , jpeg png - , "16 " "32 ", . JPEG - , , , 32 , 16 (, , , , ). PNG , , . , PNG , , , .

, , ; , . :

  • , 32-.
  • 32 , 32 .
  • , 888 (32 ), 565 (16 ). , , ... .

, , 16- , . . 16 ... , , .

: , , ( , 9-). , , , 32- , . , .

- , 9- , , 32 , , .

, , :

  • , , 32 .
  • , :
    • , . 16- ( , ), 32- .
    • , . 16-, 32- , .
    • API, , ( ) .
+3

, 16- RGB 565, , , 24- RGB 888 32- RGB 8888. , , , RGB 565, RGB 16- , RGB 8 .

AFAIK JPEG 16- (eiter 565 16 ).

0

Source: https://habr.com/ru/post/1760914/


All Articles