how to set TransferSyntax for dataset.

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
vishu2111
Posts: 35
Joined: Thu, 2013-11-21, 13:42

how to set TransferSyntax for dataset.

#1 Post by vishu2111 »

hi,

I want to set TransferSyntax to dataset.which method should I use?

Michael Onken
DCMTK Developer
Posts: 2052
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

Re: how to set TransferSyntax for dataset.

#2 Post by Michael Onken »

Hi,

use chooseRepresentation on an instance of DcmDataset.

Look into tool's source code like dcmconv.cc or dcmcrle.cc how it is used if you need code examples.

Best,
Michael

vishu2111
Posts: 35
Joined: Thu, 2013-11-21, 13:42

Re: how to set TransferSyntax for dataset.

#3 Post by vishu2111 »

thanks ....

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Baidu [Spider], Bing [Bot] and 1 guest