I am maintaining a large Program with a graphical editor. Our Program can export DXF and it can show Background Raster Images of various types (TIFF, JPG, BMP etc.).

Is it possible to embed these Raster Images in the DXF export so that they will be displayed when such a file is opened with AutoCad?


Yes, DXF supports embedded raster images. It saves them as BMP-type bitmaps, so no compression, mucho space bloat. They use type 310 tags, followed by the hex value of the raw image. I haven't figured out all the details.

To see how it's done, create an AutoCAD drawing with an embedded image, as described in one of these sites:



Save the drawing as a DXF, then figure out empirically what tags to include.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.