summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2011-08-02 01:14:14 -0400
committerEamon Walsh <ewalsh@tycho.nsa.gov>2011-08-02 01:14:14 -0400
commit8c800955b4fa8036ab32ab502ca3a45bfa9b7054 (patch)
tree5418ed182d2de31668f39b3165ef503979a68e2b
parentbe45e7dee241b54a425b97408952420c2de4aa25 (diff)
Update data directory documentation to reflect icon images.
-rw-r--r--data/README23
1 files changed, 13 insertions, 10 deletions
diff --git a/data/README b/data/README
index 5e47927..f41d404 100644
--- a/data/README
+++ b/data/README
@@ -1,16 +1,22 @@
-Linpicker Display Server reads in two image files that contain the backgrounds
-for the server screen and the "combined desktop" screen. They are named
-serverbg.rgb and desktopbg.rgb, respectively. These files are in the
+The font file decker.ttf in this directory is used by Linpicker Display Server
+to draw the security labels and other dynamic text.
+
+Linpicker Display Server image files that contain icons and the backgrounds
+for the server screen and the "combined desktop" screen. Icon images are
+named eventNNN.rgb where NNN is the event number. The background images are
+named serverbg.rgb and desktopbg.rgb, respectively. These files are in the
following format:
4-byte width, big endian
4-byte height, big endian
8bpp pixel data, RGB332 format, no padding (pitch = width)
-Using an image smaller than the expected operating resolution is recommended.
-The server will center the image on the screen and use the upper left hand
-pixel as the background to fill in the edges. If the image is larger than
-the current resolution, it will be cut off at the bottom and right hand sides.
+Icon images are 16 x 16 pixels in size.
+For the desktop backgrounds, using an image smaller than the expected operating
+resolution is recommended. The server will center the image on the screen and
+use the upper left hand pixel as the background to fill in the edges. If the
+image is larger than the current resolution, it will be cut off at the bottom
+and right hand sides.
To generate the images, the following workflow can be used:
@@ -30,6 +36,3 @@ To generate the images, the following workflow can be used:
5. Move the file to serverbg.rgb or desktopbg.rgb and test.
TODO: Just have Linpicker Display Server read some native format directly.
-
-The font file decker.ttf is used by Linpicker Display Server to draw the
-security labels and other dynamic text.