Discussion:
[PHP] create/write to psd file
(too old to reply)
vuthecuong
2008-10-27 06:34:40 UTC
Permalink
Hi all
Is there a way to create/read/write to psd file? (photoshop format)

I would like to hear opinion form you:
Do you recommend gd2 or imageMagick to perform this task? and why
thanks in advanced
--
View this message in context: http://www.nabble.com/create-write-to-psd-file-tp20182477p20182477.html
Sent from the PHP - General mailing list archive at Nabble.com.
Ashley Sheridan
2008-10-27 06:39:07 UTC
Permalink
Post by vuthecuong
Hi all
Is there a way to create/read/write to psd file? (photoshop format)
Do you recommend gd2 or imageMagick to perform this task? and why
thanks in advanced
--
View this message in context: http://www.nabble.com/create-write-to-psd-file-tp20182477p20182477.html
Sent from the PHP - General mailing list archive at Nabble.com.
Off the top of my head, I don't think this is possible. A quick Google
yields nothing either. I'm assuming it has to be a PSD for the layers?


Ash
www.ashleysheridan.co.uk
vuthecuong
2008-10-27 06:45:30 UTC
Permalink
Post by Ashley Sheridan
Off the top of my head, I don't think this is possible. A quick Google
yields nothing either. I'm assuming it has to be a PSD for the layers?
Sure. I woudd like to read PSd files with multiple layes, and of course when
I write to it,
I should keep it's layers state also.
Is there any point to resource in some where please?
please help me. I need your help.
Thanks in advanced.
--
View this message in context: http://www.nabble.com/create-write-to-psd-file-tp20182477p20182544.html
Sent from the PHP - General mailing list archive at Nabble.com.
Ashley Sheridan
2008-10-27 06:50:02 UTC
Permalink
Post by vuthecuong
Post by Ashley Sheridan
Off the top of my head, I don't think this is possible. A quick Google
yields nothing either. I'm assuming it has to be a PSD for the layers?
Sure. I woudd like to read PSd files with multiple layes, and of course when
I write to it,
I should keep it's layers state also.
Is there any point to resource in some where please?
please help me. I need your help.
Thanks in advanced.
--
View this message in context: http://www.nabble.com/create-write-to-psd-file-tp20182477p20182544.html
Sent from the PHP - General mailing list archive at Nabble.com.
You want me to point you in the direction of a resource, even though
I've said I couldn't find one...?

The closest I can find is a class which will read a PSD in, although I'm
betting it'll only be a very, very old PSD.

It might be possible to do what you need by using the Gimp, but I'm just
not sure how much is possible with it over the command line.


Ash
www.ashleysheridan.co.uk
vuthecuong
2008-10-27 06:52:52 UTC
Permalink
Post by Ashley Sheridan
Post by vuthecuong
Post by Ashley Sheridan
Off the top of my head, I don't think this is possible. A quick Google
yields nothing either. I'm assuming it has to be a PSD for the layers?
Sure. I woudd like to read PSd files with multiple layes, and of course when
I write to it,
I should keep it's layers state also.
Is there any point to resource in some where please?
please help me. I need your help.
Thanks in advanced.
--
http://www.nabble.com/create-write-to-psd-file-tp20182477p20182544.html
Sent from the PHP - General mailing list archive at Nabble.com.
You want me to point you in the direction of a resource, even though
I've said I couldn't find one...?
The closest I can find is a class which will read a PSD in, although I'm
betting it'll only be a very, very old PSD.
It might be possible to do what you need by using the Gimp, but I'm just
not sure how much is possible with it over the command line.
Ash
www.ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you for useful info.
Anyway I will check it out.
regards,
--
View this message in context: http://www.nabble.com/create-write-to-psd-file-tp20182477p20182592.html
Sent from the PHP - General mailing list archive at Nabble.com.
Martin Zvarík
2008-10-27 06:55:29 UTC
Permalink
What I know is that you can control GIMP over the command line = you can
use PHP to do this.

