home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / xicon10.zip / xicon10 / README < prev   
Text File  |  1994-01-04  |  4KB  |  98 lines

  1. README for XIcon version 1.0                                    04 Jan 1993
  2.  
  3. XIcon is a conversion program for translating icons between various
  4. formats.  It was written by Norman Walsh <norm@ora.com> using EMX/GCC.  
  5.  
  6. XIcon reads:
  7.  
  8.   Mac icon resources (raw resource forks)
  9.   Windows icon files
  10.   X11 XBM files
  11.   OS/2 v1.2 Icon files
  12.   OS/2 v2.0 Icon files
  13.  
  14. XIcon writes:
  15.  
  16.   OS/2 v1.2 Icon files
  17.   OS/2 v2.0 Icon files
  18.   Windows Icon files (well, sortof--it's mostly untested)
  19.   X11 XPM files
  20.  
  21. My appologies for the poor documentation and hideous command line options
  22. of this program.  For a brief summary of the available options, run XIcon
  23. without any parameters.  Here is a brief summary:
  24.  
  25.   xicon <options> input output
  26.  
  27. Will convert the icons in "input" into OS/2 1.2 icons in "output".
  28.  
  29.   GENERAL OPTIONS
  30.     -2  Write an OS/2 2.0 icon file instead
  31.     -w  Write a Windows icon file instead (largely untested)
  32.     -x  Write an XPM3 icon file instead
  33.   
  34.   OPTIONS FOR MAC RESOURCES
  35.     -p  Use Mac palette rather than OS/2 palette.
  36.     -I  Don't include ICN# resources (32x32x1 images)
  37.     -#  Don't include ics# resources (16x16x1 images)
  38.     -l  Don't include icl4 resources (32x32x4 images)
  39.     -s  Don't include ics4 resources (16x16x4 images)
  40.   
  41.   OPTIONS FOR XPM FILES
  42.     -a  Write all the icons.  Since XPM files can only contain a single icon,
  43.         xicon normally translates only the first icon found.  If -a is 
  44.         specified, the output filename is used as a pattern and "#.xpm" is
  45.         appended to it.  If the output file is "test", xicon will create
  46.         "test1.xpm", "test2.xpm", etc...
  47.   
  48.     -R  Specifies an alternate colors database file.  XPM files contain color
  49.         names.  In order to determine what names to use, xicon reads the
  50.         "rgb.txt" file in /usr/local/lib/X11.  If your rgb.txt file is 
  51.     somewhere else...  Note: if you don't use X11, you probably don't have 
  52.     an rgb.txt file, so one is supplied in this distribution.  Of course, 
  53.     if you don't have X11, you probably don't have much use for XPM files 
  54.     either...
  55.        
  56.   OPTIONS FOR XBM FILES 
  57.     -f  Set foreground color to 'C'.  
  58.     -b  Set background color to 'C'
  59.   
  60.         C=0..15 or 't' for transparent, or 'r' for reverse of background.
  61.   
  62.     -r  Don't reverse the bit order of the bytes in the file.
  63.     -m  Set mask file.  The mask file is ANDed with the background and the 
  64.         image.
  65.   
  66.   OPTIONS FOR MAC FILES ONLY
  67.     -p  Use Mac palette rather than OS/2 palette.
  68.     -I  Don't include ICN# resources (32x32x1 images)
  69.     -#  Don't include ics# resources (16x16x1 images)
  70.     -l  Don't include icl4 resources (32x32x4 images)
  71.     -s  Don't include ics4 resources (16x16x4 images)
  72.  
  73. COPYRIGHT
  74.  
  75.   XIcon is Copyright (C) 1993, 94 by Norman Walsh
  76.  
  77.   XIcon is distributed under the GNU Copyleft.  You are free to modify this
  78.   code, but you cant take credit for the parts I wrote.  See the file
  79.   "COPYING" for more information.  
  80.  
  81. NO WARRANTY
  82.  
  83.   THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 
  84.   APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 
  85.   HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 
  86.   OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 
  87.   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
  88.   PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 
  89.   IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 
  90.   ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
  91.   
  92. COMMENTS?
  93.   
  94.   Whatever you think of this program, drop me a note and tell me.  Some
  95.   future version of this program will no doubt be a PM application with
  96.   all kinds of bells and whistles.  But this one ain't it.
  97.  
  98.