# How to specify the file format of a raster image when exporting a drawing?

 1. [FAQ](/faq)
2. »
3. [Raster Image Questions](/faq/raster-image-questions)

You can specify the raster image format using the Type parameter of the RxRasterServices::saveRasterImage() method. Or, if Type is not specified, the file extension is used.

For more information, please refer to the RasterExport sample application (Kernel/Exports/RasterExport/Source/RasterExportCmd.cpp).
