in reply to Re^2: Adding text to an image for printing
in thread Adding text to an image for printing
Check out this: http://search.cpan.org/~lds/GD-2.56/lib/GD.pm
Using GD one can create empty canvas and then draw what you want and save in many different formats when ready.
Using GD even you can insert a small marker image to a given position into a big picture.
$myImage = new GD::Image(100,100); ... various drawing stuff ... $srcImage = new GD::Image(50,50); ... more drawing stuff ... # copy a 25x25 pixel region from $srcImage to # the rectangle starting at (10,10) in $myImage $myImage->copy($srcImage,10,10,0,0,25,25);
Regards
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Adding text to an image for printing
by tel2 (Pilgrim) on Nov 30, 2014 at 20:35 UTC | |
by pme (Monsignor) on Dec 04, 2014 at 07:24 UTC |