Brief introduction
Inserting images into AutoCAD is a common task for adding site photos, scanned drawings, logos, and raster backgrounds. You can either attach an image as an External reference (XREF) so it stays linked to the source file, or embed it so the image becomes part of the DWG. This guide explains both methods step‑by‑step, alternative ways, common errors and fixes, plus practical tips. It’s written for beginners and optimized for search terms like “Insert images in AutoCAD”, “attach image AutoCAD”, “embed image AutoCAD”, and “image not showing AutoCAD”.
Why choose Attach (XREF) vs Embed
- Attach (XREF): Creates a link to the image file on disk. Use this when you want the drawing to pick up updates made to the image file or when you want to keep the DWG file size small.
- Embed: Inserts the image directly into the DWG, so the drawing is independent of the original image file. Use this when you’ll share the DWG and do not want to manage external files.
Method 1 — Attach an image (XREF)
Purpose
Create a linked reference to an image file so updates to the original image can be reflected in the AutoCAD drawing.
Steps (GUI)
- Open your drawing and go to the Insert tab.
- In the Reference panel, click Attach (or choose Attach Image).
- In the Select Reference File dialog, browse to the image (JPEG, PNG, BMP, TIFF are commonly supported) and click Open.
- In the Image dialog set the insertion point, Scale, and Rotation (or leave blank and place interactively).
- Click OK to place the image.
Steps (commands)
- Type IMAGEATTACH (or IMAGE) at the command line, press Enter, browse to the file, and follow prompts for insertion point, scale, rotation.
Manage attached images
- Use the Xref manager (type XREF) or external references palette to view and manage image links.
- Use IMAGEFRAME system variable to show/hide the image frame (0 = off, 1 = on).
- Crop an image with IMAGECLIP.
- Adjust brightness/contrast with IMAGEADJUST.
Method 2 — Embed an image into the DWG
Purpose
Insert the image so it becomes part of the DWG and no external file is required.
Option A — Paste or Paste Special (Embed)
- Copy an image from an external program (Windows Paint, Photoshop, etc.).
- In AutoCAD, use the menu: Edit > Paste Special and choose Bitmap (or simple Paste). This embeds the image into the drawing.
Option B — Insert as OLE Object
- Go to Insert > Object.
- Choose Create from File, browse to your image, and check Link to file if you want a link — leave it unchecked to embed.
- Click OK. The OLE object is embedded and will travel with the DWG.
Option C — Convert attached image to embedded (pack)
- Some versions of AutoCAD can bind references or use tools like eTransmit or Reference Manager to package external files. For guaranteed embedding, use Paste Special or OLE.
Alternative methods and tools
- IMAGEATTACH / IMAGE: command-line for attaching images.
- IMAGECLIP: crop the displayed portion of a raster.
- IMAGEADJUST: change brightness, contrast, and fade.
- Xref Manager: attach and manage external references.
- eTransmit: package a drawing and its external references for sharing.
- Raster-to-vector conversion: if you need CAD geometry from an image, use specialized raster-to-vector tools or tracing in programs like AutoCAD raster design or third‑party converters.
Common errors and how to fix them
Image not showing (blank or missing)
- Check that the image file path is valid. If the image was moved, use the XREF manager or REPATH to point to the new location.
- Run the command IMAGE then Reload.
- Ensure IMAGEFRAME is set to 1 to see the image boundary.
- Use REGEN to refresh the drawing display.
Image displays but prints as blank
- Verify the image is not on a frozen or turned-off layer.
- Check plot style: some plot styles may affect raster output.
- If using an attached image, confirm the external file is accessible on the computer that prints.
- Try exporting to PDF to test raster printing.
Image looks low resolution or pixelated when printed
- Use a higher resolution original or increase DPI before embedding.
- Avoid scaling an image up drastically in AutoCAD; scale it in an image editor first.
- In the plot dialog, ensure raster quality settings are set to high.
Linked image becomes broken for collaborators
- Use Embed or use eTransmit to package the image with the DWG.
- Prefer relative paths when linking images within a shared project folder.
Large DWG file size after embedding
- Compress the image externally (lower DPI/quality) before embedding.
- Use linked XREFs when possible to keep DWG sizes small.
Practical tips and best practices
- Use relative paths for attached images in project folders so paths remain valid across machines.
- Keep images on a dedicated layer (e.g., IMAGES), set to Locked so you don’t accidentally move them.
- Use IMAGECLIP to remove unnecessary parts of large raster images.
- For georeferenced images (rasters for mapping), consider tools like Raster Design or attach with proper coordinates.
- When sharing drawings, prefer eTransmit to include linked image files, or embed images if recipients won’t receive external files.
- To reduce DWG size, compress images before embedding or attach them instead of embedding.
- If you need vector output from a raster, explore raster-to-vector conversion — tracing manually or using a plugin yields cleaner CAD geometry.
FAQ
Can I attach a PDF page as an image in AutoCAD?
Yes. You can import PDF as an underlay (PDFIMPORT or PDFATTACH) or convert the page to a raster (JPEG/PNG) and attach it. For editable vector content, use PDFIMPORT to convert vector geometry to DWG entities.
How can I make sure others can open my DWG with the attached images?
Either embed the images or share the DWG together with the image files (use eTransmit). If you attach images, use relative paths and keep the images inside a shared project folder.
Will embedding images increase my DWG file size a lot?
Embedding images will increase file size depending on the image resolution and format. Compress images or reduce DPI before embedding to limit size growth.
How do I crop or hide parts of an attached image?
Use the IMAGECLIP command to create a clipping polygon that hides portions of the attached image. You can also place the image on a layer and apply masks.
Can I convert an attached Raster image into CAD geometry?
Not directly. You need raster-to-vector conversion (manual tracing or software like AutoCAD Raster Design or third‑party converters) to convert raster pixels into vector entities.
Why is my attached image offset or the wrong scale when inserted?
Double-check the insertion point, scale, and rotation during insertion. If the image came from GPS/georeferenced data, ensure Coordinate systems and units match your drawing units.
How do I update an attached image after editing the source file?
If the path is intact, AutoCAD will show the updated image after you reload it in the XREF manager or use the IMAGE commands. Sometimes a REGEN or closing/reopening the drawing can refresh the display.
Is it better to attach images or embed them for printing?
If file size and manageability matter, attach and ensure the image file is available to the printer or plotting PC. For guaranteed portability, embed the image so it prints without external files.
