Possible Duplicate:
How do I add exif data to an image?
exif_read_data() is for reading exif data, but what function is for embeding exif data?
Possible Duplicate:
How do I add exif data to an image?
exif_read_data() is for reading exif data, but what function is for embeding exif data?
Looks like there's no built-in support for that (?). However I found something called phpExifRW which seems to do the job. I haven't tried it.
There's no native means of writing EXIF data (although you can natively write IPTC data via iptcembed which might be sufficient).
However, you might want to take a look at the pel library - it's actively developed and has good examples, etc.
I would use Imagick. It's very fast and powerfull and has it's own PHP extension. It has a setImageProperty method.
Example from the docs:
$image = new Imagick();
$image->newImage(300, 200, "black");
$image->setImageProperty('Exif:Make', 'Imagick');
echo $image->getImageProperty('Exif:Make');
PEL seems fine though, just used to do it with Imagick.