tengo una imagen con datos IPTC cargados y no logro extraer los datos datos.
use estos ejemplos del manual http://www.php.net/manual/es/function.iptcparse.php y no me dan buenos resultados, mas bien errores.
Instale el EXIF VIEWER de firefox y ahi si puedo ver toda la informacion.
Como puedo extraer esa misma informacion con PHP?
hice esto:
Código PHP:
Ver original
function output_iptc_data( $image_path ) { var_dump($info); //DEVUELVE algo asi: Photoshop CS3 Windows2011:05:08 09:25:28�0221��(�HH����Adobed��� ����� ��� s!1AQa"q�2���B#�R��3b�$r��%C4S���cs�5D'���6Tdt���&� ��EF��V�U( y muchos caracteres raros // devuelve este error: Warning: array_keys() [function.array-keys]: The first argument should be an array in save.php on line 220 //Warning: Invalid argument supplied for foreach() in save.php on line 220 for ($i=0; $i <$c; $i++) { echo $s.' = '.$iptc[$s][$i].'<br>'; } } } } output_iptc_data($imageIPTC);
gracias