

If you want the image to be an HTML link, enter a URL and target frameset.

Select Image type if you want the slice area to be an image file in the resulting web page. Select a slice type and set the corresponding options:

Slices in an Illustrator document correspond to table cells in the resulting web page. When you save the artwork as a web page using the Save For Web & Devices command, you can choose to save each slice as an independent file with its own format, settings and colour table. For example, if your artwork contains a bitmap image that needs to be optimized in JPEG format, while the rest of the image is better optimized as a GIF file, you can isolate the bitmap image using a slice. In Illustrator, you can use slices to define the boundaries of different web elements in your artwork. How do we save each icon to a separate file? Now you can easily see and prevent the image from exceeding the 32 x 32 pixel dimensions of the icon. In my case it is 32px.Īlso you can choose grid style (lines or dots), grid colour, or whether grids appear in the front of or behind the artwork. You need set spacing between gridlines value to the size of icons. Choose Edit > Preferences > Guides & Grid. Then specify the spacing between gridlines.

The grid will help you accurately place and measure objects in the illustration window or in an artboard.
#Web slices how to#
This tutorial will explain how to organize the workspace to make working with such a file comfortable and how to optimize the process of saving each icon into the required format.įirst, turn the grid on, choose View > Show Grid. I find this very important and convenient when trying to ensure a consistent style across all the icons I am designing.įor example, I have a file in Adobe Illustrator format with a set of icons at 32 x 32 pixels: When designing Icons I prefer to create a page with multiple icons displayed so I can see how the icons look together as a set.
