summaryrefslogtreecommitdiff
path: root/apps/examples/README.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-21 16:55:42 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-07-21 16:55:42 +0000
commitb913d7a8207713d18c555c388e24854f141206ed (patch)
tree0c9855dd254697ef4da1920aea38cbdf10058d86 /apps/examples/README.txt
parentfd404ba0f3233764865bb8ad54e8f49e6ccfffcf (diff)
downloadpx4-nuttx-b913d7a8207713d18c555c388e24854f141206ed.tar.gz
px4-nuttx-b913d7a8207713d18c555c388e24854f141206ed.tar.bz2
px4-nuttx-b913d7a8207713d18c555c388e24854f141206ed.zip
Add greyscale image
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3809 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/examples/README.txt')
-rw-r--r--apps/examples/README.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/apps/examples/README.txt b/apps/examples/README.txt
index f1e19ff85..d234a5549 100644
--- a/apps/examples/README.txt
+++ b/apps/examples/README.txt
@@ -343,8 +343,8 @@ examples/nximage
^^^^^^^^^^^^^^^^
This is a simple example that just puts the NuttX logo image in the center
- of the display. This only works for RGB23 (888), RGB16 (656), and RGB8 (332
- for now.
+ of the display. This only works for RGB23 (888), RGB16 (656), RGB8 (332),
+ and 8-bit greyscale for now.
CONFIG_EXAMPLES_NXIMAGE_BUILTIN -- Build the NXIMAGE example as a "built-in"
that can be executed from the NSH command line
@@ -362,6 +362,7 @@ examples/nximage
CONFIG_EXAMPLES_NXIMAGE_YSCALE2p0 -- The logo image height is 160 rows.
One of these may be defined to rescale the image vertically by .5, 1.5,
or 2.0.
+ CONFIG_EXAMPLES_NXIMAGE_GREYSCALE -- Grey scale image. Default: RGB.
CONFIG_EXAMPLES_NXIMAGE_EXTERNINIT - The driver for the graphics device on
this platform requires some unusual initialization. This is the
for, for example, SPI LCD/OLED devices. If this configuration is
@@ -380,8 +381,8 @@ examples/nximage
b. I added som C logic to palette-ize the RGB image in the GIMP .c file
c. Then I add some simple run-length encoding to palette-ized image.
- NOTE: As of this writing, not all of the scaling options and combinations
- have been tested.
+ NOTE: As of this writing, most of the pixel depth, scaling options, and
+ combinations thereof have not been tested.
examples/nxtext
^^^^^^^^^^^^^^^