ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > MD Component API Reference > MD Component Functions Reference > Data Set Functions > MED_DCM_DS_TS_set

This function sets the Transfer Syntax value in the Part 10 Header for "Transfer Syntax UID" Data Element (0002,0010).


Copy Code
        HIGEAR hIGear, 
        const AT_MODE Transfer_syntax


Name Type Description
hIGear HIGEAR HIGEAR handle of the image.
Transfer_syntax const AT_MODE Set to the type of transfer syntax that you would like to store in the Transfer Syntax field of the Part 10 header.

Return Value:

Returns the number of ImageGear errors that occurred during the function call.

Supported Raster Image Formats:

This function does not process image pixels.

The image must have a DICOM DataSet attached to it. Use MED_DCM_DS_exists to check whether the image contains a DataSet.


This value overrides that set by MED_DCM_DS_create() function.

Transfer_syntax must be set to one of the following supported Transfer Syntax constants:

Is this page helpful?
Yes No
Thanks for your feedback.