Howdy!
I'm not sure what you mean?
Do you want to see if the image is a psd, or do you want to read photoshop-specific image-info?
For the first, use exif_imagetype (string filename), which will return (snip from php.net):
1 = IMAGETYPE_GIF, 2 = IMAGETYPE_JPEG, 3 = IMAGETYPE_PNG, 4 = IMAGETYPE_SWF, 5 = IMAGETYPE_PSD, 6 = IMAGETYPE_BMP, 7 = IMAGETYPE_TIFF_II (intel byte order), 8 = IMAGETYPE_TIFF_MM (motorola byte order), 9 = IMAGETYPE_JPC, 10 = IMAGETYPE_JP2, 11 = IMAGETYPE_JPX, 12 = IMAGETYPE_SWC.
This may be considered a bit over the top, since the input string to the function is the filename - of which most can decide the files origin 😉
But hey - I'm not one to complain, and besides you may want to loop through a directory to read all files and find the spec's.
For the last, I don't think there is any ready-made functions. But look up:
http://www.php.net/manual/en/ref.image.php
knutm