Sign in to follow this  

Animated GIF Encoding Library

This topic is 3626 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am looking to create animated GIF's now that the patent is expired, and I'm just wondering, before I storm through the gif89a documentation, if there's a programming library for encoding animated GIF's. I have found this mythical GIF89.DLL but have been probing it but haven't found much. I found it's typelib fingerprint but it doesn't seem to give me all that much. The gist of it
DECLARE_INTERFACE_(INTERFACE, IDispatch)
{
	HRESULT (STDMETHODCALLTYPE *QueryInterface)(IGif89a *This, GUID* riid, void** ppvObj);
	ULONG (STDMETHODCALLTYPE *AddRef)(IGif89a *This);
	ULONG (STDMETHODCALLTYPE *Release)(IGif89a *This);
	HRESULT (STDMETHODCALLTYPE *GetTypeInfoCount)(IGif89a *This, UINT* pctinfo);
	HRESULT (STDMETHODCALLTYPE *GetTypeInfo)(IGif89a *This, UINT itinfo, ULONG lcid, void** pptinfo);
	HRESULT (STDMETHODCALLTYPE *GetIDsOfNames)(IGif89a *This, GUID* riid, char** rgszNames, UINT cNames, ULONG lcid, LONG* rgdispid);
	HRESULT (STDMETHODCALLTYPE *Invoke)(IGif89a *This, LONG dispidMember, GUID* riid, ULONG lcid, USHORT wFlags, DISPPARAMS* pdispparams, VARIANT* pvarResult, EXCEPINFO* pexcepinfo, UINT* puArgErr);
	HRESULT (STDMETHODCALLTYPE *put_Enabled)(IGif89a *This, VARIANT_BOOL);
	HRESULT (STDMETHODCALLTYPE *get_Enabled)(IGif89a *This, VARIANT_BOOL *);
	HRESULT (STDMETHODCALLTYPE *get_Window)(IGif89a *This, LONG *);
	HRESULT (STDMETHODCALLTYPE *Play)(IGif89a *This);
	HRESULT (STDMETHODCALLTYPE *Stop)(IGif89a *This);
	HRESULT (STDMETHODCALLTYPE *get_AutoStart)(IGif89a *This, VARIANT_BOOL *);
	HRESULT (STDMETHODCALLTYPE *put_AutoStart)(IGif89a *This, VARIANT_BOOL);
	HRESULT (STDMETHODCALLTYPE *get_Speed)(IGif89a *This, LONG *);
	HRESULT (STDMETHODCALLTYPE *put_Speed)(IGif89a *This, LONG);
	HRESULT (STDMETHODCALLTYPE *get_Glass)(IGif89a *This, VARIANT_BOOL *);
	HRESULT (STDMETHODCALLTYPE *put_Glass)(IGif89a *This, VARIANT_BOOL);
	HRESULT (STDMETHODCALLTYPE *put_AutoSize)(IGif89a *This, VARIANT_BOOL);
	HRESULT (STDMETHODCALLTYPE *get_AutoSize)(IGif89a *This, VARIANT_BOOL *);
	HRESULT (STDMETHODCALLTYPE *get_Embed)(IGif89a *This, VARIANT_BOOL *);
	HRESULT (STDMETHODCALLTYPE *put_Embed)(IGif89a *This, VARIANT_BOOL);
	HRESULT (STDMETHODCALLTYPE *get_FileName)(IGif89a *This, BSTR *);
	HRESULT (STDMETHODCALLTYPE *put_FileName)(IGif89a *This, BSTR);
	HRESULT (STDMETHODCALLTYPE *AboutBox)(IGif89a *This);
};
Any alternatives, or other ways to probe the GIF89.DLL library? I'm thinking the GIF89.DLL doesn't have anything to offer since it was patented back in 89, and they wouldn't want the technology to encode it to be readily available for me to find

Share this post


Link to post
Share on other sites
I don't know how intent you are on using gif89.dll, but you can try GifLib
Probably be easier.

I did find this example of using gif89.dll, but I think the code is in VB.


Hope that helps.

[Edited by - prh99 on January 8, 2008 9:00:24 PM]

Share this post


Link to post
Share on other sites

This topic is 3626 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this