Command line tool for PSD files

A
Posted By
Aresot
Feb 21, 2006
Views
1153
Replies
12
Status
Closed
Anyone is aware of command line tool that allow read/write/edit functionality for PSD files? I need to be able crop/rotate PSD files preserving all info (layers etc) and save it back to PSD and for Photoshop to be able to open the result correctly. I was looking on the web but all command line tools that claim to do that create resulting PSD that Photoshop or Photoshop CS can not open. ;( I tried ImageMagic but Photoshop CS’s files after modifications not recognized by Photoshop.

Thanks.
Aresot

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

T
Two
Feb 21, 2006
"Aresot" wrote in message
Anyone is aware of command line tool that allow read/write/edit functionality for PSD files?

Yes. One way is to create a droplet in Photoshop, then cal it from the command line with either a fully qualified device:directory:filename or PATH.

If you wish to make a specific case, then posit a case and we can help further.
T
toby
Feb 21, 2006
Aresot wrote:
Anyone is aware of command line tool that allow read/write/edit functionality for PSD files? I need to be able crop/rotate PSD files preserving all info (layers etc) and save it back to PSD and for Photoshop to be able to open the result correctly. I was looking on the web but all command line tools that claim to do that create resulting PSD that Photoshop or Photoshop CS can not open. ;( I tried ImageMagic but Photoshop CS’s files after modifications not recognized by Photoshop.

I have a tool that offers correct *read* functionality for raster layers at least through version CS (GPL code at
http://www.telegraphics.com.au/svn/psdparse/branches/psdpars e_cj/). Write functionality could be added. Contact me directly if you want to discuss…

–Toby

Thanks.
Aresot
W
Waldo
Feb 21, 2006
Aresot wrote:
Anyone is aware of command line tool that allow read/write/edit functionality for PSD files? I need to be able crop/rotate PSD files preserving all info (layers etc) and save it back to PSD and for Photoshop to be able to open the result correctly. I was looking on the web but all command line tools that claim to do that create resulting PSD that Photoshop or Photoshop CS can not open. ;( I tried ImageMagic but Photoshop CS’s files after modifications not recognized by Photoshop.

Thanks.
Aresot

You can use droplets for that purpose. Refer to the Photoshop help or manual. It is very easy to do.

Waldo
A
Aresot
Feb 21, 2006
Sorry I have to clerify.
We have my own application that we intent to sell. That means it should work for users who dont have Photoshop installed. We need to load file, crop and rotate it and save it back to PSD preserving layers (layers also have to be cropped or rotated).

Thanks again.
Aresot
A
Aresot
Feb 21, 2006
Sorry I have to clerify.
We have application that we intent to sell. That means it should work for users who dont have Photoshop installed. We need to load file, crop and rotate it and save it back to PSD preserving layers (layers also have to be cropped or rotated).

Thanks again.
Aresot
A
Aresot
Feb 21, 2006
Ho Toby.
Is this a commersial software? Im looking for library/tool that will be supported in future (in case Photshop will add new changes to their format).

Aresot
T
Two
Feb 22, 2006
"Aresot" wrote in message
Sorry I have to clerify.
We have my own application that we intent to sell. That means it should work for users who dont have Photoshop installed.

Dreamer.
T
toby
Feb 22, 2006
Aresot wrote:
Ho Toby.
Is this a commersial software? Im looking for library/tool that will be supported in future (in case Photshop will add new changes to their format).

That code is GPL. Unfortunately nothing can keep Photoshop’s format open; it’s closed now, and will probably remain so until the end of time.

Aresot
A
Aresot
Feb 22, 2006
Our company applied for Photoshop advadced toolkit. As part of it Adobe gives you full documentation on PSD format. Unfortunatly that is all. I dont like idea of writing library from the scratch that already may be implemented by someone. We were hoping that they can give us library or tool.
BTW if you go to www.imagemagic.com their tool is pretty good. Problem is they dont support latest PSD (CS version).

Aresot
R
reboot
Feb 22, 2006
"Aresot" wrote in message
Sorry I have to clerify.
We have application that we intent to sell. That means it should work for users who dont have Photoshop installed. We need to load file, crop and rotate it and save it back to PSD preserving layers (layers also have to be cropped or rotated).

Methinks you are going to have to dig in like any developer and cut the code.
It sounds like you want to make money from freeware, or off our backs. Tough luck.
T
toby
Feb 23, 2006
Aresot wrote:
Our company applied for Photoshop advadced toolkit. As part of it Adobe gives you full documentation on PSD format. Unfortunatly that is all. I dont like idea of writing library from the scratch that already may be implemented by someone. We were hoping that they can give us library or tool.
BTW if you go to www.imagemagic.com their tool is pretty good. Problem is they dont support latest PSD (CS version).

I guess you mean http://www.graphicsmagick.org/ &
http://www.imagemagick.org/script/index.php

Keeping up with the PSD format as it evolves over time would be quite an engineering challenge. The people best placed to license you a library would be Adobe; have you approached them about it?

Aresot
A
Aresot
Feb 24, 2006
Yes I contacted Adobe but all they give you is DOC file describing PSD file format. Its a big challenge to write it from scratch and why to do it if someone else might have done it already.
To the person above: we not trying to get it for free and willing to pay for library. In fact we own license of LEADTOOL library but they are weak for PSD. In fact I’d preffer to deal with paying license. this way at least I can ask for fixes in timely manner. 😉

Aresot

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections