I was able to install TET (php_tet.dll) on Windows 8.1 + Xampp and I have no problems with PDF to Text, but I had no luck with image extraction.
I'm using the example "image resources.php" ( and "image_extractor.php" ) which is supposed to "print" some info about the images (x, y, width, height, alpha and e.t.c) in PDF file. Also must save/extract all available (or any) images into files (tiff, jpg).
The examples can be found here: http://goo.gl/ZeDlc0
The part with image information is working, but there is no files extracted.
I haven't got any trouble with text extraction to TXT file in the same folder. So I'm able to write there ?
Is something wrong with my SEARCHPATH or else ?
My TRY:
The original example throws ERROR:
Error 1016 in open_document(): Couldn't open PDF file 'FontReporter.pdf' for reading (file not found)
So I changed the SEARCHPATH:
/* global option list */
$globaloptlist = "searchpath={{../data} {../../data} }";
with the location of my pdf file:
/* global option list */
$globaloptlist = "searchpath={{D:\Workshop\www\TET\data} }";
Now I have some output data via print/echo:
page 7: 208x277pt, alpha=0, beta=0 id=0, 595x750 pixel, 1x8 bit Indexed
page 7: 208x277pt, alpha=0, beta=0 id=1, 595x750 pixel, 1x8 bit Indexed
The $tet->write_image_file method returns 10 which says "I can extract TIFF file".
But no images are extracted in my pdf`s folder or anywhere around...