看板 NTPU-NSTAT93 關於我們 聯絡資訊
1個bit可以儲存兩種顏色 8個bit可以儲存256色 = 1個Bytes(位元組) 圖片大小計算 1 Bytes = 8 bit 以長640像素、寬480像素的圖檔為例 全彩 ( 24bit = 3Bytes ) 256 * 256 * 256 = 16,777,216 色 640 * 480 * 3Bytes = 921,600 Bytes = 900 Kb (921600/1024) 高彩 ( 16bit = 2Bytes ) 256 * 256 = 65,536 色 640 * 480 * 2Bytes = 614,400 Bytes = 600 Kb (614400/1024) 256色 ( 8bit = 1Bytes ) 640 * 480 * 1Bytes = 307,200 Bytes = 300 Kb (307200/1024) 16 色 ( 4bit = 0.5Bytes ) 640 * 480 * 0.5Bytes = 153,600 Bytes = 150 Kb 黑白圖片 ( 1bit = 0.125Bytes) 640 * 480 * 0.125Bytes = 38,400 Bytes = 37.5Kb 有錯推文說一下 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.229.134.53