Skip to main content
  • 484 Accesses

Abstract

A Windows 98 palette is used to hold colour information. However, a palette is typically only required whenever the range of available colours is limited — with enough bits per pixel a computer image can encode its colour information directly into the image bits and no palette is required. Nowadays computer displays provide a variety of colour modes, some that work with a palette and some that do not — to achieve the best performance a graphics application should match the colour format of its bitmaps to that of the display. The following palette-related topics are discussed here:

  • computer display modes and colour formats

  • logical and system palettes

  • handling Windows 98 palette messages

  • the PALETTE class

  • associating a palette with a bitmap

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 16.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 1998 Springer-Verlag London Limited

About this chapter

Cite this chapter

Welmsley, M. (1998). Palettes. In: Graphics Programming in C++. Springer, London. https://doi.org/10.1007/978-1-4471-0905-1_6

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-0905-1_6

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-4471-1231-0

  • Online ISBN: 978-1-4471-0905-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics