Skip to main content
Participant
September 8, 2009
Question

Read PSD from c++

  • September 8, 2009
  • 3 replies
  • 11819 views

Hi,

I want read PSD file from my standalone application in c++.

How can I do it? Is there some documentation?

Thanks

Rino

This topic has been closed for replies.

3 replies

Participant
November 2, 2012

Thanks a lot ! I also had the same question with Rino_ !

Inspiring
September 18, 2009

If you want to read the channel and layer image data, you can try my PSD parser in C, http://telegraphics.com.au/svn/psdparse/trunk

Writing your own will take 100s of hours of trial & error due to incomplete & faulty documentation (if you can even obtain it).

Chris Cox
Legend
September 8, 2009

Start by reading the SDK documentation.

Then, from what you read, request the PSD file format spec documentation.

Then you'll have to write a parser for PSD files, and possibly all the blending, filtering, and effects code to render a PSD file.

October 8, 2009

The "Preview" application bundled with Mac OS X can open and display PSD files.

Are you implying that Apple wrote all their own code to render the files?

Tom Ruark
Inspiring
November 10, 2010

The former only.

There is no code or library relating to PSD in the SDK. At one time there was some very limited documentation for it, but debugging the documentation and implementing the results was up to you. And nothing at all about compositing. Secret sauce, you know.


July 2010 version attached.

See also:

http://forums.adobe.com/message/3265830, psd and psb File Format Specifications
http://forums.adobe.com/thread/608710, PSD File specs
http://forums.adobe.com/thread/678624, Not getting the file spec
http://forums.adobe.com/thread/663651, Photoshop file formats pdf
http://forums.adobe.com/message/3265923, PSB PSD 8BIM 8B64
http://forums.adobe.com/message/3265926, How can I get Photoshop file format document?
http://forums.adobe.com/message/3265927, How to parse text layer in PSD file?