Discuss code in https://github.com/vcforge/WriteAnimatedGIF.git

专注gif动画格式研究

Discuss code in https://github.com/vcforge/WriteAnimatedGIF.git

帖子rbqvtstfc » 2015-05-08 10:08

这是一个创建3个圆移动的动画gif的c 项目图片
GTalkabout 写道:Click to open by GTalkabout: 2e747030-f527-11e4-96d6-1aee658114e8
头像
rbqvtstfc
 
帖子: 3
注册: 2015-04-02 6:32

Discuss code at line 57 in Main.cpp

帖子rbqvtstfc » 2015-05-09 1:16

动画的每一帧是像素数组,每个像素3个字节,没有其它头信息或者调色板等等
GTalkabout 写道:Click to open by GTalkabout: eb2de51e-f5a5-11e4-a93f-1aee658114e8
图片
头像
rbqvtstfc
 
帖子: 3
注册: 2015-04-02 6:32

Discuss code at line 61 in Main.cpp

帖子rbqvtstfc » 2015-05-09 1:20

动画没有时序,通过延时参数设置这一帧和上一帧的时差
GTalkabout 写道:Click to open by GTalkabout: 90c1700f-f5a6-11e4-ac29-1aee658114e8
图片
头像
rbqvtstfc
 
帖子: 3
注册: 2015-04-02 6:32


回到 rbqvtstfc 的项目

在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客