Adobe Photoshop PSD file reader
This is a suite of functions that read images and metadata from Adobe Photoshop PSD files. These files can be used independently or in IMREAD and IMFINFO via IMFORMATS.
Currently only the image pixels from the base layer are imported. Additional layers, paths, masks, and adjustments can be in the file but do not affect the image that is loaded.
The metadata support is limited to basic details about the image (dimensions, bit depth, number of samples, etc.).
These functions are based on the file format description for Photoshop 4, but they appear to work for Photoshop 7 files. I haven't tested on files generated by Photoshop CS.
Cite As
Julianna Mather (2024). Adobe Photoshop PSD file reader (https://www.mathworks.com/matlabcentral/fileexchange/4730-adobe-photoshop-psd-file-reader), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired: Adobe Photoshop Layered PSD File Writer and Reader
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.