Exporting Files from Illustrator


Illustrator is a robust application that supports a wide range of file formats. Although Illustrator does a great job in opening just about any graphic file format, it can also export files in different file formats for a plethora of uses. To export a file from Illustrator, choose File > Export and then choose from one of the many formats listed in the pop-up in the Export dialog. Each of these formats are listed in the following pages, with descriptions of their settings as well as when you might want to use them.

Remember that when exporting, it is expected that some level of formatting or editability will be lost, so always save a native Illustrator version of your file first before you export to another format.

The Bitmap (.bmp) Format

Bitmaps are raster-based files and are often used in older computer applications. The bitmap format is also used by some applications for displaying logos or barcodes.

When exporting a bitmap, you can choose one of three different color models: RGB, Grayscale, or Bitmap, which creates a file that contains only black and white pixels (Figure 12.21, next page). Additionally, you can specify the resolution for your image and choose whether or not to antialias the art.

Figure 12.21. Many applications (including Illustrator and QuarkXPress) allow you to change the color of a bitmap file that uses the Bitmap color model.


The Targa (.tga) Format

The Targa file format is a raster-based image format used mainly in video applications. For example, you might use the Targa file format to add Illustrator artwork as masks in Adobe Premiere.

When exporting a Targa file, you can choose one of two color models: RGB or Grayscale. Additionally, you can specify the resolution for your image and choose whether or not to antialias the art.

The Portable Network Graphic (.png) Format

The PNG file format (pronounced "ping") was originally formed as an open standard format to replace the need for the GIF image file format, due to legal complications with those who developed the compression technology used in the GIF format.

As you learned in Chapter 10, you can also create PNG files from Illustrator using the Save for Web feature. However, the PNG format also appears as an export format because the Save for Web feature is hard-wired at 72 ppi. To export a PNG file at any other resolution, you need to use the PNG export function.

The PNG format is a raster-based image format, and is used for web design, icon and interface design, and as a general image exchange format. In fact, Apple's Tiger operating system (Mac OS X version 10.4) creates a PNG file when you take a screen shot. PNG files can support 24-bit color, but more importantly, the format also supports 256-level alpha channels for transparency, meaning that you can give images soft edges that fade to transparent (unlike the GIF format, which supports one-color transparency only).

When exporting a PNG file, you can specify the resolution for your image as well as the background color. You can choose a transparent background or you can choose Other to select a color from the Color Picker (Figure 12.22). Additionally, you can choose to turn on antialiasing and interlacing.

Figure 12.22. You can specify any color as a background color for a PNG file, including transparency.


The AutoCAD Drawing (.dwg) and AutoCAD Interchange File (.dxf) Formats

The DWG and the DXF file formats are both used for exchanging files with CAD applications. These formats can be especially helpful when you want to send Illustrator artwork to architects, interior designers, or industrial designers. Both formats support vector and raster elements.

If you need some of the functionality that CAD applications have, you might look into the CAD tools plugin from Hot Door, available at www.hotdoor.com.



Exporting Art for Use in Microsoft Office Applications

One of the most difficult things to do is create artwork in a professional design application (such as Illustrator) and have that same artwork display and print reliably in a business application, such as Microsoft PowerPoint. Finding the right file format for this workflow is difficult because JPEG images don't support transparent backgrounds and EPS files don't display well on screen. In addition, EPS files require the use of a PostScript printer, which most business professionals do not have access to.

After much research, the folks on the Adobe Illustrator development team discovered that the PNG format was perfect for placing art from Illustrator into Microsoft Office documents. Because the format supports transparent backgrounds and displays beautifully on computer screens, a PNG file set to a resolution high enough to also print well results in a great way to get great-looking art in Office documents.

To save time and make it easier to quickly export a file from Illustrator to use in Microsoft Office, choosing File > Save for Microsoft Office. Illustrator saves your file as a PNG file set to 150 ppi with antialiasing turned on. Once you've created the PNG file, you can place it into any Microsoft Office application by choosing the Insert Picture function from Word, Excel, or PowerPoint (Figure 12.23).

Figure 12.23. To place a PNG file into a Microsoft Office document, choose Insert > Picture > From File and locate the file on your computer or server.


