开发者

How can I add text to an image with Perl?

开发者 https://www.devze.com 2022-12-16 12:07 出处:网络
I have got an image file which has 3 colors as background. I have also got a text file . I need to write a Perl script which copies text file on to the specific background color of the image file.

I have got an image file which has 3 colors as background. I have also got a text file . I need to write a Perl script which copies text file on to the specific background color of the image file.

When I exec开发者_Python百科ute my Perl script , the script should ask the path for image file and then the path for text file.


This sounds like a job for ImageMagick, this page has some examples that should help you get started.


I use GD for this sort of work. Image::Magick will also do the trick.

0

精彩评论

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