1 / 11

Understanding Color Modes: Indexed Color vs. Direct Color in BMP

Learn the differences between Indexed Color and Direct Color in BMP images. Explore how pixel colors are described and differentiate the color pallets. Discover the file size implications of using Direct Color over Indexed Color.

Download Presentation

Understanding Color Modes: Indexed Color vs. Direct Color in BMP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Indexed Color vs. Direct Color(in BMP) TYWU

  2. Direct Color • No Pallet 32*32 Image

  3. Direct Color • 3 Bytes Describes a Pixel White Block 3 Rows * 32 Columns * 3 RGB = 288 Bytes

  4. Indexed Color • Pallet with 256 Colors

  5. Indexed Color • Illustration for White • 215 = 0xD7

  6. Indexed Color • A White Block 3 Rows * 32 Columns * 1 Index No = 96 Bytes

  7. Indexed Color • Index of Red • 180 = 0xB4

  8. Indexed Color • A Red Block

  9. Indexed Color • Pallet • Index 1, R=0, G=0, B=51=0x33 • Index 2, R=0, G=0, B=102=0x66

  10. Indexed Color • Pallet • A color uses 4 Bytes Color 0, Color 1, Color 2, Color 3

  11. File Size • Direct Color > Indexed Color

More Related