You can crop layer in two ways:
Crop to selection
Crop to content
The
command crops only the active layer to the boundary of the selection by removing any strips at the edge whose contents are all completely unselected. Areas which are partially selected (for example, by feathering) are not cropped.If there is no selection, this menu entry is disabled.
The Crop Tool, or the Crop to Selection command which let you manually define the area to be cropped.
command automatically crops the active layer, unlike theこのコマンドはレイヤーの最外縁から同色部分をできるだけ大きく切り捨てます。 この処理は自動的にまず上下の辺から水平線状に、 さらに左右の辺から垂直線状にそれぞれ内側に向けて色を探り、 透明度の変化は無視して、 別の色が見付かった位置で止めます。 つづいてその 4 辺で区切られた矩形領域を切り抜きます。
このコマンドはたとえばレイヤー上の単色の領域が広すぎて別の色で描いたものを見失ってしまったときその描かれたものの寸法までレイヤーを切り詰めるのにも使えます。