소스 검색

remove workarounds since alpha works now (merged from ..)

tags/v0.99.beta17
Ben Wiley Sittler bsittler 16 년 전
부모
커밋
fc3775ca2a
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -3
      caca-php/examples/www/export.php

+ 1
- 3
caca-php/examples/www/export.php 파일 보기

@@ -21,8 +21,6 @@ define('WIDTH', 80);
define('HEIGHT', 32);

$pixels = imagecreatetruecolor(256, 256);
imagealphablending($pixels, false);
imagesavealpha($pixels, true);

$exports = caca_get_export_list();

@@ -127,7 +125,7 @@ else
$r = $x;
$g = (255 - $y + $x) / 2;
$b = $y * (255 - $x) / 256;
imagesetpixel($pixels, $x, $y, imagecolorallocatealpha($pixels, $r, $g, $b, 127));
imagesetpixel($pixels, $x, $y, imagecolorallocate($pixels, $r, $g, $b));
}
}



불러오는 중...
취소
저장