Has anyone tried to write support for transparent GIFs in MASM32?
I've seen GIFLIB (http://www.madwizard.org/dl.php?file=GIFLIB1.0source), but the author specifcally states that he hasn't implimented functions like transparency yet.
Is there any other project out there dealing with decoding GIFS under MASM32?
I've seen GIFLIB (http://www.madwizard.org/dl.php?file=GIFLIB1.0source), but the author specifcally states that he hasn't implimented functions like transparency yet.
Is there any other project out there dealing with decoding GIFS under MASM32?
Transparancy info are in graphic control extension blocks if I remember correctly. My giflib currently just skips those blocks. You can try to modify the giflib source and add a handler for the blocks (www.wotsit.org search for GIF, read the docs from compuserve).
Another method is using the IPicture COM interface. Ernie has an example on his site. I think it supports transparent GIFs as well as JPEGs.
Thomas
Another method is using the IPicture COM interface. Ernie has an example on his site. I think it supports transparent GIFs as well as JPEGs.
Thomas
For anyone interested in the IPicture method of loading a pic, please bug me for the updated code, I had an even more direct API pointed out to me.
email is just fine.
email is just fine.