I've written an entire app to load and host photos, I allow the user to save IPTC in the DB and when the request a photo, I send the Photo as an attachment. I've just encountered a porblem as I cannot find any way to WRITE IPTC into the JPG before sending?? I use the below code to send the image. Does anyone knwo how I could update the IPTC before sending? The whole app depends on this.
Code:
Dim strMem As System.IO.MemoryStream = New System.IO.MemoryStream(CType(objDataReader("img_image"), Byte()))
                Dim strWriter As System.IO.StreamWriter = New System.IO.StreamWriter(strMem)

                strWriter.Flush()
                strMem.Position = 0

                Dim attachment As System.Net.Mail.Attachment = New System.Net.Mail.Attachment(strMem, objDataReader("img_filename"), "image/jpeg")
                MailMsg.Attachments.Add(attachment)