Skip to main content
Participant
October 4, 2008
Question

Writing Merged composite image to PSD file??

  • October 4, 2008
  • 10 replies
  • 1591 views
Hi,

I'm developing PSD file writer which adds layers to PSD file.
Can anyone tell me how to write merged composite image to psd file,
so that it shows composite image when i open that PSD file in other image viewer applications such as irfan viewer or Quick time picture viewer.

Currently i've been successful in exporting each image as layer. But due to some reasons merged composite doesn't show up.

Thanks in Advance,
-Suma
This topic has been closed for replies.

10 replies

Inspiring
March 20, 2009
Laurids, if you mean re-creating all of Photoshop's compositing functionality - effects, vectors, text, etc - it simply isn't documented well enough for that to be possible (no accident, I'm sure), but even if it were, it's unlikely the effort would be within any realistic budget.

On the other hand... if you only want to support a very limited subset of simple raster layer compositing features, that could be achievable - possibly using my psdparse code as a starting point.
Participant
March 18, 2009
To "Suma"

Did you actually manage to make an Irfan-plugin or something to that effect? I'm searching for a way to view psd's saved without the composite layer - possibly by constructing the layers on-the-fly as I browse through the files. I've found tools capable of showing the contents of the separate layers, but no luck finding an application that will overlay all the layers and form one composite image.
Inspiring
February 25, 2009
Try:

$ ./configure
$ make
Participant
February 16, 2009
Hi Mr Toby thain,

I copied all the files in a folder named Parser from http://telegraphics.com.au/svn/psdparse/trunk.Then i went to the folder parser and gave a command make.It didn't worked.
Actually iam very new to this area.So can you kindly help me.Its very urgent.

Thanks in advance
Inspiring
February 13, 2009
@kumarz4321
The program builds fine for me. Please contact me directly with details of your problem: support@telegraphics.com.au (I am the author).

It will separate all raster layers in a PSD or PSB file, to individual PNG files.
Participant
February 13, 2009
Hi,

I am new to photoshop.My requirement is extract the different layers and other information from psd file.
I took the code from http://telegraphics.com.au/svn/psdparse/trunk.But iam not able to build it.I tried it in Linux environment.
Anybody can help me in this regard.Its very urgent.

Thanks in advance.
Known Participant
February 13, 2009
Are you aware the Photoshop itself will split the layers into separate
files? This could be done with an action or script, and would be much
simpler than writing your own filter or format plugin.
Inspiring
October 12, 2008
I apologise that the 'psdparse' program has been unbuildable in the repo for a little while. I finally fixed it today after an unconscionable delay - version 2.5.3 should build fine on Linux, etc.

Perhaps it can help you debug your PSD editor.
_suma_Author
Participant
October 6, 2008
Thank u so much for ur help. I got it working :)
_suma_Author
Participant
October 6, 2008
ya i'm writing the last part of PSD file "image data section" but still merged composite doesn't show up. Rendered file opens in photoshop with all the layers, but nothing shows up in image viewer applcations.

I've checked out the code but m not able to compile it.. not able to include "xlocale.h"
Inspiring
October 4, 2008
The merged composite is stored after all layers. Have you studied the PSD spec? I have written a PSD parser which may help you. http://telegraphics.com.au/svn/psdparse/trunk