博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【Delphi】GIF 动画建立
阅读量:7180 次
发布时间:2019-06-29

本文共 519 字,大约阅读时间需要 1 分钟。

var Gif:TGifImage;begin    //Setting the delay for each frame    TGIFGraphicControlExtension.Create(Gif.Add(image1.Picture.Bitmap)).Delay := 300;    TGIFGraphicControlExtension.Create(Gif.Add(image2.Picture.Bitmap)).Delay := 300;    TGIFGraphicControlExtension.Create(Gif.Add(image3.Picture.Bitmap)).Delay := 300;    //Adding loop extension in the first frame (0 = forever)    TGIFAppExtNSLoop.Create(Gif.Images.Frames[0]).Loops := 0;    Gif.SaveToFile('gif.gif');end;

 

转载于:https://www.cnblogs.com/yangyxd/p/5146759.html

你可能感兴趣的文章
Codeforces 437C The Child and Toy(贪心)
查看>>
蓝桥杯 大臣的旅费
查看>>
hql中不能写count(1)能够写count(a.id)
查看>>
Atitit。Time base gc 垃圾 资源 收集的原理与设计
查看>>
还是态度问题
查看>>
判断记录是否存在的通用方法
查看>>
sift算法c语言实现
查看>>
报表中的Excel操作之Aspose.Cells(Excel模板)
查看>>
(二)STM32中中断优先级理解
查看>>
gulp教程之gulp-imagemin
查看>>
C#中字典集合HashTable、Dictionary、ConcurrentDictionary三者区别
查看>>
【C语言入门教程】3.3 条件控制语句
查看>>
CLGeocoder Error Domain=kCLErrorDomain Code=2
查看>>
Spring中的@scope注解
查看>>
M2M
查看>>
Spring MVC的web.xml配置详解(转)
查看>>
iptables禁止外网访问redis server服务默认端口6379的命令
查看>>
硅谷新闻9--图片三级缓存
查看>>
洛谷P1220关路灯[区间DP 提前计算代价]
查看>>
登录验证过滤器
查看>>