Working with slices during optimization


    If your artwork contains multiple slices, you must specify the slices to be optimized. You can apply the same optimization settings to additional slices by linking the slices. Linked slices in GIF and PNG-8 format share a color palette and dither pattern to prevent the appearance of seams between the slices.

    Tip iconYou can optimize individual slices or the total of all slices to a specified file size using the Optimize To File Size dialog box. (See Applying optimization settings.)

To show or hide slices in the Save for Web dialog box:

    Click the Toggle Slices Visibility button Toggle Slices Visibility button .

To select slices in the Save for Web dialog box:

  1. Select the Slice Select tool Slice Select tool .
  2. Click a slice to select it. Shift-click or Shift-drag to select multiple slices.
  3. Note: In the Save for Web dialog box, unselected slices are dimmed. This does not affect the color of the final image.

To view slice options in the Save for Web dialog box:

    Select the Slice Select tool, and double-click a slice. (See Setting slice options.)

    Tip iconTo set options for multiple slices, double-click the last slice you select.

To link slices:

  1. Select two or more slices that you want to link.
  2. Choose Link Slices from the Optimize pop-up menu triangle icon.
  3. The link icon link icon appears on the linked slices, and the slice lines and icons are assigned a new color to help you identify the slices in the set.

To unlink slices:

    Do one of the following:

    • To unlink a slice, select the slice, and then choose Unlink Slice from the Optimize pop-up menu.
    • To unlink all slices in an image, choose Unlink All Slices from the Optimize pop-up menu.