.. _doxcsid-class_p1_1_1_image_sdk_1_1_raw_image_1a8ca77ecf33dd9a002445c87d09896da2: RawImage.WriteAsJpeg Method +++++++++++++++++++++++++++ Definition """""""""" *Namespace:* ``P1.ImageSdk`` Writes the image as a jpeg file with customized metadata .. ref-code-block:: csharp :class: doxyrest-overview-code-block public bool WriteAsJpeg(string filename, :ref:`IBitmapImage` bitmap, :ref:`MetaDataBase` db, :ref:`JpegConfig` config); :ref:`P1.ImageSdk.JpegConfig ` .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - filename - The full path of the file's location * - bitmap - The rendered bitmap returned by :ref:`Convert() ` * - db - Database for meta data * - config - The jpeg metadata related configuation .. rubric:: Returns: True if succeeds