Adobe Photoshop PSD file reader

Functions to read images and get metadata from Adobe Photoshop PSD files.
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

Julianna Mather (2024). 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
Find more on Data Import and Analysis in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes

Removed dead link in description.
BSD Licnese