Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
好的,
我正在寻找的是一个可以自动将日期添加到 .gif 的脚本,我可以每天将其作为 cron 作业运行。我不太了解 perl,但似乎 Perl & Gimp 可能是完成工作的一种方式。谁能指出我正确的方向,以便我可以创建这样的脚本
谢谢!
我曾经使用一个 shell 脚本和ImageMagick 的转换程序 -draw选项实现了类似的东西。
-draw
对于更高级的方法,我会使用 Python 和PIL,这应该比尝试编写 Gimp 脚本更容易使用。
另一种选择是带有 gd 扩展名的 php。在这里查看imagestring和 imagegif的手册页。