Convert psd to png with transparent background
convert input.psd -background none -flatten output.png