<?php header("Content-Type: text/plain"); require_once("lib/Txg/Util/Image/Packer.php"); $packer = new Txg_Util_Image_Packer('./input','./output',true); if (!$packer->parse()) die("PARSE ERROR"); var_dump($packer->save("Teste"));