Search code examples
c++imageimage-processingphotoshoppsd

psd file format


I am attempting to find documentation of the psd file format so I can read in a .psd and then save out the individual layers as files, along with do other modifications. Does anyone know of any document in on the .psd file format? (Just for reference, I will be writing this in C++)

If there are any code examples of loading a .psd file in C++ then I would appreciate them being linked.

(Please not turn this into a "just use XXX software". This is not homework, or anything related to that. I am doing this because I think it will be a fun project to work on. I will ask for posts to be down voted if this happens.)


Solution

  • This will not be a fun project, the .psd format is big. It incorporates every feature Adobe has put into Photoshop over many years.

    I believe the specification can be had from Adobe, but they don't just hand it out to the public. You'll have to contact them and jump through some hoops first.