Hello everyone,
I am facing an issue related to PNG and TIF files. Photoshop cannot open these files when I write "xmp-xmp:Keywords" to the file's metadata.
I am not sure if other formats have the same issues or not. I just only tested with PNG, TIF, and JPEG.
Issue description:
- If the PNG or TIF file has no "xmp-xmp:Keywords" and "xmp-dc:Subject". Then Photoshop can open and work with the file normally.
- If the PNG or TIF file has "xmp-xmp:Keywords" and also has "xmp-dc:Subject". Then Photoshop can open and work with the file normally.
- If the PNG or TIF file doesn't has "xmp-xmp:Keywords" and has "xmp-dc:Subject". Then Photoshop can open and work with the file normally.
- If the PNG or TIF file has "xmp-xmp:Keywords", but doesn't has "xmp-dc:Subject". Then Photoshop cannot open the file.
- Error message: This file contains file info data which cannot be read and has been ignored. (screenshot)
- When I click to "OK" button, Photoshop can load the file. But cannot "save as" the file.
- Error message: "Could not save as "file_name" because of a program error. (screenshot)
- The issue does not happen with JPEG.
Testing environment:
- Photoshop versions 21, 22, 23
- Platform
- Windows 10 Enterprise 64-bit (10.0, Build 19045)
- macOS Big Sur, version 11.6
Steps to reproduce:
- Use any PNG images or save a file from Photoshop
- Open exiftool and write something to xmp-xmp:Keywords metadata
- Exift command: exiftool.exe -xmp-xmp:Keywords="some_thing" _file_path_
- Open this file again in Photoshop
Do you have any idea or knowledge about this case?
Thank you!