Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: GD colorAllocate not changing colour -- working example

by Discipulus (Canon)
on May 16, 2021 at 19:05 UTC ( [id://11132676]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    perl -MGD -e"$im = new GD::Image(100,100);open $fh,'>','out.jpg';binmo
    +de $f; print $fh $im->jpeg"
    
  2. or download this
    use strict;
    use warnings;
    ...
    binmode $fh_both; 
    print $fh_both $im_gray->jpeg;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-24 07:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found