Re: [PHP] create/write to psd file

2008-10-30 Thread David Lidstone



Ashley Sheridan wrote:

On Wed, 2008-10-29 at 15:22 +, David Lidstone wrote:
  

Ashley Sheridan wrote:


On Mon, 2008-10-27 at 07:55 +0100, Martin Zvarík wrote:
  
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.



vuthecuong napsal(a):


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 
  

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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] create/write to psd file

2008-10-29 Thread Ashley Sheridan
On Wed, 2008-10-29 at 15:22 +, David Lidstone wrote:
> Ashley Sheridan wrote:
> > On Mon, 2008-10-27 at 07:55 +0100, Martin Zvarík wrote:
> >> 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.
> >>
> >>
> >> vuthecuong napsal(a):
> >>> 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 
> > 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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] create/write to psd file

2008-10-29 Thread David Lidstone

Ashley Sheridan wrote:

On Mon, 2008-10-27 at 07:55 +0100, Martin Zvarík wrote:
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.



vuthecuong napsal(a):

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 

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.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] create/write to psd file

2008-10-27 Thread Ashley Sheridan
On Mon, 2008-10-27 at 07:55 +0100, Martin Zvarík wrote:
> 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.
> 
> 
> vuthecuong napsal(a):
> > 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 
> 
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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] create/write to psd file

2008-10-26 Thread 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.



vuthecuong napsal(a):

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 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] create/write to psd file

2008-10-26 Thread vuthecuong



Ashley Sheridan-3 wrote:
> 
> On Sun, 2008-10-26 at 23:45 -0700, vuthecuong wrote:
>> 
>> 
>> Ashley Sheridan-3 wrote:
>> > 
>> > 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
> 
> 
> -- 
> 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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] create/write to psd file

2008-10-26 Thread Ashley Sheridan
On Sun, 2008-10-26 at 23:45 -0700, vuthecuong wrote:
> 
> 
> Ashley Sheridan-3 wrote:
> > 
> > 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] create/write to psd file

2008-10-26 Thread vuthecuong



Ashley Sheridan-3 wrote:
> 
> 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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] create/write to psd file

2008-10-26 Thread Ashley Sheridan
On Sun, 2008-10-26 at 23:34 -0700, vuthecuong wrote:
> 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.
> 
> 
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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php