Changeset 3301 for libcaca/trunk


Ignore:
Timestamp:
Nov 7, 2008, 12:21:15 AM (11 years ago)
Author:
bsittler
Message:

do not bother with an extraneous fill, and don't create out.png

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca-php/examples/test.php

    r3293 r3301  
    5050                $h = $f->getHeight();
    5151                $this->image = imagecreatetruecolor($w, $h);
    52                 imagefilledrectangle($this->image, 0, 0, $w - 1, $h - 1, imagecolorallocatealpha($this->image, 0, 0, 0, 127));
    5352                imagealphablending($this->image, false);
    5453                imagesavealpha($this->image, true);
    5554                $this->d = new Dither($this->image);
    5655                $f->Render($this->scroll, $this->image);
    57                 imagepng($this->image, "out.png");
    5856        }
    5957
Note: See TracChangeset for help on using the changeset viewer.