[不指定 2005/11/04 09:46 | by turbozv ]
参考文章: http://www.codeproject.com/staticctrl/gifanimation.asp

作者自己做的decode,封装的类简介明了,比较不错。


使用方法很简单:
初始化:
C_ImageSet AnimGif;int totalImage = AnimGif.LoadGIF(\"XXXX.gif\");
显示:
C_Image* & current = AnimGif.img[CurrentImage];
current->GDIPaint(hdc, current->xPos,current->yPos);


下载! AnimationGif_src.zip

License也非常的合理:
// Copyright ?2000, Juan Soulie
//
// Permission to use, copy, modify, distribute and sell this software or any
// part thereof and/or its documentation for any purpose is granted without fee
// provided that the above copyright notice and this permission notice appear
// in all copies.
//
// This software is provided \"as is\" without express or implied warranty of
// any kind. The author shall have no liability with respect to the
// infringement of copyrights or patents that any modification to the content
// of this file or this file itself may incur.
分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]