tags:

views:

57

answers:

2

Hi

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 execute my Perl script , the script should ask the path for image file and then the path for text file.

+3  A: 

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

alxp
+1  A: 

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

mobrule