Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 chilling in the Monastery: (11)
As of 2014-07-24 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (167 votes), past polls