Re: problem writing UserComment

2010-09-06 Thread Pippo Fresta
ok, my question has partially resolved becouse now I know is needed $ifd0->addEntry($comment); after $comment = new PelEntryUserComment(); $comment->setValue('Edited by PEL'); but I have a different problem: I can only edit the field UserComment when it is empty and passed value is n

problem writing UserComment

2010-09-05 Thread Pippo Fresta
Hi, I'm trying to write UserComment but pel don't do it.. this is my php code //- $img = 'my_images_path'; require_once('pel/PelJpeg.php'); $jpeg = new PelJpeg($img); $ifd0 = $jpeg->getExif()->getTiff()->getIfd(); $artist = $ifd0->getEntry(PelT