Make component from Photoshop image without the surrounding box

I know images are rectangular but I don’t want the outline. Just like the people or tree image components