Web Analytics Made Easy -
StatCounter no title - CodingForum

Announcement

Collapse
No announcement yet.

no title

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • no title

    no content
    Last edited by lamp4; Apr 10, 2009, 06:09 AM.

  • #2
    Did you even read up on GD to see if there were any pre-existent scripts or tutorials on this???

    Read this:
    http://us.php.net/manual/en/function...ransparent.php

    PHP Code:
    <?php
    // Create a 55x30 image
    $im imagecreatetruecolor(5530);
    $red imagecolorallocate($im25500);
    $black imagecolorallocate($im000);

    // Make the background transparent
    imagecolortransparent($im$black);

    // Draw a red rectangle
    imagefilledrectangle($im445025$red);

    // Save the image
    imagepng($im'./imagecolortransparent.png');
    imagedestroy($im);
    ?>
    The above example will output something similar to:

    Comment


    • #3
      i know, but can't do it
      please help me ...

      Comment

      Working...
      X