Location: PHPKode > scripts > Image to PHP Standalone Output > image-to-php-standalone-output/sample.php
<?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"));
Return current item: Image to PHP Standalone Output