home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / grafik / giflib11 / readme.1st < prev    next >
Encoding:
Text File  |  1990-11-13  |  3.3 KB  |  56 lines

  1. hi,
  2.     This is a package I wrote so that images can be generated as easy as
  3. possible using GIF format. I needed such routines, and as I did not find
  4. anything like this (at list not free) I decided to write one...
  5.     This package is FREE for non commercial usage. You can do whatever
  6. you like with it provided you do not charge anything for it or for a program
  7. that uses it. More then that, if you release the source for your program, the
  8. source of this package you used should also be included (with my name on
  9. it...). You may NOT charge money for the sources as well, in that case.
  10.     I am releasing the sources as lots of peoples expressed interest in
  11. such a beast, on usenet, in the last few month.
  12.     I will NOT be hold responsible for any damage of any kind it may
  13. cause you. Use it at your own risk.
  14.     I do not have color system, so my Hercules card displayed lots of
  15. dithered images (using gif2herc utility) in the last few weeks, but obviously
  16. this is not enough. I will be very happy to get any remark on this package.
  17. Bugs or even bug fixes (do not send my diff's as I will probably change the
  18. sources after they will be released, unless they are really simple), or new
  19. utilities (please try to follow my coding standards) are all welcome.
  20.     In order to compile it, please read the file COMPILE.ME. I uses TC 2.0
  21. so other compiler owners are on their own. The package has been ported to unix
  22. machine on various platforms (see compile.me).
  23.     You will find .\doc with documents on all the utilities and the library
  24. itself.
  25.     Only one of the images on .\pic was actually generated by me -
  26. solid2.gif, which is binary image rendered using a solid modeller I have
  27. developed named IRIT. The other two were released to usenet few month ago.
  28. I do not think so, but let me know if I violate anything here.
  29.     Few final remarks. While 'playing' with the GIF format, I found few
  30. holes in it, or in some of its implementations:
  31. 1. There is no explicit way one can specify comments in images, which can be
  32.    extremely useful. I used one of the extensions block to implements that.
  33.    The problem is that some of the gif viewer I tested (no names) died on
  34.    extension block (!?), so I decided not to use them in any of the utilities
  35.    although the library do support it, and if you are going to use only it
  36.    you can safely use the comments calls. Any better solution?
  37. 2. Some viewer even ignore the fact that one GIF file can hold few images.
  38.    I consider this property extremely useful (some of the utilities actually
  39.    manipulate exactly that - gifasm for example), and fully support it. I
  40.    think that a failure of a view program (or any GIF manipulator) here,
  41.    should be considered a bug.
  42. 3. One problem in the GIF format, I dont have simple solution to: it is the
  43.    limit of only 8bits per color. The importance of bigger width, is not only
  44.    for higher image quality. One can save other pixel properties in addition,
  45.    such as coverage (alpha channel as it is called in the rle utah raster
  46.    toolkit). The only solution I can thing of, is to generate few GIF files
  47.    in parallel - one for the pixel color, and the other for coverage. The
  48.    coverage property is extremely useful for utilities such as gifbg - back
  49.    ground color generator, and which can be composed with the image using
  50.    gifcomb.
  51.  
  52. have fun
  53.  
  54. Gershon
  55. gershon@cs.utah.edu
  56.