.. highlightlang:: us .. index:: ImageSaveAs .. _imagesaveas: ImageSaveAs =========== .. us.tag ImageSaveAs NOTREADYENGLISH Image ImageSet New400 Changed6000 :ref:`ImageSaveAs` saves the picture in its orignal format as a file. .. function:: bool = ImageSaveAs(hImg, ssFileName) bool = ImageSaveAs(hImg, ssFileName, ssEncoding, dpi, quality) .. us.return **Return Value** If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0). .. us.params **Parameters** .. uparam:: hImg Identifies the image. .. uparam:: ssFileName *ssFileName* is the complete filename. .. uparam:: ssEncoding *ssEncoding* ist einer der folgenden Strings: ``"png"``, ``"jpg"``, ``"gif"``, ``"tif"``, ``"bmp"``. .. uparam:: dpi *dpi* .. uparam:: quality *quality* .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - R2018 - * - 4.0 - New. .. seealso:: :ref:`overview-pictures`, :ref:`ImageCreate`, :ref:`PageSaveAsBitmap` :sub:`id-1357194`