Ignore:
Timestamp:
Feb 8, 2010, 2:27:22 AM (10 years ago)
Author:
Sam Hocevar
Message:

Large source code cleanup, getting rid of spaces, tabs, and svn keywords.

File:
1 edited

Legend:

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

    r3177 r4333  
    1313
    1414if (php_sapi_name() != "cli") {
    15         die("You have to run this program with php-cli!\n");
     15    die("You have to run this program with php-cli!\n");
    1616}
    1717
    1818$img = imagecreatefrompng(dirname(__FILE__)."/logo-caca.png");
    1919if (!$img)  {
    20         die("Can not open image.\n");
     20    die("Can not open image.\n");
    2121}
    2222
    2323$dither = caca_create_dither($img);
    2424if (!$dither)  {
    25         die("Can not create dither. Maybe you compiled caca-php without gd support.\n");
     25    die("Can not create dither. Maybe you compiled caca-php without gd support.\n");
    2626}
    2727
     
    2929$display = caca_create_display($canvas);
    3030if (!$display)  {
    31         die("Can not create display.\n");
     31    die("Can not create display.\n");
    3232}
    3333
Note: See TracChangeset for help on using the changeset viewer.