File:VGA palette2.png

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

VGA_palette2.png(512 × 512 pixels, file size: 5 KB, MIME type: image/png)

Captions

Captions

Add a one-line explanation of what this file represents

Summary

[edit]
Description
English: The VGA palette.
Date
Source See source code below
Author User:Psychonaut
Permission
(Reusing this file)
public domain

Source code

[edit]
#!/bin/bash
# (requires ImageMagick)
echo 'P3 512 512 63' >vga.ppm
for r in {0..63}
do
  for g in {0..63}
  do
    for b in {0..63}
    do
      echo $r $g $b >>vga.ppm
    done
  done
done
convert vga.ppm vga.png

Licensing

[edit]
Public domain This work has been released into the public domain by its author, Psychonaut. This applies worldwide.

In some countries this may not be legally possible; if so:
Psychonaut grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

Original upload log

[edit]

Transferred from en.wikipedia to Commons using For the Common Good.

The original description page was here. All following user names refer to en.wikipedia.
Date/Time Dimensions User Comment
23:13, 20 April 2006 512 × 512 (5,157 bytes) w:en:Psychonaut (talk | contribs) The [[VGA]] palette. ==Source code== #!/bin/bash # (requires ImageMagick) echo 'P3 512 512 63' >vga.ppm for r in {0..63} do for g in {0..63} do for b in {0..63} do echo $r $g $b >>vga.ppm done done done convert vga.p

File history

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

Date/TimeThumbnailDimensionsUserComment
current17:30, 26 May 2019Thumbnail for version as of 17:30, 26 May 2019512 × 512 (5 KB)Ser Amantio di Nicolao (talk | contribs)Transferred from en.wikipedia: see original upload log above

There are no pages that use this file.

Metadata