nuttx-apps/tools
Gregory Nutt dee7f14b49 Squashed commit of the following:
apps/system/nxplayer:  Fix some logical errors from recent comments.  They broke the build of the nxplayer as a library vs. a task.  apps/graphics/nxglyphs:  Fix yet more namespace problems.

    graphics/nxwm/src/nxwm_main.cxx:  Move from graphics/nxwidgets/UnitTests/nxwm/nxwm_main.cxx.

    apps/graphicx/nx*:  Fixes numerous build issues mostly associated with include paths and namespaces.

    apps/nxglyphs:  Decouple (mostly) from nxwidgets and nxwm so that they can be used elsewhere.  Creates include/graphics/nxglyphs.h

    apps/graphics/nxglyphs:  Put all NxWidgets and NxWM glyphs into a common directory where they can eventually be shared.  Not very sharable at the moment due to header file entanglements.  Need a separate nxglyps.hxx header file.

    Separate nxwidets and nxwm into separate directories.  Remove old, common NxWidgets directory.
2019-04-04 18:53:29 -06:00
..
bitmap_converter.py Squashed commit of the following: 2019-04-04 18:53:29 -06:00
check-hash.sh tools/check-hash.sh: Add a tool check hash on downloaded packages. 2019-02-18 07:24:55 -06:00
define.bat apps/tools: Correct permissions on scripts. Need to be executable. 2018-08-24 16:54:39 -06:00
define.sh apps/tools: Correct permissions on scripts. Need to be executable. 2018-08-24 16:54:39 -06:00
incdir.sh apps/Make.defs: Improve the symtab target. tools/mksymtab.sh: Fix a typo. 2018-07-17 11:42:23 -06:00
mkimport.sh Add the .config file to the export package 2014-09-05 07:37:44 -06:00
mkkconfig.bat Windows build fixes: tools/mkkconfig.bat - switch APPSDIR path to use forward slashes for kconfig-frontends. interpreters/ficl - Reorder some targets that causes GNUwin32 make to behave badly. 2017-07-06 14:07:17 -06:00
mkkconfig.sh Recursive Kconfig autogeneration 2016-06-02 16:34:00 +02:00
mkromfsimg.sh apps/: Fix build break in case sama5d4-ek/elf configuration. Also fix a patch problem in mkromfsimg.h. 2018-09-04 08:05:31 -06:00
mksymtab.sh apps/tools/mksymtab.sh: 'export LC_ALL=C' to get the traditional sort order 2019-01-27 07:42:49 -06:00
README.txt Squashed commit of the following: 2019-04-04 18:53:29 -06:00

NxWidgets/tools README File
===========================

bitmap_converter.py
-------------------

  This script converts from any image type supported by Python imaging library to
  the RLE-encoded format used by NxWidgets.

  RLE (Run Length Length) is a very simply encoding that compress quite well
  with certain kinds of images:  Images that that have many pixels of the
  same color adjacent on a row (like simple graphics).  It does not work well
  with photographic images.

  But even simple graphics may not encode compactly if, for example, they have
  been resized.  Resizing an image can create hundreds of unique colors that
  may differ by only a bit or two in the RGB representation.  This "color
  smear" is the result of pixel interpolation (and might be eliminated if
  your graphics software supports resizing via pixel replication instead of
  interpolation).

  When a simple graphics image does not encode well, the symptom is that
  the resulting RLE data structures are quite large.  The pallette structure,
  in particular, may have hundreds of colors in it.  There is a way to fix
  the graphic image in this case.  Here is what I do (in fact, I do this
  on all images prior to conversion just to be certain):

  - Open the original image in GIMP.
  - Select the option to select the number of colors in the image.
  - Pick the smallest number of colors that will represent the image
    faithfully.  For most simple graphic images this might be as few as 6
    or 8 colors.
  - Save the image as PNG or other lossless format (NOT jpeg).
  - Then generate the image.