File Exchange

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.

2 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 (2020). Adobe Photoshop PSD file reader (https://www.mathworks.com/matlabcentral/fileexchange/4730-adobe-photoshop-psd-file-reader), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (28)

ROORI92

I created two Matlab functions which make it possible to write a layered Photoshop PSD files from a folder of input images, or read a PSD file and extract the layers to the Matlab workspace. The read function is based on this reader by Jeff Mather.

Here is the link:
https://de.mathworks.com/matlabcentral/fileexchange/70284-adobe-photoshop-layered-psd-file-writer-and-reader

Enjoy!

Nawar

I have an RGB image that I seperated in MATLAB to multi-channel image (more than 4 channels). This function is very good at read psd files but I would like to save psd file in MATLAB. Can anyone help me in this. Thanks.

arnold

Nice, but I would LOVE layers and masks put into a structure, that would be awesome.

Too bad you've stopped working on it.

FIIFI PAINTSIL

GUSTAVO CARDONA

srinivas vasu

veri good

bakul gohel

very usefull some purpose

A B

J J

ranjana pau

Andy Talbot

Zyrome Sarmiento

sam karthik

Good

a o

zuzka zuzka

i really wanna to download this software

ather ullah

good

abs hyp

mahmoud kamal

hi

khalid fahad

yes this file is very good
i can this file incresed !

Fred P

Very good ! AND I TESTED IT FOR PSD FILES CREATED WITH PHOTOSHOP CS2, AND IT WORKS!!

njjgfhr fgerger

Christer Allevik

does not explore the possibility to view psd files in Windows Explorer

milan skobo

jebe kevu

bla bla

bla

angshu chatterjee

FRADY GEORGE

Merle Fairhurst

James Trimble

Updates

1.1.0.0

Removed dead link in description.

1.1.0.0

BSD Licnese

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux