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.
精彩评论