Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

allocating/deallocating colors with GD module.

by Anonymous Monk
on Jun 24, 2013 at 17:07 UTC ( #1040456=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $x = 20;
    $white=$img->colorAllocate(255,$x*2,255);
    $img->line(0,0,50,50,$white);
    $white = $img->colorAllocate(255,$x*10,150);
    $img->line(50,50,150,250,$white);
    
  2. or download this
    $blue = $img->colorAllocate(0,0,25);
    $img->colorDeallocate($blue);
    $blue = $img->colorAllocate(0,0,25*$teller);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1040456]
Approved by moritz
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2014-09-21 19:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (175 votes), past polls