Ignore:
Timestamp:
Nov 1, 2008, 1:45:56 AM (13 years ago)
Author:
nico
Message:
  • Add license headers in sample programs
File:
1 edited

Legend:

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

    r3154 r3172  
    11#!/usr/bin/php5
    22<?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
    314$img = imagecreatefrompng(dirname(__FILE__)."/logo-caca.png");
    4 //$img = imagecreatefromgif(dirname(__FILE__)."/logo-caca-idx.gif");
    515if (!$img)
    616        die("Can not open image.\n");
Note: See TracChangeset for help on using the changeset viewer.