Large files can significantly slow down your workflow. Editing, zooming of the screen and just saving the file may take several minutes. In addition large file sizes are often the reason of application crashes resulting in the loss of all or part of the work. Using the autosaving feature of Autosaviour plug-in will help you avoid such losses, but does not eliminate the loss of time during the next saving of a large file. Therefore it is important to know how to reduce the file size for ease of use with the minimum of delay. In todays article, you will learn about 9 ways of minimizing the source vector file. This article is also available as a video tutorial: 9 ways to minimize file size in Adobe Illustrator
1. Save Options
When we are saving the file for the first time (File > Save… or File > Save As…) this opens Illustrator's Options dialog box. To significantly reduce the file size, untick Create PDF Compatible File and tick Use Compression.
Such selection of options reduces the file size significantly. While writing this article, I experimented on a rather complex vector artwork Shield and Sword, which contains blend objects, vector texture, transparent objects, gradient meshes and so on.
Using the Create PDF Compatible File option may be required in some areas of design. In this case, select it during the last save (File > Save As…), when the work will be completely ready. Also Create PDF Compatible File option will help you recover Illustrator files after a crash. However, this recovery is not necessary if you use Autosaviour plug-in, which can create a backup copy of the file.
2. Using Linked Images
Along with vector objects, your artwork may also contain raster images. You can place them in the document or they can be the result of certain processes. For example, raster effects after the Expand Appearance command convert into raster images. Any raster graphic in your Illustrator document can be of two types: Linked Images or Embedded Images. Using the Linked Images only can greatly reduce the file size, especially when dealing with large images of high resolution. For example, the file containing the linked Image of Portrait from Shutterstock has a size of 94MB. If you embed this image in a document, the file size after saving will be 98.6MB.
Your file may already contain Embedded Images. In this case, you can relink them by clicking Unembed in the Control panel or hit Relink icon in the Links panel (Window > Links).
I would like to note that the Relink option is only available to users of Adobe Illustrator CC. If you are working in earlier releases of the application, you can use Rasterino plug-in, which has a similar function – Link Images.
3. Cropping of Unneeded Embedded Image Data
In cases where we still need to use Embedded Images, we can delete an unneeded part of an image using Rasterino. If the image has a background that includes transparent or white pixels, then we can remove them by clicking the Trim Image button in the Rasterino panel (Window > Rasterino > Rasterino panel). After selecting the desired options in the dialog box, Rasterino will delete parts of the image that have no significant information.
We can also crop the image by selecting the necessary part, using the Crop Image Tool of Rasterino or using the Crop Image button in the Rasterino panel.
No doubt that cropping part of an embedded image will reduce the size of the entire file.
4. Reducing the Resolution of Raster Effects
You can reduce the resolution of all raster effects, which have been applied in the current document. To do this, go to Effect > Document Raster Effects Settings… and setting a low value for the resolution in the dialog box.
In addition to minimizing the file size, it will also accelerate the process of displaying graphics on the screen while zooming. After finishing with the file you can set the desired value for the resolution.
5. Removing excess points
The number of anchor points also affects the size of your file. The number can be reduced by using the native Illustrator's feature – Simplify (Object > Path > Simplify…). In my opinion, this feature is good to use for rough processing of the paths, such as reducing the number of points of vector textures when there is no need to maintain the shape of objects.
However, a better option is to use the VectorFirstAid plug-in as we can clean-up excess points whilst maintaining precision by using the Super Smart Remove points on paths button located on the panel. This will reduce the number of points in your entire document or selection to a set tolerance that can be changed in the panels preferences.
Here you can see how VectorFirstAid produces a higher quality end result compared to the native Simplify feature. A more detailed article on how VectorFirstAid can help clean up your Illustrator files can be found here.
But when it comes to accuracy, such as removing excess points of vector outlines, it may be better to use the Smart Remove Brush Tool (VectorScribe). This tool allows you to literally sweep excess points away like a broom! You can even use the pressure sensitivity of your tablet to control the tolerance.
It also allows VectorScribe to highlight and automatically remove redundant points from selected paths. Both of these options are available in PathScribe Preferences dialog box. This artwork which I experimented with contained 156 redundant points.
6. Reducing Width Markers
Using uniform path and variable width path in Width Brush Tool or Width Gradient Tool (WidthScribe plug-in) can lead to the formation of a large number of width markers. Their excessive amount increases the file size and slows down the application during editing and zooming of the screen. We can automatically reduce the amount using the Optimise Width Markers feature of WidthScribe plug-in (Object > Path > Optimise Width Markers…). The shape of paths will not change significantly.
The Width Eraser Tool (WidthScribe plug-in) is intended to manually remove the extra width markers.
7. Using Symbols
Vector artworks can contain multiple objects or groups of objects resulting from duplication. In this case, save the item that you want to duplicate as a symbol in the Symbols panel (Window > Symbols). Then proceed to the duplication character, for example, using the Symbol Sprayer Tool. Using symbols greatly reduce the size of the original file. Their use is particularly justified if you want to duplicate complex objects.
8. Minimizing the number of steps of Blend objects
Large number of specified steps of blend objects can result in a giant file size. To reduce the steps to select the blend, go to Object > Blend > Blend Options… or just double click on the Blend Tool icon in the Tools panel. Pick the number of steps in the Blend Tool Option dialog box, which does not lead to a significant decline in the quality of the object blend.
While working on a few complex blend objects you can set 1-3 specified steps, then restore the desired value when your artwork will be completely ready. This trick will speed up your workflow without creating long pauses while saving and zooming.
9. Deleting unused Swatches, Graphic Styles and Symbols
Every time you create a new document it's more than likely you'll have an array of default swatches, styles and symbols and not only do they make your file bigger but they also clutter up your panels. To clean them up is easy using VectorFirstAid. Firstly open the panel by going to Window > VectorFirstAid > VectorFirstAid Panel. On the panel click Check Document then press Fix All to fix everything that appears in the results box (you can also fix each result individually by selecting it then clicking Fix Selected). You can even assign this to a action or schedule it through the VectorFirstAid panel.
In conclusion I would like to recommend to you three articles that have been written by me earlier and are directly related to the topic of todays publication: