Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello !

I want to create a C# application to read a psd file, get a specific layer, and update it. After the update, the application save the file as png file. The layer is always a text layer.

I found on your website this very great article :
Downloads: Yet Another PSD Parser[^].


I'm working with 4.0 .Net Framework.
Can you help me ?

Thank you very much !

What I have tried:

I downloaded sources, added .dll, but I tried to create a simple 'Document' object, and an exception occured :
"to Endogine.Codecs.Photoshop.ImageResources.IPTC_NAA..ctor(ImageResource imgRes)"
This is my code :
C#
Document psd = new Document(@"C:\Users\sigt_vm\Documents\03_IF\Visuels\PSD\PSD_Liga.psd");
Posted
Comments
Tomas Takac 20-Apr-17 3:09am    
The code of the library is attached in the article, you are free to explore it. Also the author is more likely to give you an answer so you should ask in the article's forum.
Valentin M. 20-Apr-17 4:39am    
Hello,

Yes I know, but I follewed steps and it doesn't work. I prefer ask the author, because I don't understand :)
I hop I will get an answer !

EDIT : 'Document psd = new Document();' is working find but I don't know how I can specify filename after.
Tomas Takac 20-Apr-17 5:07am    
To contact the author go to the article and there is a discussion forum there at the end of it. Ask your question there.
Valentin M. 20-Apr-17 5:37am    
I did it, thank you !
Valentin M. 21-Apr-17 5:22am    
Hello,

The topic is probably no support now... The last comment was created in 2014.
I don't know where can I find help about my problem :(

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