home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 24 / CD_ASCQ_24_0995.iso / dos / graphic / qpv38617 / install.dat / GIF2PNG.DOC next >
Text File  |  1995-06-13  |  8KB  |  167 lines

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