🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.windows.ms.programmer
2 messages
2 total messages Started by sampson david 58163 Wed, 31 Oct 1990 17:49
Displaying GIF images in windows
#508
Author: sampson david 58163
Date: Wed, 31 Oct 1990 17:49
32 lines
1305 bytes
I was playing around with the WinGIF program last night.  I don't
recall seeing anything in the SDK manuals about importing images in
this file format.  Does anybody know how to bridge between bitmaps
(bmp format) and the GIF file format?

dfs
--

I I               n
------------------------

I I            n
------------------------

I I         n
------------------------

I I     n
------------------------


It takes alot of patience to 
train a turtle.
   /
I I n  
------------------------

David Sampson                                         Harris Corporation
dsampson@x102a.ess.harris.com                   Gov't Aerospace Systems Divison
uunet!x102a!dsampson                                  Melbourne, Florida

-------------------------------------------------------------------------------
Re: Displaying GIF images in windows
#509
Author: In Sik Rhee
Date: Wed, 31 Oct 1990 19:47
27 lines
2033 bytes
In article <DSAMPSON.90Oct31124927@x102a.harris-atd.com> dsampson@x102a.harris-atd.com (sampson david 58163) writes:
>I was playing around with the WinGIF program last night.  I don't
>recall seeing anything in the SDK manuals about importing images in
>this file format.  Does anybody know how to bridge between bitmaps
>(bmp format) and the GIF file format?
>

Well, I hope I can answer your question.  At this point, I'm 99% finished 
with my GIF->BMP->METAFILE filter (PageMaker Standard, so it's compatible
with Word for Windows, PageMaker, etc etc)

SDK does not have ANY support whatsoever for a GIF.  you, the super-duper
programmer-from-hell, must undertake the task...  it's not so bad, once you
get over hacking the LZW to make it work just right...  basically, what
you have to do is a GIF->BMP  , and just download the GIF specs from 
compuserve, and you're pretty much all set... just remember to use logical
palettes and everything...

As it stands, my program will allow the user to import a 256-color .GIF 
file (I usually try 640x480 or 320x200, but any imagesize should work),
and then proceed to scale the thing, or zoom in on a portion...  (scale
only refers to stretch/shrink along the x/y axis, no skewing, etc (yet!))

Unfortunately, it's commercial code, so I cant give it out freely...

but, if you have any specific questions about DIB's (Device Independent
Bitmaps) or GIF format specs, I'd be happy to answer them for you...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads