home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / sharewr / qpv / install.dat / GIF2PNG.DOC next >
Text File  |  1995-12-07  |  7KB  |  159 lines

  1.  
  2.   gif2png (version 0.6 beta)
  3.  
  4.   Copyright (C) 1995 Alexander Lehmann
  5.  
  6.   This software is provided 'as-is', without any express or implied
  7.   warranty.  In no event will the authors be held liable for any damages
  8.   arising from the use of this software.
  9.  
  10.   Permission is granted to anyone to use this software for any purpose,
  11.   including commercial applications (see below), and to alter it and
  12.   redistribute it freely, subject to the following restrictions:
  13.  
  14.   1. The origin of this software must not be misrepresented; you must not
  15.      claim that you wrote the original software. If you use this software
  16.      in a product, an acknowledgment in the product documentation would be
  17.      appreciated but is not required.
  18.   2. Altered source versions must be plainly marked as such, and must not be
  19.      misrepresented as being the original software.
  20.   3. This notice may not be removed or altered from any source distribution.
  21.   4. Binary only distributions of the software must include the file README
  22.      with the copyright statement. You are welcome to add a copyright
  23.      statement for your modifications and a contact address, though.
  24.  
  25.  
  26.   Note that this program uses the LZW decompression algorithm, which due to
  27.   patent claims probably requires you to license if you use the algorithm
  28.   in a commercial program or distribute this program on a for-profit basis.
  29.   (See http://www.unisys.com)
  30.  
  31.  
  32. Part of this program (gifread.c) carries the following copyright:
  33.  
  34. /* +-------------------------------------------------------------------+ */
  35. /* | Copyright 1990 - 1994, David Koblas. (koblas@netcom.com)          | */
  36. /* |   Permission to use, copy, modify, and distribute this software   | */
  37. /* |   and its documentation for any purpose and without fee is hereby | */
  38. /* |   granted, provided that the above copyright notice appear in all | */
  39. /* |   copies and that both that copyright notice and this permission  | */
  40. /* |   notice appear in supporting documentation.  This software is    | */
  41. /* |   provided "as is" without express or implied warranty.           | */
  42. /* +-------------------------------------------------------------------+ */
  43.  
  44. (This file was taken from the Moasic 2.5 distribution, so another copyright
  45. may apply, but I haven't received any reply from NCSA yet)
  46.  
  47. Part of the program (437_l1.c) was generated by trans100 written by Kosta
  48. Kostis <kosta@live.robin.de>.
  49. This package (great source for character conversion tables) is available as
  50. ftp://ftp.uni-erlangen.de:pub/doc/ISO/charsets/transXXX.tar.gz, where XXX is
  51. replaced by a version number.
  52.  
  53.  
  54. The png sample library is Copyright (c) 1995 Guy Eric Schalnat, Group 42, Inc.
  55. and is available from ftp://ftp.uu.net/graphics/png/src/libpng*.zip
  56.  
  57. The zlib compression library is Copyright (C) 1995 Jean-loup Gailly and Mark
  58. Adler and is available from ftp://ftp.uu.net/graphics/png/src/zlib-*.tar.gz
  59.  
  60.  
  61. The PNG specification is Copyright 1995, Thomas Boutell and is available
  62. from ftp://ftp.uu.net/graphics/png/documents. Obviously without the PNG effort
  63. this program wouldn't have been possible (or even conceivable).
  64.  
  65.  
  66. The Graphics Interchange Format(c) is the Copyright property of
  67. CompuServe Incorporated. GIF(sm) is a Service Mark property of
  68. CompuServe Incorporated.
  69.  
  70. The GIF spec is available from any SimTel mirror as msdos/gif/gif89a.zip,
  71. e.g. on ftp://oak.oakland.edu/SimTel
  72.  
  73.  
  74. OK, now that we got this ground covered, we switch to more `normal' tone:
  75.  
  76. If you are reading this, you have received gif2png either in source or
  77. precompiled binary form. If you want to compile the program yourself, see
  78. the file COMPILING. If you have received the program is precompiled form,
  79. the source code is available from
  80. ftp://ftp.uu.net/graphics/png/applications/gif2png*.zip
  81.  
  82. Note that this program is considered a beta version, it has performed
  83. satisfactory for me and is fairly complete, though there may be a few bits
  84. missing. However, with the diversity of computer systems out there, you
  85. may run into problems both when compiling and running the program.
  86. If you are converting your GIF collection, you should take care to verify
  87. that the conversion was successful with any PNG reading program, e.g. QPV.
  88. The delete option is currently disabled.
  89.  
  90. The usage of the program is as follows:
  91.  
  92. gif2png [ -dhi ] [file[.gif]] ...
  93.        -d delete source GIF files after successful conversion
  94.        -i create interlaced PNG files
  95.        -h create histogram chunks for color files
  96.        -p display progress of PNG writing in %
  97.        -r try to recover corrupt GIF files
  98.        -s do not write Software chunk
  99.        -t ignore Plain Text Extensions
  100.  
  101.        if no source files are listed, stdin is converted to noname.png
  102.        (may not work on systems that distinguish between text and binary mode)
  103.  
  104.  
  105. The program will try to preserve the information contained in a GIF file as
  106. close as possible, including comments, application data. Plain text extensions
  107. are currently not supported, however this will probably be fixed in a future
  108. version of the program. If a multi-image GIF is encountered, multiple PNG
  109. files are created, names file.png, file.p01, file.p02 etc.
  110.  
  111.  
  112. Alexander Lehmann <alex@hal.rhein-main.de>
  113.  
  114. ------------------------------------------------------------------------------
  115.  
  116. The following notes are from Oliver Fromme, author of QPV (not of gif2png).
  117.  
  118. I decided to put only the 286 version of gif2png.exe into the QPV/386
  119. distribution package.  The main reason is because it has less than half
  120. the size of the 386 (djgpp) version, and the QPV/386 distribution package
  121. is already pretty big.
  122.  
  123. Note that the 286 version works as well as the 386 version, it's just
  124. somewhat slower.  It is strongly recommended to use a disk cache (for
  125. example SmartDrv or HyperDsk) with write-back or staged-writing feature
  126. which greatly enhances the performance of gif2png.
  127.  
  128. However, if you want to use the faster 386 version, you can get it from
  129. a large number of Internet FTP sites and BBS systems.  If you are unable
  130. to find it, please contact the author (Alexander Lehmann) or me (Oliver
  131. Fromme).
  132.  
  133. Note that QPV/386 displays PNG files faster than GIF files.  However,
  134. interlaced PNG files are quite slow (I'll try to improve that), so I
  135. recommend not to use the -i option of gif2png, unless you really need to
  136. have interlaced PNG files.  Also note that interlaced PNG files don't
  137. compress as well as normal PNG files (but still better than GIF in most
  138. cases).
  139.  
  140. Some more words about compression:  I used gif2png on a very large number
  141. of GIF files (several thousands).  The size improvements ranged from 10
  142. to 40 percent, the average improvement was 18 percent (i.e. it saved me
  143. 18 Mb of 100 Mb).  I never experienced a lock-up or something like that;
  144. gif2png runs very stable.  All of the resulting images can be read by
  145. QPV/386 without any problems.
  146.  
  147. I encourage everybody to switch from GIF to the superior PNG format
  148. which has been announced by CompuServe as the official successor of GIF.
  149. Note that PNG does not try to replace JPEG, since JPEG is lossy, and
  150. PNG is not.  Therefore PNG can not compress as well as JPEG, but it is
  151. a hell of a lot better than GIF.  The number of programs that support
  152. the PNG format is growing amazingly fast, and the death of GIF is near.
  153.  
  154. Thank you for your kind attention.
  155.  
  156. Oliver Fromme <fromme@rz.tu-clausthal.de>
  157.  
  158. ------
  159.