Skip to main content

Speos Labs automation APIs 2024 R1

ExportXMPtoHDRI

Last update: 17.07.2025

Description

Exports a XMP map as HDRI file. Returns a value different from 0 if no error has occurred.

Syntax

object.ExportXMPtoHDRI(string bstrFileName, integer iFormat) As Short

  • object: Virtual Photometric Lab or Virtual Human Vision Lab object

  • bstrFileName: path and filename of the HDRI. Should end by .hdr for RGBE files, .exr for OpenEXR files.

  • iFormat: format of the output file, 0 for OpenEXR, 1 for RGBE.

Connect with Ansys