This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$filename = $argv[1];//get the command line argument which is supposed to be the png filename | |
echo "Going to iconize \"$filename\"\n"; | |
class imgFile | |
{ | |
public $fileName; | |
public $size; | |
public function __construct($fileName, $size) | |
{ |