Hello i really need to convert a psd file to a ,png file
I want to
Get psd layer by name then change/add the text in it
then save the final psd as a png file please help
I need to do this in php
Converting .Psd File To .Png file with php
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Converting .Psd File To .Png file with php
Imagemagick can extract all or some of the layers into separate images. You can use [0] to get the first layer, [1] to get the second or [1-3] to get the second thru fourth layer.
convert image.psd[1-3] image.png
Or get them all as:
convert image.psd image.png
But it cannot use layer names to find/extract the layers
PNG will create all layers as separate images since it does not support multi-layer structure. The images will be named, image-0.png, image-1.png, etc.
see
http://www.imagemagick.org/script/comma ... 32463u4cq0
convert image.psd[1-3] image.png
Or get them all as:
convert image.psd image.png
But it cannot use layer names to find/extract the layers
PNG will create all layers as separate images since it does not support multi-layer structure. The images will be named, image-0.png, image-1.png, etc.
see
http://www.imagemagick.org/script/comma ... 32463u4cq0