Changeset 3172 for libcaca/trunk/caca-php/examples/dithering.php
- Timestamp:
- Nov 1, 2008, 1:45:56 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca-php/examples/dithering.php
r3154 r3172 1 1 #!/usr/bin/php5 2 2 <?php 3 /* 4 * dithering.php sample program for libcaca php binding 5 * Copyright (c) 2008 Nicolas Vion <nico@yojik.eu> 6 * 7 * This program is free software. It comes without any warranty, to 8 * the extent permitted by applicable law. You can redistribute it 9 * and/or modify it under the terms of the Do What The Fuck You Want 10 * To Public License, Version 2, as published by Sam Hocevar. See 11 * http://sam.zoy.org/wtfpl/COPYING for more details. 12 */ 13 3 14 $img = imagecreatefrompng(dirname(__FILE__)."/logo-caca.png"); 4 //$img = imagecreatefromgif(dirname(__FILE__)."/logo-caca-idx.gif");5 15 if (!$img) 6 16 die("Can not open image.\n");
Note: See TracChangeset
for help on using the changeset viewer.