Due to a bug in the Macintosh version of Microsoft Office, transparency in a PNG file does not appear correctly at the default view setting (it does appear correctly when viewed in full-screen mode and when printed). For this reason, the Save for Microsoft Office command sets the background color to white instead of transparent. If you are placing your art into Microsoft Office for Windows, you can create a PNG with a transparent background by using the PNG Export function.


When exporting a DXF or a DWG file (they both use the same export dialog; Figure 12.24), you can specify the version of AutoCAD you want your file to be compatible with, and the number of colors in the resulting file. If there are raster elements in your file (or if vector elements need to be rasterized), you can choose to have them embedded as either bitmap or JPEG files).

Figure 12.24. Illustrator uses the same export options dialog for both DWG and DXF formats.


Additionally, you can choose to export only the artwork that you currently have selected on the artboard. Choosing Alter Paths for Appearance modifies paths, if necessary, so that they appear when opened in a CAD application. Additionally, you can outline all text to avoid the need to send fonts.

The Windows Metafile (.wmf) and Enhanced Metafile (.emf) Formats

The Windows Metafile and Enhanced Metafile formats were developed to move graphics between applications on the Windows platform. Both formats support both vector and raster elements but are severely limited with regard to the kinds of art they can reliably display and print (EMF is slightly better). Both formats can only create straight vector lines, not curved ones. To make up for this, curved lines appear as numerous tiny straight paths, which results in large files with many anchor points. If possible, avoid using these formats for anything other than simple artwork. There are no additional options or settings that you can specify when exporting WMF or EMF files.

The Macromedia Flash (.swf) Format

SWF is a popular Web-based file format that supports both vectors and rasters. The Flash file format has become extremely popular because of its capability to contain interactive or animated content. You can use Illustrator to generate a SWF file that you want to upload directly to a Web site, or to create art for import into Macromedia Flash (the application), for further editing.

The Macromedia Flash (SWF) Format Options dialog was completely revamped for Illustrator CS2 and contains "just a few" options for creating the SWF files that are right for you (Figure 12.25).

