image thumbnail

Adobe Photoshop PSD file reader

version 1.1.0.0 (4.52 KB) by Jeff Mather
Functions to read images and get metadata from Adobe Photoshop PSD files.

36.4K Downloads

Updated 11 Aug 2016

View License

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

Jeff Mather (2021). 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
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!