Search found 1235 matches

by Marco Eichelberg
Thu, 2019-09-26, 08:39
Forum: DCMTK - General
Topic: Memory leak in DiPNGPlugin::write
Replies: 1
Views: 36

Re: Memory leak in DiPNGPlugin::write

Thank you very much for the bug report. I can confirm that the memory leak is present and that your proposed patch fixes the problem. The memory leak has been present since the introduction of class DiPNGPlugin with DCMTK 3.5.3 in 2004. The leak has been fixed now with commit #dd3d2034a, which shoul...
by Marco Eichelberg
Mon, 2019-08-19, 09:08
Forum: DCMTK - Installation
Topic: MSVCP DLL is missing...
Replies: 1
Views: 97

Re: MSVCP DLL is missing...

This DLL is part of the Visual C++ Redistributable for Visual Studio 2012, which can be downloaded here (microsoft.com)
by Marco Eichelberg
Mon, 2019-06-24, 11:36
Forum: DCMTK - General
Topic: Possible memory leaks when using DVInterface with OPENSLL
Replies: 2
Views: 180

Re: Possible memory leaks when using DVInterface with OPENSLL

See also the documentation here: https://www.openssl.org/docs/man1.1.1/m ... eanup.html
Normally, a manual call to OPENSSL_cleanup() should not be necessary and is not recommended, at least for newer OpenSSL versions.
by Marco Eichelberg
Fri, 2019-06-21, 16:26
Forum: DCMTK - General
Topic: Possible memory leaks when using DVInterface with OPENSLL
Replies: 2
Views: 180

Re: Possible memory leaks when using DVInterface with OPENSLL

DCMTK does indeed not call OPENSSL_cleanup() or any other OpenSSL cleanup function. Normally, one would do that right before the application ends, but then the cleanup only makes a difference for a memory leak checker, not for the real application. DCMTK does never unload/reload an OpenSSL dll/share...
by Marco Eichelberg
Wed, 2019-05-22, 08:48
Forum: DCMPRINT
Topic: PostScript images very large (about 140 Mb)
Replies: 3
Views: 260

Re: PostScript images very large (about 140 Mb)

If the size of the Postscript files has changed, then there are two possible reasons: The imaging modality produces images of much higher resolution The workstation has received a software update that changes the way printjobs are created. I have seen many workstations that tend to render all images...
by Marco Eichelberg
Thu, 2019-04-25, 12:41
Forum: DCMTK - General
Topic: DCMTK with TLS
Replies: 4
Views: 3417

Re: DCMTK with TLS

As a general remark, it is not a good idea to post a follow-up question to someone else's thread. The chances are rather high that nobody will see this. Now concerning your question: When you use the --add-cert-dir option, the certificate files in the cert directory must have specific filenames, bec...
by Marco Eichelberg
Mon, 2019-04-22, 11:01
Forum: DCMTK - General
Topic: compressing frames
Replies: 1
Views: 195

Re: compressing frames

It should be possible to implement that with DCMTK, although not very efficient in some cases: DCMTK does support decompression of individual frames, but not compression of individual frames of a multi-frame image. I would use the dcmcjpeg command line tool as a starting point, since it already does...
by Marco Eichelberg
Tue, 2019-04-09, 15:37
Forum: Other DICOM Tools
Topic: How DCMSIGN Verification Works?
Replies: 1
Views: 283

Re: How DCMSIGN Verification Works?

I suppose the answer will come too late to be useful, but it's actually rather simple: The DICOM standard offers a specification on how a digital signature can be created for a certain DICOM object (e.g. image or report) and stored inside the same object/file. A reader that supports digital signatur...
by Marco Eichelberg
Tue, 2019-04-09, 15:29
Forum: DCMTK - General
Topic: Dcm2pdf sometimes creates corrupted pdf.
Replies: 2
Views: 363

Re: Dcm2pdf sometimes creates corrupted pdf.

The bug has been fixed meanwhile in commit #52cf5b48c.
by Marco Eichelberg
Tue, 2019-04-09, 15:27
Forum: DCMPRINT
Topic: TCPSRV Landscape printing
Replies: 2
Views: 235

Re: TCPSRV Landscape printing

This is unfortunately not possible. The definitions of the page size and portrait/landscape orientation are independent from each other. When a page is set to landscape mode, the size definition from the configuration file is rotated by 90 degrees.
by Marco Eichelberg
Fri, 2018-11-30, 15:43
Forum: DCMTK - General
Topic: ftoa incorrect conversion of numeric_limits<double>::max
Replies: 1
Views: 233

Re: ftoa incorrect conversion of numeric_limits<double>::max

Thanks for the report. I have logged this in the DCMTK issue tracker as issue 860.
by Marco Eichelberg
Sun, 2018-11-25, 11:54
Forum: DCMTK - General
Topic: Accepted transfer syntax
Replies: 1
Views: 931

Re: Accepted transfer syntax

I guess the answer comes a bit late, but it's actually quite simple. The algorithm will accept the first transfer syntax from your own list of preferences that was proposed by the caller, so in this case, the result would be LittleEndianExplicit.
by Marco Eichelberg
Sun, 2018-11-25, 11:46
Forum: DCMTK - General
Topic: Questions about timeouts.
Replies: 2
Views: 421

Re: Questions about timeouts.

The ARTIM timer is described in detail in DICOM part 9 and only handles very specific timeout conditions: A network connection was received but no A-ASSOCIATE-RQ was received before the ARTIM timer expires An association was rejected (A-ASSOCIATE-RQ) and the remote side has not closed the connection...
by Marco Eichelberg
Sun, 2018-11-25, 11:37
Forum: DCMTK - General
Topic: Bug #373
Replies: 1
Views: 324

Re: Bug #373

Thanks for the information. Your description of the condition under which the bug occurs should be precise enough to allow us to fix this. This will not make it into DCMTK 3.6.4, though, which is due for release in a couple of days.
by Marco Eichelberg
Sun, 2018-11-25, 11:33
Forum: DCMTK - General
Topic: TLS standard version when OpenSSL version < 1.1.0
Replies: 2
Views: 397

Re: TLS standard version when OpenSSL version < 1.1.0

Brief Answer: In the public git repository of the DCMTK project you can find a completely revised implementation of the TLS support that will be released in the upcoming DCMTK 3.6.4 release. Check how we have approached this topic there. Long Answer: You cannot use the TLS_* methods with OpenSSL 1.0...