Figure 12.25. The Flash export dialog in Illustrator CS2 features the ability to specify background layers and to animate blends without having to expand them.


  • Export As. You can export Illustrator files in one of three ways: AI File to SWF File, which creates a single SWF file that contains all of your Illustrator artwork; AI Layers to SWF Frames, where each layer is converted into a key frame, resulting in a single animated SWF file; and AI Layers to SWF Files, where each layer in your Illustrator document is exported as a separate SWF file (useful when you are creating Flash scenes). Additionally, you can generate HTML along with your SWF file (which you can display directly or copy and paste into an existing HTML page), and you can choose to close the file so that others can't open the SWF file by choosing Protect from Import. The Clip to Artboard Size forces Illustrator to ignore the artwork bounding box and uses the size of the artboard as the size of the file. Additionally, you can convert all text to outlines (so no font files are necessary) and you can make the file size smaller by choosing the Compress File option. The Background Color setting gives you the ability to set the color that appears behind the SWF file when it displays in a Web browser (if the file is not rectangular in shape) and the Curve Quality setting controls the fidelity of curved paths.

  • Method. When using transparency or other special effects in Illustrator, you can choose to Preserve Appearance, which flattens any effects as necessary, or you can choose the Preserve Editability Where Possible option if you plan on opening the file in Macromedia Flash in order to edit it. This way you can make additional tweaks to the artwork if you need to.

  • Animation. If you choose the AI Layers to SWF Frames option, all layers in your Illustrator file become keyframes and play as an animation when the SWF file is viewed in a web browser. The Frame Rate setting controls the speed at which the animation plays (you can't control the timing of individual frames like you can in a GIF animation), and the Looping option forces the animation to repeat continuously. You can check the Use as Background option to choose a layer (or layers) that appears in each frame of the animation and you can choose a Top Down or Bottom Up layer order, which determines if your animation plays forward or backward. If you've defined blends in your Illustrator document, you can choose to animate those blends using the Sequence or Build options.

  • Image. If there is raster content in your file (or if flattening requires that content becomes rasterized), you can choose how those images are stored in your SWF fileeither using a lossless format or a lossy format. If you choose the lossy format, which is JPEG, you can set how the JPEGs are saved and at what resolution.

For an in-depth discussion of how you can create great SWF files, including adding interactive hotspots and animations, refer to Chapter 10.

The Joint Photographic Experts Group (.jpg) Format

An extremely popular raster-based format, JPEG files are used mainly for exchanging photographic content and artwork. Although the JPEG format is used heavily in Web design, it is also the format of choice for the electronic delivery of stock photographs and for digital cameras. One of the reasons why JPEG is used for these tasks is because the JPEG format can take advantage of compression algorithms that can dramatically reduce file size. For example, a high-resolution image that is normally 10 MB in size might be only 1 MB in size when saved as a JPEG.

However, the JPEG format utilizes a lossy compression algorithm, and sometimes a JPEG file may exhibit artifacts or loss in detail due to this compression (Figure 12.26). A lower compression setting enhances image detail, at the cost of a larger file size.

Figure 12.26. When saving a file as a JPEG, using the Maximum setting results in a file with fewer artifacts, but doing so also results in a larger file size.


Although you can save JPEG files from Illustrator's Save for Web feature, you can only do so at 72 ppi. Using the JPEG Export function, you can specify a custom resolution for your file, which allows you to create high-resolution files.

Besides choosing an image compression level for your file, you can also specify the RGB, CMYK, or Grayscale color model. Format methods determine how the image appears when viewed in a web browser. If you choose the Baseline setting, the image loads completely and is then displayed at full resolution. The Progressive setting (similar to interlacing) allows the image to appear immediately at a lower quality setting; it then appears in full quality once the entire image is loaded (the number of scans determines how many passes are done until the final image is previewed).

Illustrator also gives you the option of antialiasing the art, embedding a color profile, or including a client-side or server-side image map. Refer to Chapter 10 for more information on how to define image maps and the differences between client- and server-side image maps.

The Macintosh PICT (.pct) Format

Much like the WMF and EMF formats, the PICT format was developed to move files between applications on the Macintosh platform. The format supports both vector and raster elements. There are no additional options that you can specify when exporting a PICT file.

The Adobe Photoshop (.psd) Format

As you learned in Chapter 8, Mixing It Up: Working with Vectors and Pixels, you can export an Illustrator file as a Photoshop file and preserve vital information in the file. This makes it easy to start work on a design piece in Illustrator and then bring it into Photoshop to add the finishing touches. Bringing Illustrator art into Photoshop or ImageReady is also useful when you're creating art that you plan to use for Web sites. In this way, you have high-quality artwork in Illustrator that can easily be repurposed for print, and you can add rollovers and interactivity using Photoshop and ImageReady for the Web site.

Refer to Chapter 8 for an in-depth analysis on moving files between Illustrator and Photoshop.



When exporting a PSD file, you can choose between CMYK, RGB, and Grayscale color models, and you can specify a resolution for your file. If you choose to export a Flat Image, all Illustrator layers are flattened into a single non-transparent layer (what Photoshop calls the Background layer). Alternatively, you can choose the Write Layers option, which preserves Illustrator's layering where possible (Figure 12.27). You can also choose to preserve text and other native elements, like compound shapes and Web slices (see Chapter 8 for a complete list of the attributes that can be preserved between Illustrator and Photoshop).

Figure 12.27. By choosing to write layers, you gain the ability to export a file that preserves live text, layers, transparency and mask effects, and more.


The Tagged Image File Format (.tif)

The TIFF format is widely used in graphics applications. Completely raster-based, a TIFF is a lossless image format. High-resolution files can be quite large, but image integrity is maintained. TIFF files are generally supported by print, video, and 3D rendering applications.

When exporting a TIFF, you can choose from one of three different color models: RGB, CMYK, or Grayscale. Additionally, you can specify the resolution for your image and choose whether or not to antialias the art. Checking the option to use LZW Compression results in a smaller file (the compression is lossless). You can also specify a platform-specific byte order (for better compatibility with Windows systems), and you have the ability to embed color profiles when you're working in a color-managed workflow.

Text Format (.txt)

Sometimes you just need to export the text in a file so that you can use it in another application or for another purpose that Illustrator itself can't handle. You can export text to be compatible with a specific platform, or you can export text in Unicode, which is platform independent.




Real World Adobe Illustrator CS2
Real World Adobe Illustrator CS2
ISBN: 0321337026
EAN: 2147483647
Year: 2003
Pages: 147
Authors: Mordy Golding

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net