I'm using the GD library to resize digital camera images. After the resizing, all previous EXIF data disappears from the images.
I know how to read the data with exif_read_data and I've stored all exif data from the images before resizing them in a textfile and would now need to insert it back into the resized images.
What can I use to do this? I can't find anything in the documentation about this, only how to retrieve the data but not how to write the data itto an image.