Layer to Image Size

Resizes the layer, but doesn't stretch or shrink its contents to fit the size of the image. When making smaller, it will crop the layer. A layer made larger adds transparent filling around the previous contents unless it is the background layer, in which case the background color is used as fill.