# How to export a .dwg drawing to a raster image (.bmp, .jpeg, .png)?

 1. [FAQ](/ja/faq)
2. »
3. [Export Questions](/faq/export-questions)

To export a dwg drawing to a raster image file:

1. *Get the device for bitmap creation.*
2. *Load the RxRasterServices module.*
3. *Set the raster image parameters (e.g., width, height, bits per pixel, etc.).*
4. *Call the saveRasterImage() method of the raster services object.*

For more details, see sources of TD\_RasterExport module (Kernel\\Exports\\RasterExport\\).
