开发者

Automatically add date to .gif

开发者 https://www.devze.com 2022-12-11 11:15 出处:网络
Alright, What Im looking for is a script that would automatically add a date to a .gif, which I can run daily as a cron job. I don\'t kno开发者_StackOverfloww perl very well, but It seems that Perl &

Alright,

What Im looking for is a script that would automatically add a date to a .gif, which I can run daily as a cron job. I don't kno开发者_StackOverfloww perl very well, but It seems that Perl & Gimp might be a way to get the job done. Can anyone point me in the right direction so I can create such a script

thanks!


I once implemented something similar using just a shell script and the -draw option to ImageMagick's convert program.

For a slightly more advanced approach, I'd use Python and PIL, which should be a lot easier to work with than trying to script the Gimp.


Another option is php with the gd extension. Have a look at the manual pages for imagestring here and imagegif here.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号