Changeset 3126 for libcaca/trunk/caca-php/examples/dithering.php
- Timestamp:
- Oct 28, 2008, 3:02:27 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/dithering.php
r3124 r3126 1 1 #!/usr/bin/php5 2 <? 2 <?php 3 3 4 $img = imagecreatefrompng(dirname(__FILE__)."/logo-caca.png"); 5 if (!$img) 6 die("Can not open image.\n"); 7 4 8 $dither = caca_create_dither_gd($img); 5 9 if (!$dither)
Note: See TracChangeset
for help on using the changeset viewer.