Though I guess GIMP doesn't support PSD files, I had to express myself
anyways.
Post by vuthecuong
Hi all
Is there a way to create/read/write to psd file? (photoshop format)
Do you recommend gd2 or imageMagick to perform this task? and why
thanks in advanced
Ashley Sheridan
2008-10-27 07:00:22 UTC
Permalink
Post by Martin Zvarík
What I know is that you can control GIMP over the command line = you can
use PHP to do this.
Though I guess GIMP doesn't support PSD files, I had to express myself
anyways.
Post by vuthecuong
Hi all
Is there a way to create/read/write to psd file? (photoshop format)
Do you recommend gd2 or imageMagick to perform this task? and why
thanks in advanced
The Gimp does support PSD files, but it has real trouble with the layer
effects that CS introduced. Also, the Gimp cannot natively handle CMYK
images.


Ash
www.ashleysheridan.co.uk
David Lidstone
2008-10-29 15:22:35 UTC
Permalink
Post by Ashley Sheridan
Post by Martin Zvarík
What I know is that you can control GIMP over the command line = you can
use PHP to do this.
Though I guess GIMP doesn't support PSD files, I had to express myself
anyways.
Post by vuthecuong
Hi all
Is there a way to create/read/write to psd file? (photoshop format)
Do you recommend gd2 or imageMagick to perform this task? and why
thanks in advanced
The Gimp does support PSD files, but it has real trouble with the layer
effects that CS introduced. Also, the Gimp cannot natively handle CMYK
images.
Ash
www.ashleysheridan.co.uk
And off the top of my head, I don't think it supports 24bit images
either, which can be another killer if you want to handle images from CS.
Ashley Sheridan
2008-10-29 19:38:59 UTC
Permalink
Post by David Lidstone
Post by Ashley Sheridan
Post by Martin Zvarík
What I know is that you can control GIMP over the command line = you can
use PHP to do this.
Though I guess GIMP doesn't support PSD files, I had to express myself
anyways.
Post by vuthecuong
Hi all
Is there a way to create/read/write to psd file? (photoshop format)
Do you recommend gd2 or imageMagick to perform this task? and why
thanks in advanced
The Gimp does support PSD files, but it has real trouble with the layer
effects that CS introduced. Also, the Gimp cannot natively handle CMYK
images.
Ash
www.ashleysheridan.co.uk
And off the top of my head, I don't think it supports 24bit images
either, which can be another killer if you want to handle images from CS.
I thought 24-bit meant CMYK; 8 bits each for Cyan, Magenta, Yellow and
Black. I know the Gimp can handle PNG graphics which are 24-bit though;
Red, Green, Blue and an Alpha channel.


Ash
www.ashleysheridan.co.uk
David Lidstone
2008-10-30 12:22:48 UTC
Permalink
Post by Ashley Sheridan
Post by David Lidstone
Post by Ashley Sheridan
Post by Martin Zvarík
What I know is that you can control GIMP over the command line = you can
use PHP to do this.
Though I guess GIMP doesn't support PSD files, I had to express myself
anyways.
Post by vuthecuong
Hi all
Is there a way to create/read/write to psd file? (photoshop format)
Do you recommend gd2 or imageMagick to perform this task? and why
thanks in advanced
The Gimp does support PSD files, but it has real trouble with the layer
effects that CS introduced. Also, the Gimp cannot natively handle CMYK
images.
Ash
www.ashleysheridan.co.uk
And off the top of my head, I don't think it supports 24bit images
either, which can be another killer if you want to handle images from CS.
I thought 24-bit meant CMYK; 8 bits each for Cyan, Magenta, Yellow and
Black. I know the Gimp can handle PNG graphics which are 24-bit though;
Red, Green, Blue and an Alpha channel.
Ash
www.ashleysheridan.co.uk
My apologies, what I was thinking of was...
"GIMP features support for 8-bit per-channel images, compared to
Photoshop's support for 8, 16, and 32-bit per-channel images."
http://en.wikipedia.org/wiki/GIMP#Comparison_and_compatibility_with_Adobe_Photoshop
Continue reading on narkive:
Loading...