readme.txt

来自「游戏开发数据结构Data Structures for Game Program」· 文本 代码 · 共 28 行

TXT
28
字号
===============================================================================
Data Structures For Game Programmers
Ron Penton
Graphical Demonstration 21-1
===============================================================================
This demonstration shows you how well RLE compression works on BMP files

- Enter the name of the bmp in the Filename Box
The included BMP's are:
    - a.bmp             - A small letter 'A', monochrome. Good compression.
    - aa.bmp            - A small anti-aliased letter 'A'. Slightly worse compression.
    - biga.bmp          - A big letter 'A', monochrome. Great Compression.
    - bigaa.bmp         - A big letter 'A', anti-aliased. Slightly worse compression.
    - blank.bmp         - A blank bitmap. Best Compression, ever.
    - marble.bmp        - A complex bitmap, awful compression.
    - stone.bmp         - A complex bitmap, awful compression.
    
- The Filesize box shows the size in bytes of the BMP file
- The RLE Size box shows the number of runs required to compress the file
- The byte size box shows the number of bytes required to store the RLE.

There are four length size options:
8 bit - Each run can store up to 255 values, and takes up 1 byte + color information.
16 bit - Each run can store up to 64k, values, and takes up 2 bytes + color information.
24 bit - Each run can store up to 16M values, and takes up 3 bytes + color information.
32 bit - Each run can store up to 4B values, and takes up 4 bytes + color information.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?