Newsgroups: comp.binaries.ibm.pc.d Path: utzoo!utgpu!watserv1!watmath!att!cbnewsc!vgopal From: vgopal@cbnewsc.att.com (venu.p.gopal) Subject: Re: Looking for FAST(!!) gif library Organization: AT&T Bell Laboratories Date: Thu, 18 Oct 90 18:38:52 GMT Message-ID: <1990Oct18.183852.28768@cbnewsc.att.com> Summary: Sub-program References: <165@prodix.liu.se> Lines: 32 In article <165@prodix.liu.se>, jian@prodix.liu.se (Jian Hu) writes: ! I`m looking for source code or microsoft compatible libraries of fast ! routines that can convert raw image data to gif format and vice versa. ! To be more specific, it`s the compression/decompression functions that ! I need. I`m doing a project on picture processing and we sometimes need ! to save over a hundred pictures a day on disk. I`d like to compress them ! as they are received to save disk space. The conversion speed should be within ! 5-10 seconds / picture. I guess at least part of the code should be written ! in assembly. Any body has any ideas where I can find such a package? ! Any pointers, PD or commersial, would be deeply appreciated. ! ! For your infomation, I`m using a 6MHz AT with a 26ms Micropolis 1375 HD ! (140MB). The pictures are 512x512x8 bits large and are stored in the ! frame buffer of a PCVISION frame grabber. You might be able to use an off-the-shelf program such as VUIMAGE (available from SIMTEL) to do the decompression and display - simply execute it as sub-program from your program. Since the program detects the type of display, choose an appropriate video mode, and also, if desired, scale the picture to the full screen size automatically, this might have some advantage compared to writing your own. As far doing the compression, don't know any program that will take the image out of the frame buffer and convert it directly to a GIF file, but this should be easy enough for the many X-to-GIF converters out there, after the proper modfifications. TBG, for example, converted a 640x579 TIFF image to GIF in about 10 seconds on a 386SX, 16 Mhz processor. Hope this might help. Venu P. Gopal UUCP: ..!att!cbnewsc!vgopal Internet: vgopal@cbnewsc.att.com