Link to home
Start Free TrialLog in
Avatar of fregal
fregal

asked on

Photoshop PSD format.

Hi guys,
 How to read PSD files in Delphi using TImage (any components or sources)?
Avatar of Epsylon
Epsylon

There's no such component.
Go here, you will find many file format:
http://www.wotsit.org

so, you can write a component by yourself to do it.
fregal,

I'm currently implementing PSD support into my GraphicEx library (see also: www.lischke-online.de/Graphics.html). This library supports many other image formats as well (tif, pcx, cel, gif, tga etc. etc.) and works with TPicture the usual way...

Since the PSD format is not very compicated (so far as the pure image is concerned) I believe to have the import ready between this weekend and the next one. I hope this is not too late for you?

Ciao, Mike
Avatar of fregal

ASKER

Mike,

Waiting for PSD format with your great
library.

WBR, Pete.
Right, I will leave a message here when you can download the new version...

Ciao, Mike
ASKER CERTIFIED SOLUTION
Avatar of Lischke
Lischke

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of fregal

ASKER

Mike,

Your job is fantastic! It's work fine.
Finally: What about MULTICHANNEL color mode support?

P.S. Wish you many points :)

WBR, Pete.
Pete, if multi channels are of use then it is probably worth to be implemented. But the docs I have don't say anything about this format. I'm not sure how to proceed...

Ciao, Mike
Avatar of fregal

ASKER

Mike,

I try to read multichannel PSD file as
RGB and CMYK with your library. It allows to view picture, but it looks very strange. I look into some programs: Paint Shop Pro and GIMP does not support multichannel PSD files, but ACDSee and Irfan's View does.

WBR, Pete.
I already implemented multi channel view. Actually, I tried to view them as RGB and obviously Photoshop stores an image summary as RGB image, so this worked. I don't want to update my online files yet, so if you are interested please send me a mail (public@lischke-online.de) and I will mail back the new lib. Actually, you can do the necessary changes yourself. There are three case statements where the image types are distinguished. Take in all three cases PSD_MULTICHANNEL into the same branch as PSD_RGB.

Ciao, Mike