# Importing / Exporting to Other Graphical Formats

Using SIMDRAW, you can import graphics created by other graphics editors. This is accomplished by invoking the Image Editor and using the “File/Import” option. Graphics files in any of the following formats can be loaded into the editor:

MS Windows Bitmaps (.bmp) (MS Windows only) Note that the bitmap file must reside in the same folder as your “.sg2” file.

X Window Dump (.xwd) (Motif only) The raster file must reside in the same directory as your “.sg2” file.

AutoCAD files (.dxf) Simple 2d AutoCAD files can be imported. The vector description will be maintained.

Windows Metafile (.wmf) (MS Windows only) The vector description will be maintained.

You can also convert an existing SIMGRAPHICS II drawing into one of the following formats through the “File/Export” option:

MS Windows Bitmaps (.bmp) (MS Windows only).

X Window Dump (.xwd) (Motif only)

EPS Color PostScript (.eps, .ps)

When exporting to “.bmp” or “.xwd” files, a mask bitmap will automatically be created. The mask file is needed to maintain transparency when rendering non-rectangular bitmaps. The mask file will be named after the export file but will have a “m” character appended to the file-name. (Exporting to the file “test.bmp” will automatically create “testm.bmp”. SIMGRAPHICS II will automatically try to load the mask file whenever the original bitmap is loaded. The mask can be deleted if it is not needed.