.. _doxcsid-class_p1_1_1_image_sdk_1_1_raw_image_1a7835276039170da6f2a535451222808d: RawImage.WriteAsJp2 Method ++++++++++++++++++++++++++ Definition """""""""" *Namespace:* ``P1.ImageSdk`` Writes the image as a jpeg 2000 file with customized metadata .. ref-code-block:: csharp :class: doxyrest-overview-code-block public bool WriteAsJp2(string filename, :ref:`IBitmapImage` bitmap, :ref:`MetaDataBase` db, :ref:`Jp2Config` config); :ref:`P1.ImageSdk.Jp2Config ` .. 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 2000 metadata related configuation .. rubric:: Returns: True if succeeds