Can I change layer image to new one?

Hello,

Our team is developing Photoshop plugins, and I have some questions about the features of these plugins. Specifically, I would like to know if it is possible to change some layer images to new images while maintaining the layers. Can file I/O be used to read an image and replace the previous image with it?

Thank you for your assistance.

Check out the “imagingtest” UXP Photoshop example. You can read and write pixels to layers. See the “fs” (file system) UXP examples to read/write to disk. You will need to set permissions in your manifest for full access.