Page 1 of 1
file type question
Posted: 2009-02-03T11:15:00-07:00
by sheila
VisiPic says it uses ImageMagick's libraries, and I was wondering if Photoshop's .psd files are usable. They weren't mentioned in the list of supported files in VisiPic or, from what I could tell, Image Magick.
Thanks,
Sheila
Re: file type question
Posted: 2009-02-03T11:54:03-07:00
by fmw42
sheila wrote:VisiPic says it uses ImageMagick's libraries, and I was wondering if Photoshop's .psd files are usable. They weren't mentioned in the list of supported files in VisiPic or, from what I could tell, Image Magick.
Thanks,
Sheila
IM will read .psd files and will write a single layer .psd file. IM does not handle or know how to write multi-layer psd files the way Photoshop uses them. This is my understanding. Others can correct me, if I am wrong.
Re: file type question
Posted: 2009-02-03T18:28:42-07:00
by anthony
Additional.
PSD files are often multiple layer. the first image is the merged, or all-in-one copy of the whole image, with other images containing the various layer images that were used to make up that first image.
I suggest when reading PSD images you add a '[0]' suffix to only read the first all-in-one image and ignore the other layer images.
If you plan to work with layer images then use '[1--1]', or follow the read with a -delete 0 to remove/ignore that first all-in-one image. the former should not junk the first image if it is the ONLY image, while the later method will junk it if it is the only image (I verified this).
Adding the above to IM examples for PSD images in 'Common Formats'
Re: file type question
Posted: 2009-02-03T21:04:45-07:00
by sheila
Thanks to both of you for the information!
Sheila