c2ephp

tests/cob-thumbnail.php

Go to the documentation of this file.
00001 <?php
00002 include('../agents/COB.php');
00003 require_once('../support/FileReader.php');
00004 
00005 $cob = new COB(new FileReader($argv[1]));
00006 
00007 $blocks = $cob->GetBlocks(COB_BLOCK_AGENT);
00008 print $blocks[0]->GetThumbnail()->ToPNG();
00009 ?>
 All Classes Files Functions Variables Enumerations