View Full Version : Generating a GIF file with OpenGL graphic in VC++
06-08-2000, 04:49 AM
could somebody show me some code example about generating a gif file feom an OpenGL graphic in VC++
Thanks a lot.
06-08-2000, 08:32 AM
First, you have to license the GIF lz compression code from Unisys. I have a feeling you don't feel like spending the thousands of dollars to do this.
Use bitmaps or JPEG's, or better yet, use bitmaps and then use a 3rd party tool to convert it to a GIF.
06-08-2000, 09:12 AM
I guess you don't need the lisence until you wanna sell something http://www.opengl.org/discussion_boards/ubb/redface.gif) I mean, there will always be illegal information about gif format
06-08-2000, 01:45 PM
Being there, done that and got the scares.
If you plan to write GIF files in ANY form, the license fee is AT LEAST 50 US Cent per copy.
I adivce to use the PNG fileformat instead it is none lossy, supports an alpha channel (transperency) , and SHOULD be suppored by any 4.X browser (it is based on the ZIP compression, insread of the LZW compression).
The decission when it is nessary to pay the licence fee, can only be done by a lawyer.
Since I am not a laywer you should contact one, and ask him if it is legal for YOU and YOUR project to WRITE Gif files, otherwise be prepaired to be law suit.
At least what I am thinking,
I would still like to see an answer to this. Either actually generating a .gif or .jpg or .bmp file programatically from an OpenGL genereated scene/image.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.