An exported logo has a wide transparent border, and a small dot above the mark sits well outside the main shape. A crop drawn around the shape alone would lose that dot. Photoshop can crop the canvas to the outermost pixels that still have opacity, including detached parts.
Trim a copy of the PNG
Open the 640 × 320 practice PNG in Photoshop. It contains a green mark and a separate dot, both on a transparent canvas.
- Duplicate the document and work on the copy. Hide any visible backdrop that would fill the transparent margins.
- Choose Image → Trim. Select Transparent Pixels and enable Top, Bottom, Left, and Right. Adobe lists the trim bases and sides in its cropping guide.
- Check the canvas dimensions in Image → Canvas Size. For the practice PNG, the result is 288 × 116 px, and the dot is still present. Export a new PNG with transparency and reopen that file to verify the same dimensions and contents.
Trim changes the canvas bounds. The mark keeps its original pixel dimensions, so you can place it into a layout without carrying the old border or resampling the artwork.
Find what is keeping the margin open
If an edge still has a wide margin, inspect that area against light and dark backgrounds at higher zoom. A stray low-opacity pixel can hold the edge open, just as the deliberate dot does in the exercise. Toggle suspect layers and inspect their masks. Remove unintended pixels on the copy, then repeat Trim. Preserve purposeful details such as a registration mark, a fine edge or a soft shadow.
Keep the original lockup for workflows that rely on its canvas dimensions. For a standalone trimmed PNG, put required logo clear space back in the layout and check the actual slot at its smallest size. See how to balance logos in a row if the marks still appear uneven after the files have been prepared.