Skip to content

Instantly share code, notes, and snippets.

View gibtang's full-sized avatar

Gibson Tang gibtang

View GitHub Profile
@gibtang
gibtang / createIcon.php
Created June 2, 2013 15:16
PHP script to auto create all the various iOS icons based on only 1 image. This requires ImageMagick to run http://www.imagemagick.org/script/index.php
<?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)
{