In today’s tutorial, you will learn how to use a Slice Tool. I will guide you through the step-by-step process of the creation of the slice for export, I will explain how to adjust the background, size, and position of the slice to suit your needs. Then I am going to show you three real-world applications of the slice tool:
- CSS sprite
- Book Cover
- Interface images if you are preparing a software tutorial.
What is the Slice Tool
The Slice Tool (S) is a selection tool, that allows you to slice a part of the artwork and export it into the four file formats.
How To Use The Slice Tool
Locate the Slice Tool in Gravit
Click on the arrow icon near the Pointer tool icon to bring up the selection tool menu.
Pick up the Slice Tool. Use the S on your keyboard to do the same.
Select the Area to Export
Holding Left Mouse Button draw a marquee around the object you want to export.
This area (let’s call it a slice) has a green semitransparent background.
Changing Your Slice
You can operate the slice in a way you operate with the Rectangle(R) in Gravit Designer:
- Drag the bounding box to resize the slice
2. Use the Slice Tool Panel to modify:
- The slice position (1)
- The slice size (2)
- The slice background (4)
- You can also select the option to trim the transparent pixels (3).
Exporting the Slice
Once you are happy with the size and position, head over to the bottom left corner of the document and locate Make Exportable section within the Layers Panel.
Click on the small Plus icon to bring up the Export Options Panel. Here you can specify the size, file format and set a suffix for your own convenience.
When you are done, click the Export… icon and bring up a familiar dialog box to pick up the desktop folder for your asset.
The Slice Tool in the Real World
In the second part of this tutorial I want to focus on the real world examples of the Slice Tool application:
- Creating a CSS-sprite
- Streamlining a cover design
- Preparing tutorials and manuals in Gravit Designer
Create a CSS-sprite with the Slice Tool
The CSS-sprite is a technique of using a single image to render several images on the web pages. This practice allows us to reduce a number of server requests and thus make a website to load faster.
To prepare a CSS-sprite you need an image as a container for the multiple images and CSS code to show only a single image at once.
Obviously, you can do the first step in almost any design editor, but the Gravit’s Slice Tool allows you to grab them on the fly while working on your website layout.
In the image below you can see my typical workflow. I am designing a website, and when I am happy with the overall look, I am fetching assets via Slice Tool. The greenish fields also help me to distinguish which assets I’ve already saved on my PC.
Streamline your Cover Design with the Slice Tool
Assume you are designing a book cover. As for the kindle book cover, it is a no-brainer. You need to create a single image.
Paperback book covers require more efforts and planning. You need to do a cohesive and appealing system, that contains three design:
To accommodate the need we often either splitting the task on the three documents or three pages within a single document.
You don’t need to do that with a Slice Tool. Design everything on a single page to see how it really works for the whole book. Then prepare the slice for each design and export them as separate .pdf documents. Create a last slice to wrap the whole book.
The Slice Tool for Tutorials
Special tip for those who are working on the software tutorials. You can place snapshot in Gravit Designer adding highlights, sizing and adding a background. Then you may use the Slice Tools to export them in your preferred format.
I am using this approach while working on the Gravit Designer Documentation.
More of the Tools Video Tutorials:
Originally published at vitorials.net.