.psd or .tif can have transparency. In any other format you would need to copy the transparency to an alpha channel, but I think that only .psd, .tif, .tga, .pct or .png will carry an alpha channel. You should consult the manual or help for Photoshop if you need help creating an alpha channel.
Arnie
https://www.arniepix.com