If you need a complete, practical guide to working with raster images in AutoCAD, this article explains what a Raster image is, why and when to use it, step‑by‑step instructions to insert and edit images, alternative methods, common errors and fixes, plus productivity tips and a focused FAQ.
What is a raster image in AutoCAD?
A raster image (also called a bitmap image) is a grid of pixels—formats such as JPEG, PNG, TIFF, BMP—that can be attached to an AutoCAD drawing as an image reference. In AutoCAD, a raster image is typically handled as an external file that you attach to the drawing and display as part of the drafting environment. Raster images are ideal for scanned drawings, aerial photos, maps, logos, and photographic backgrounds.
Why use raster images in AutoCAD?
- To include scanned paper drawings and convert or trace them into CAD geometry.
- To use background photos or site imagery for context or presentation.
- For georeferenced maps and orthophotos when working with site surveys and GIS data.
- To overlay as a visual reference when drafting or verifying existing conditions.
- To include company logos or raster graphics for plotting and prints.
Benefits: easy to attach, visual realism, fast to display at moderate sizes. Limitations: not scalable as vector geometry (loss of quality when scaled up) and can impact drawing performance if images are large or numerous.
Supported file formats and best practices
- Common supported formats: JPEG (.jpg), PNG (.png), TIFF (.tif/.tiff), BMP (.bmp), GIF (.gif). For geospatial work prefer GeoTIFF or TIFF + world file (.tfw).
- For better print and trace quality use TIFF or high‑quality PNG (supports transparency).
- Keep resolution appropriate to task: 150–300 dpi for printing; lower for on‑screen drafting.
- Use relative paths for images when sharing drawings to avoid broken links.
- Store images outside the drawing (as external references) rather than embedding to keep file size down.
How to insert (attach) a raster image — step‑by‑step
- Open your drawing.
- Use the command line or Ribbon:
- Command: IMAGEATTACH
- Or: Insert tab > Reference panel > Attach Image
- In the dialog, browse and select the image file (JPG/PNG/TIFF/BMP).
- Choose path type: Full Path, Relative Path, or No Path. (Use Relative for folders shared with collaborators.)
- Set insertion point, Scale, and Rotation angle:
- You can specify coordinates or click in the drawing to place.
- Enter scale (1 = no change) or place by reference.
- Click OK. The image appears as an External reference listed in the External References palette.
Alternative insertion methods:
- drag and drop an image file into the drawing (AutoCAD will prompt to attach).
- Use External References palette (XR) to attach or manage images.
How to edit raster images (crop, scale, adjust, replace)
basic editing can be done within AutoCAD; major image edits are best done in an image editor.
Image selection and properties:
- Select the image to view properties in the Properties palette (scale, rotation, path).
- Toggle image frame display with command IMAGEFRAME (1 = on/frame visible, 0 = frame not visible but still selectable).
Cropping / clipping:
- Command: IMAGECLIP
- Select the image, choose New boundary, then pick Rectangular or Polygonal to define the visible area.
- To remove clipping: IMAGECLIP > select image > Delete clipping boundary.
Adjust brightness/contrast/fade:
- Command: IMAGEADJUST or use the Raster Image ribbon contextual tab.
- Adjust Brightness, Contrast and Fade sliders for on‑screen visibility (fade is useful for tracing).
Scaling and rotating:
- Use standard commands SCALE and ROTATE on the image object.
- Or change Scale X/Y in the Properties palette for precise numeric control.
Replacing or updating the source image:
- Open External References palette (command: XR).
- Select the image, then Reload, Unload, Detach, or Replace Reference to link a different file.
- If the image path is broken (missing), use the External References palette to find and reattach the source.
Moving an image:
- Use MOVE or drag by grips. Images behave like external references but can be transformed like other objects.
Georeferencing images and working with maps
For site plans, surveys and GIS workflows:
- If you have a georeferenced image (GeoTIFF or TIFF + world file), use MAPIINSERT (Map 3D) or attach and AutoCAD will read coordinate info when supported.
- If your image is not georeferenced, use the ALIGN command:
- Attach image roughly.
- Run ALIGN, select the image, pick at least two or three known control points on the image and corresponding points in the drawing.
- AutoCAD will scale/rotate/translate to fit the control points.
- For professional GIS workflows use AutoCAD Map 3D or Civil 3D for dedicated georeferencing tools.
raster to vector (tracing) options
- Manual tracing: use PLINE, LINE, SPLINE snapping to image pixels for highest control—suitable for simpler drawings.
- Automated conversion: Autodesk raster design (separate product) offers vectorization (feature extraction) to convert raster lines into polylines and text recognition.
- Third‑party tools: Scan2CAD, RasterVect, and online services can convert images to DWG/SVG formats.
- Tips for tracing: clean the image first (remove noise, increase contrast), use higher resolution, and apply IMAGEADJUST in AutoCAD to improve visibility.
Common problems and fixes
- Image not visible / “missing reference” icon:
- Fix: Open External References (XR) and Reload or Attach the file. Check path (full vs relative). Use Support File Search Path if needed.
- Very slow drawing performance with images:
- Solutions: turn IMAGEFRAME off, reduce image resolution or size, unload images you don’t need, set Display Performance lower, or use clipped images.
- Image not printing or printing at wrong scale:
- Check image scale in Properties. Ensure the image is not on a non‑printing layer. Verify plot settings and resolution; preview before plotting.
- Cannot select image:
- If IMAGEFRAME = 0, the frame is hidden; use the selection window or set IMAGEFRAME to 1 temporarily. You can also select via External References palette.
- Colors or quality look poor:
- Use a higher resolution image, choose a better format (TIFF/PNG), or adjust brightness/contrast with IMAGEADJUST.
Tips to optimize performance and workflow
- Store images in a dedicated project folder and use relative paths.
- Convert very large images to smaller, print‑scaled versions—keep a high‑res master outside AutoCAD.
- Use IMAGECLIP to crop images to only the area you need.
- Place images on their own layer and control visibility/plotting by layer.
- Use External References to manage, reload or detach images easily.
- For scans: deskew and clean in an image editor before attaching.
- When sharing drawings, include the image files or create a ZIP with the DWG and referenced images.
Alternative methods to include raster content
- OLE embedding: OLEATTACH embeds the image into the DWG (increases file size). Use only when a single-file deliverable is essential.
- Insert as a Block: convert image to a block for easy placement—but still references the external file unless embedded.
- PDF underlay: use PDFIMPORT or ATTACH PDF as underlay for vector and raster content mixed in PDFs.
- Use specialized products (Civil 3D / Map 3D / Raster Design) for advanced georeferencing, image processing, and raster-to-vector conversion.
FAQ
How do I fix the “Missing image” or broken reference error?
Open the External References palette (command: XR), locate the image reference, then Reload or Attach the correct file. If paths changed, set the path type to Relative and place the image in the same project folder as the DWG.
What is the best image format for printing from AutoCAD?
Use TIFF or high-quality PNG for best print fidelity. TIFF supports high resolution and geospatial variants (GeoTIFF). Avoid highly compressed JPEGs for linework because compression artifacts can affect trace quality.
How can I crop a raster image inside AutoCAD?
Use the command IMAGECLIP → select the image → choose New boundary → select Rectangular or Polygonal, then define the boundary. To restore, delete the clipping boundary.
Why does my image make AutoCAD slow or lag?
Large high-resolution images consume memory and GPU resources. Reduce image resolution, clip the image to the necessary region, or unload images you’re not editing.
Can I convert a scanned drawing into editable AutoCAD geometry automatically?
Yes—using Autodesk Raster Design or third‑party vectorization tools (e.g., Scan2CAD). For manual conversion, trace using PLINE and snapping. Automated conversion quality depends on scan clarity.
How do I georeference a scanned map if it has no coordinate data?
Attach the image, then use ALIGN with known control points (at least two, preferably three) to scale/rotate into place. For professional georeferencing, use Map 3D or a GIS tool that supports world files and Coordinate systems.
What is the difference between embedding an image and attaching it?
Embedding (OLE) stores the image inside the DWG, increasing file size. Attaching links to an external file (reference) which keeps the DWG smaller and allows easy updating via External References.
My image prints faded or too dark—how to adjust it?
Use IMAGEADJUST to modify Brightness, Contrast, and Fade. Also test plotting with different image file formats and check the plotter/printer color settings.
How do I maintain image links when sending a DWG to a coworker?
Place the DWG and all image files in the same project folder, use Relative paths when attaching, and send the folder as a ZIP so relative paths remain valid.
Can I change the resolution of an attached image from inside AutoCAD?
AutoCAD does not resample images; for changing resolution, edit the image in an external image editor (Photoshop, GIMP) and reattach the optimized file. You can scale on-screen with SCALE, but scaling does not increase pixel detail.
