From b913d7a8207713d18c555c388e24854f141206ed Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 21 Jul 2011 16:55:42 +0000 Subject: Add greyscale image git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3809 42af7a65-404d-4744-a932-0658087f49c3 --- apps/examples/README.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'apps/examples/README.txt') 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 ^^^^^^^^^^^^^^^ -- cgit v1.2.3