Open Logo Hack Creator

Graphical user interface

 
Features: - Generates PDB files to use with Open Logo Hack :-)
- Multiple Bitmaps in one database file
- Black/White, Grayscale, 8 bit and 16 bit C O L O R Images
- Reads various bitmap formats (depends on installed JAVA VM)
- Reads Palm PRC and PDB files to extract bitmaps
- Normal and backlight preview mode
- Change of properties like screendepth, compression of Palm images
- Some image enhancement functions like gamma correction, image adjustment
- Database comment field
- Multi Language support (English/German)
- Open source
Start: To start the GUI use the command
java -classpath olh.jar olh.ui.GUI language
where language is "en" for english or "de" for german.
Unix users may use the script gui
Windows users may use the batch gui.bat
Please modify the script/batch file with your locale parameter
Screenshot: Creator Screenshot
Manual:
  • Use the menu "Logo DB/Load Images" or the button "plus" to import one or more images to the list. You can also load imgages from other .pdb or .prc files.
  • Select the name in the list to modify the properies.
  • Use checkbox "Resize" if you want to resize the image to fit exactly into the palm screen resolution (160x160 pixels).
  • Use checkbox "Center" if you want to center a smaller image.
  • Set a new name
  • Select the bitmap format. "1 Bit" for Black and White images, "2 Bit" for 4 Grayscales, "4 Bit" for 16 Grayscales, "8 Bit" for 256 Colors or "16 Bit" for "direct color" images depending on your hardware.
  • Set the compression type depending on your hardware.
    "Scanline" is supported since PalmOS2.0,
    "RLE" since PalmOS3.5
  • Use the gamma slider to get a nice picture
  • Use the button "cut" to remove a image from the list.
  • Use the buttons "up" and "down" to set the position of the image within the list.
  • Use the button "!" to edit the database comment
  • Use menu "File/Generate PDB" to create a logo database for use with the "Open Logo Hack".


List interface

This is a very simple interface. A list of filenames and properties. Create a file with content like this:
#*---------------------------------------------------------------------------*/
#* This is a simple inputfile to create a logo database                      */
#* Empty lines and lines starting with # are treated as comment              */
#* Format: (start each line at column 0)                                     */
#*                                                                           */
#* !Database info 1                                                          */
#* !Database info 2                                                          */
#* !Database info 3..n                                                       */
#*                                                                           */
#* Name in list                                                              */
#* Bits per pixel  1|2|4|8|16                                                */
#* Compressiontype None|Scanline|RLE                                         */
#* Filename                                                                  */
#*                                                                           */
#*---------------------------------------------------------------------------*/

!GNU Logos 
!(c) Free Software Foundation

TUX
1
Scanline
../doc/PenguinLogo.png

Dynamic Duo
1
Scanline
../doc/dynamicduo160.png
and start the listconverter using the command
java -classpath olh.jar olh.ui.fromList listname.txt logo.pdb to create a logo database for use with the "Open Logo Hack".

PilRC

To make a logo database with PilRC create a resource file and add the following resources:
VERSION "1.0"

STRINGTABLE ID 1000 "" "Pinguin" "Dynamic Duo" 
                       "Dynamic Duo Gray" 
                       "Dynamic Duo Color"

BITMAP       ID 3000 "PenguinLogo.xbm"  NOCOMPRESS
BITMAPGREY   ID 3001 "dynamicduo160.xbm"  COMPRESS
BITMAPGREY16 ID 3002 "gnu-and-penguin-grey16.pgm"  NOCOMPRESS
BITMAPCOLOR  ID 3003 "gnu-and-penguin-color.bmp"  NOCOMPRESS

ALERT ID 3000 INFORMATION  
BEGIN 
  TITLE "Logo DB Info" 
  MESSAGE "A small info" 
  BUTTONS "Thanks" 
END
A simple marker

A stringtable Resource with all names.

All bitmaps, starting with ID 3000.



An alert Resource with ID 3000 for database comment.

Use "pilrc" and "build-prc --type DATA --creator olHa" to create a logo database.

Back to mainpage
This page was updated on 24 Aug 2001