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 plugin 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 this article, you will learn about 9 ways of minimizing the source vector file.
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. In the example we experimented on a complex vector stock image.
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 plugin, which can create a backup copy of the file.
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 an action or schedule it through the VectorFirstAid panel.
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 these robot toys has a size of 36.9MB. If you embed this image in a document, the file size after saving will be 36.9MB.
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). One fo the main benefits of Rasterino is the ability to unembed multiple images in one go.
Please 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 plugin, which has a similar function – Link Images.
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
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.
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). 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 but can significantly change the shape of the image including items of detail that may be required.
However, a better option is to use the VectorFirstAid plugin as we can clean-up excess points whilst maintaining precision by using the Super Smart Remove (also available in VectorScribe) 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.
POINT REMOVAL QUALITY COMPARISON | ORIGINAL / SIMPLIFY / VECTORFIRSTAID
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 we experimented with contained 156 redundant points.
Using uniform path and variable width path in Width Brush Tool or Width Gradient Tool (WidthScribe plugin) 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 plugin (Object > Path > Optimise Width Markers). The shape of paths will not change significantly.
The Width Eraser Tool (WidthScribe plugin) is intended to manually remove the extra width markers.
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.
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.