Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Overlay text on images without Image::Magick

by Anonymous Monk
on Jan 13, 2015 at 19:44 UTC ( [id://1113139]=note: print w/replies, xml ) Need Help??


in reply to Re: Overlay text on images without Image::Magick
in thread Overlay text on images without Image::Magick

Found it! From the archives (and tested):

use Image::Magick; my $image = Image::Magick->new; $image->Read("/tmp/test_in.jpg"); $image->Annotate( text=>"Hello, World!", font=>'sans-serif', fill=>'black', antialias=>'true', pointsize=>16, x=>10, y=>30, ); $image->Write("/tmp/test_out.png");

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1113139]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-21 15:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found