Use the setImageProperty method of PHP's imagick extension to set the image property. Although you can use getImageProperty to read the property after setting the property, once the image is saved and the property is read from the saved image, no information can be read. . There are articles on the Internet that can successfully set the "comment" attribute of files in jpg and png formats, but I did not successfully test it.
The php version I use is 5.6.33, the php_imagick extended version is 3.4.3, and imageimagick is ImageMagick 6.9.3-7 Q16 x64 2016-03-27.
I wonder if anyone has successfully used access extension methods?