소스 검색

* Modify error message in sample program dithering.php

tags/v0.99.beta17
Nicolas Vion nico 16 년 전
부모
커밋
19cb89ebb9
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -1
      caca-php/config.m4
  2. +1
    -1
      caca-php/examples/dithering.php

+ 1
- 1
caca-php/config.m4 파일 보기

@@ -8,7 +8,7 @@ if test "$PHP_CACA" = "yes"; then
AC_MSG_ERROR(libcaca development files required !)
])

PHP_CHECK_LIBRARY(gd, gdImageSetPixel, [
AC_CHECK_LIB(gd, gdImageSetPixel, [
PHP_ADD_LIBRARY(gd,, CACA_SHARED_LIBADD)
AC_DEFINE(HAVE_GD, 1, [Wheter you have development files of gd])
])


+ 1
- 1
caca-php/examples/dithering.php 파일 보기

@@ -7,7 +7,7 @@ if (!$img)

$dither = caca_create_dither($img);
if (!$dither)
die("Can not create dither. Maybe this image is not truecolor.\n");
die("Can not create dither. Maybe you compiled caca-php without gd support.\n");

$canvas = caca_create_canvas(0, 0);
$display = caca_create_display($canvas);


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