File:IBM16Palette-48bit.png

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

IBM16Palette-48bit.png (512 × 576 pixels, file size: 10 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents
File:IBM16 Palette-en.svg is a vector version of this file. It should be used in place of this PNG file when not inferior.

File:IBM16Palette-48bit.png → File:IBM16 Palette-en.svg

For more information, see Help:SVG.

In other languages
Alemannisch  Bahasa Indonesia  Bahasa Melayu  British English  català  čeština  dansk  Deutsch  eesti  English  español  Esperanto  euskara  français  Frysk  galego  hrvatski  Ido  italiano  lietuvių  magyar  Nederlands  norsk bokmål  norsk nynorsk  occitan  Plattdüütsch  polski  português  português do Brasil  română  Scots  sicilianu  slovenčina  slovenščina  suomi  svenska  Tiếng Việt  Türkçe  vèneto  Ελληνικά  беларуская (тарашкевіца)  български  македонски  нохчийн  русский  српски / srpski  татарча/tatarça  українська  ქართული  հայերեն  বাংলা  தமிழ்  മലയാളം  ไทย  한국어  日本語  简体中文  繁體中文  עברית  العربية  فارسی  +/−
New SVG image

Summary

[edit]

This is a 48-bit PNG image describing the MC6845 video controller's palette, used in the IBM PC's CGA (text mode) and EGA (two graphics modes). The colours used for the palette squares are precise 16-bit values of the MC6845's range: 0, (2↑n−1)∕3, (2↑n−1)∕3×2, 2↑n−1 (effectively 0000, 5555, AAAA and FFFF). The colours used for the rest of the objects are full red, green and blue, and 75% grey (C000 for all of R, G and B).

Making

[edit]

I wrote a Unicode text file first—the swatches are the character U+25A0 (black square); then I pasted into Wordpad and set the font to Lucida Console. Then I made a 24-bit BMP image and filled the colours in. After that, I saved as an ASCII PPM file, and then did a search-and-replace to upsample the values from 8 bits per channel to 16 bits per channel. I then used pnmtopng (one of the GNU pngutils) with the option -force to make an exact conversion to PNG, and then optimised it with pngcrush (another one of the pngutils).

   I R G B
 ■ 0 0 0 0 — Black
 ■ 0 0 0 1 — Blue
 ■ 0 0 1 0 — Green
 ■ 0 0 1 1 — Cyan
 ■ 0 1 0 0 — Red
 ■ 0 1 0 1 — Magenta
 ■ 0 1 1 0 — Brown
 ■ 0 1 1 1 — Grey
 ■ 1 0 0 0 — Dark Grey
 ■ 1 0 0 1 — Light Blue
 ■ 1 0 1 0 — Light Green
 ■ 1 0 1 1 — Light Cyan
 ■ 1 1 0 0 — Light Red
 ■ 1 1 0 1 — Light Magenta
 ■ 1 1 1 0 — Yellow
 ■ 1 1 1 1 — White

Licensing

[edit]
I, the copyright holder of this work, hereby publish it under the following licenses:
GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This licensing tag was added to this file as part of the GFDL licensing update.
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current22:56, 12 March 2006Thumbnail for version as of 22:56, 12 March 2006512 × 576 (10 KB)Shlomital~commonswiki (talk | contribs)added sRGB 2 (rendering intent: saturation) chunk
20:48, 3 March 2006Thumbnail for version as of 20:48, 3 March 2006512 × 576 (10 KB)Shlomital~commonswiki (talk | contribs)48-bit PNG image of the IBM16 palette. Created and uploaded by Shlomi Tal.

There are no pages that use this file.

File usage on other wikis

The following other wikis use this file: