Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Adding a watermark to an image with GD::Image

by Fletch (Bishop)
on Jan 06, 2021 at 22:24 UTC ( [id://11126479]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $img = Imager->new->open( file => q{myfile.jpg} );
    my $colors = $img->getcolorusagehash();
    my $color_black = pack( q{CCC}, 0, 0, 0 );
    say qq{True black used }, $colors->{$color_black}, qq{ times.}
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2024-04-26 02:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found