How to remove Photoshop resources from image while preserving metadata.
Stripping Photoshop resources from files
Where: Channel | Metadata | Resources tab
Strip Photoshop resources from image: Enabling this option will remove all extra Photoshop data from the file, such as clipping paths, image preview etc. This may be desirable e.g. is the images are to be published on the web and you wish to reduce the file size as much as possible. Image text, however, is preserved.