Search found 5 matches

by frank83
Thu, 2021-11-18, 11:17
Forum: DCMTK - General
Topic: How to over-write a modified DICOM file?
Replies: 4
Views: 3231

Re: How to over-write a modified DICOM file?

That's clear, thanks! :)
by frank83
Thu, 2021-11-18, 10:39
Forum: DCMTK - General
Topic: How to over-write a modified DICOM file?
Replies: 4
Views: 3231

Re: How to over-write a modified DICOM file?

By default, the call of loadFile() does not load all element values into main memory, only those that are smaller than 4 kbytes. Just for curiosity, if loadFile(SrcName) does not load all values, how is it possible that saveFile(DstName) works fine only in case SrcName != DstName ? Is saveFile() ca...
by frank83
Fri, 2021-11-12, 14:21
Forum: DCMTK - General
Topic: dcmodify vs. "ISO_IR 192" character set
Replies: 8
Views: 8065

Re: dcmodify vs. "ISO_IR 192" character set

Thank you so much!
by frank83
Fri, 2021-11-12, 13:04
Forum: DCMTK - General
Topic: dcmodify vs. "ISO_IR 192" character set
Replies: 8
Views: 8065

Re: dcmodify vs. "ISO_IR 192" character set

You could also try with "-if file.txt", where file.txt contains the UTF-8 encoded string of characters. Thank you so much for the prompt reply, I tried the following: dcmodify -v -nb -if "(0010, 2297)"=file.txt 0000.dcm and it works! But I have a question: is there a more effici...
by frank83
Thu, 2021-11-11, 17:33
Forum: DCMTK - General
Topic: dcmodify vs. "ISO_IR 192" character set
Replies: 8
Views: 8065

Re: dcmodify vs. "ISO_IR 192" character set

Hello everybody, I have a similar issue while using dcmodify with umlaut chars, like this: dcmodify -v -nb -i "(0x0010, 0x2297)=Rossi^Märio" 0000.dcm This call seems to generate a wrong dicom file even if the starting dicom has the right charset "ISO_IR 192" (Utf-8). Any hints on...