Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Now I have a psd file , I want to extract some property information using c# > the goal of that is to get an XML file filled with psd data info. .

I am very beginner to deal with psd files and I lasted.

I tried to understand how c# dealing with psd file and is that possible >> I don't want a complete code , I just want to understand "from where can I begin " , because Google confused me

psd is a Photoshop file with extension of .psd >> I want to retrieve its properties
C#
using c# ... Here is my sample 
var ps = new PsdFile(); ps.Load(@"C:\Users\nesreen\Desktop\Editable-cv-format-download\cv.psd",System.Te‌​xt.Encoding.Default); var name = ps.Layers[0].Name; var xy = ps.Layers[0].Location;


I have an error in load function ... help
Posted
Comments
Matt T Heffron 22-Jul-15 18:01pm    
Look at:
http://www.codeproject.com/Articles/15905/Yet-Another-PSD-Parser
http://blog.alternativaplatform.com/en/2007/07/09/parser-psd-formata/
Especially:
http://www.quora.com/Is-the-PSD-format-proprietary-and-is-there-an-official-documentation-on-parsing-it
Member 10420302 22-Jul-15 18:11pm    
I want it on windows not mac
Matt T Heffron 22-Jul-15 18:20pm    
Did you look at all of the links?
The first one is a .NET PSD parser.
(I linked the third one to point out that the format is proprietary and it can be changed from version to version of Photoshop with no concern that it will break anyone else's code. All parsers you find are subject to the format having changed since they were developed...)
Sergey Alexandrovich Kryukov 22-Jul-15 18:58pm    
What is the .NET Photoshop API you are using? Any links?
What should be in that XML file, what's its purpose?
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900