Search found 1301 matches

by Marco Eichelberg
Tue, 2021-08-31, 09:47
Forum: DCMTK - General
Topic: Decompressing large multiframe dataset
Replies: 1
Views: 116

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: 189

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: 189

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: 98

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: 594

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: 594

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: 594

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: 594

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: 229

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: 721

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: 721

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: 721

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...
by Marco Eichelberg
Fri, 2021-05-21, 12:19
Forum: DCMTK - General
Topic: Secure Connection issue
Replies: 9
Views: 721

Re: Secure Connection issue

Then I will probably have to reproduce and debug the issue here. Can you provide me with further details on what exactly you do on the SCU side (which DVT tool, which version, which settings, how are certificates configured) ?
by Marco Eichelberg
Thu, 2021-05-20, 17:16
Forum: DCMTK - General
Topic: Store SCU TCP I/O Error - An existing connection was forcibly closed by the remote host.) occurred in routine: writeData
Replies: 1
Views: 176

Re: Store SCU TCP I/O Error - An existing connection was forcibly closed by the remote host.) occurred in routine: write

You might have to check log files on the Q/R SCU side. The error message simply indicates that the network connection was "suddenly" and unexpectedly lost, which could be caused by some network issue, but often simply means that the process receiving the image has crashed, which should leave a trace...
by Marco Eichelberg
Wed, 2021-05-19, 16:54
Forum: DCMTK - General
Topic: MacOS with M1 processor
Replies: 2
Views: 363

Re: MacOS with M1 processor

Our team currently has no access to a Mac with M1 processor, so we cannot reproduce the issue. The error report seems to indicate that the dcmdata library (which is a part of DCMTK) was either not correctly compiled or not correctly installed.