Search found 1304 matches

by Marco Eichelberg
Fri, 2021-10-08, 17:14
Forum: DCMTK - General
Topic: Query: SM2 algorithm support
Replies: 2
Views: 396

Re: Query: SM2 algorithm support

DCMTK does not support SM2 encryption at the moment. The TLS implementation in DCMTK is based on the OpenSSL library, and that does not support any ShangMi (SM) based ciphersuites, not even in the latest version 3.0.0. That said, the ShangMi ciphersuites were only standardized as RFC 8998 in March 2...
by Marco Eichelberg
Fri, 2021-10-08, 17:04
Forum: DCMTK - General
Topic: question about dcpath.cc and EVR_metainfo
Replies: 1
Views: 288

Re: question about dcpath.cc and EVR_metainfo

I think this is a historical omission rather than a deliberate design feature. Under normal circumstances, a user should never have to specify a path to something in the meta-header.
by Marco Eichelberg
Fri, 2021-10-08, 17:01
Forum: DICOMscope - General
Topic: Mandatory DICOM attribute sequence "Basic Grayscale Image Sequence (2020,0110)" is missing in N-SET-RSP when DICOMscope
Replies: 2
Views: 579

Re: Mandatory DICOM attribute sequence "Basic Grayscale Image Sequence (2020,0110)" is missing in N-SET-RSP when DICOMsc

The behaviour you describe was a deliberate design choice. When sending the N-SET-RSP message, the print server omits the Basic Grayscale Image Sequence. Sending that sequence would be somewhat silly, because it would mean that the print server sends the entire image bitmap (which in a case of X-ray...
by Marco Eichelberg
Tue, 2021-08-31, 09:47
Forum: DCMTK - General
Topic: Decompressing large multiframe dataset
Replies: 1
Views: 358

Re: Decompressing large multiframe dataset

No, unfortunately DCMTK lacks this functionality. We support frame-by-frame decompression, and the transmission of a DICOM file without ever loading everything into memory, but this specific combination does not work, and would be rather difficult to implement.
by Marco Eichelberg
Sun, 2021-08-15, 21:31
Forum: DCMTK - General
Topic: Building without libwrap on FreeBSD
Replies: 5
Views: 532

Re: Building without libwrap on FreeBSD

One more thing: DCMTK 3.6.2 is from 2017, I would strongly recommend you to upgrade to the current release, DCMTK 3.6.6.
by Marco Eichelberg
Sun, 2021-08-15, 21:29
Forum: DCMTK - General
Topic: Building without libwrap on FreeBSD
Replies: 5
Views: 532

Re: Building without libwrap on FreeBSD

The symbol "locale_charset" is related to the iconv library and has nothing to do with libwrap. It seems that the detection routines have discovered some iconv functions, but apparently the library providing "locale_charset" is not linked. You can use the CMake variable "DCMTK_WITH_ICONV" to manuall...
by Marco Eichelberg
Sun, 2021-08-15, 21:26
Forum: DCMTK - General
Topic: question on DCM_MaxReadLength
Replies: 2
Views: 364

Re: question on DCM_MaxReadLength

Don't worry. DCM_MaxReadLength only specifies the threshold used by the parser to decide which element values should be read from a DICOM file immediately, and which ones should be only read on demand when really needed. When you send a dataset, this will be taken into account and the transmitted da...
by Marco Eichelberg
Fri, 2021-07-23, 16:34
Forum: DCMPRINT
Topic: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...
Replies: 8
Views: 1344

Re: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...

If you want your class PSVBasicFilmBox1 to be usable in place of PSVBasicFilmBox, then it must be derived from that class PSVBasicFilmBox1: public PSVBasicFilmBox { ... }; That would allow you to overload the n_create() method, which is virtual and thus permits overloading. However, that will not be...
by Marco Eichelberg
Tue, 2021-07-20, 10:57
Forum: DCMPRINT
Topic: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...
Replies: 8
Views: 1344

Re: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...

This is the code in PSVBasicFilmBox::n_create() where the value of Film Size is finally set. If you simply set filmSize to some other value, that other value will be used: if (config.section_valid(1)) { filmSize = TMPfilmSize; // <--- HERE filmSize.writeto(outobject, DCM_FilmSizeID); } else { status...
by Marco Eichelberg
Tue, 2021-07-20, 10:07
Forum: DCMPRINT
Topic: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...
Replies: 8
Views: 1344

Re: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...

I think the most appropriate place to check this would be the method PSVBasicFilmBox::n_create() , implemented in psvbfb.cc. This is the method that examines the incoming N-CREATE-RQ message for a new basic film box (i.e., page) and reads the Film Size attribute that determines the page size: else i...
by Marco Eichelberg
Thu, 2021-07-08, 10:56
Forum: DCMPRINT
Topic: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...
Replies: 8
Views: 1344

Re: DCMPRINT : psvlocsv.cc : Where does it receive the final ps size? eg A4,A3, ...

The print client selects the page size by sending the attribute (2010,0050) Film Size ID in the Basic Film Box N-CREATE-RQ message (i.e. the message that creates a new page of hardcopy). If the print client does not send the attribute, the print server will select its own default. In the DCMPRINT SC...
by Marco Eichelberg
Wed, 2021-06-23, 08:22
Forum: DCMTK - General
Topic: Adding new Tags
Replies: 3
Views: 516

Re: Adding new Tags

Have you created the "reservation" element (000b,00f0) (VR=LO, value="Manfredi_LS") in the dataset? This is required per DICOM rules, and this is how DCMTK would recognize the private tag as "belonging" to the creator "Manfredi_LS".
by Marco Eichelberg
Fri, 2021-05-28, 07:57
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 1323

Re: Secure Connection issue

I will commit this patch to DCMTK today, so it will appear in the next release. Of course it is your decision which modifications you want to deliver to your customers, but I would recommend that you include this modification.
by Marco Eichelberg
Mon, 2021-05-24, 17:42
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 1323

Re: Secure Connection issue

Yes, please. And please let me know if everything still works as expected after that change.
by Marco Eichelberg
Sun, 2021-05-23, 17:11
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 1323

Re: Secure Connection issue

You might want to try this patch. Note that this is a patch for DCMTK testing (i.e. the current git repository), not for DCMTK 3.6.6 release. diff --git a/dcmtls/libsrc/tlslayer.cc b/dcmtls/libsrc/tlslayer.cc index e2131c6c5..eff23f9c9 100644 --- a/dcmtls/libsrc/tlslayer.cc +++ b/dcmtls/libsrc/tlsla...