Creating layer-based slices


    When you create a slice from a layer, the slice area encompasses all the pixel data in the layer. If you move the layer or edit the layer's content, the slice area automatically adjusts to encompass the new pixels.
    Example of how a layer-based slice is updated when the source layer is modified
    Layer-based slices are especially useful when working with rollovers. If you apply an effect to the layer--such as a drop shadow or glow--to create a rollover state, the slice automatically adjusts to encompass the new pixels. However, do not use a layer-based slice when you plan to move the layer over a large area of the image during an animation, because the slice dimension may exceed a useful size.
To create a slice from a layer:
  1. Select a layer in the Layers palette.
  2. Choose Layer > New Layer Based Slice.

Views and News