Search found 1280 matches

by Marco Eichelberg
Thu, 2018-11-01, 12:48
Forum: DCMTK - Installation
Topic: Problem building with OpenSSl support on macOS
Replies: 8
Views: 3339

Re: Problem building with OpenSSl support on macOS

It is true that DCMTK up to release 3.6.2 compiled with very old OpenSSL releases. The TLS code in DCMTK has been completely revised recently, implementing newer security profiles meanwhile defined in the DICOM standard. In particular, we now require TLS 1.2 which in turn needs OpenSSL 1.0.2. DCMTK ...
by Marco Eichelberg
Thu, 2018-11-01, 12:38
Forum: DCMTK - General
Topic: movescu can not retrieve image file
Replies: 15
Views: 5775

Re: movescu can not retrieve image file

Also note: the retrieve request is not well-formed. A study level retrieve request in the Study Root Q/R model must not contain a Patient ID.
by Marco Eichelberg
Tue, 2018-10-23, 12:28
Forum: DCMCHECK
Topic: Updating the Data Dictionary of dcmcheck
Replies: 2
Views: 3707

Re: Updating the Data Dictionary of dcmcheck

Exactly. DCMCHECK 2.0 is based on DCMTK 3.5.2 and does not yet know about VRs like UC, UR or OL. If you remove these tags from the data dictionary, this will be one step forward. There is one more thing you will have to do: DCMCHECK checks if the readable attribute names in its script files are cons...
by Marco Eichelberg
Tue, 2018-09-04, 11:30
Forum: DCMTK - General
Topic: Signed Short Pixel Representation sample file
Replies: 1
Views: 1033

Re: Signed Short Pixel Representation sample file

1. Changing just the pixel representation = 1 should NOT ideally work as the pixel itself has to be now in Signed Short format right ? In a Basic Grayscale Image Box N-SET-RQ, Pixel Representation is required to have the value 0 (as per the definition of the service in DICOM part 4). DCMTK checks t...
by Marco Eichelberg
Mon, 2018-09-03, 19:26
Forum: DCMPRINT
Topic: Re-printing stored print objects
Replies: 13
Views: 5070

Re: Re-printing stored print objects

Both the DICOM print implementation in the free toolkit, and DCMPRINT have the ability to store incoming print jobs using the DICOM Stored Print and Hardcopy Grayscale/Color Image SOP Classes. When you are using the DCMPRINT print server (tcpsrv), you can use the --stored-print and --forward command...
by Marco Eichelberg
Sun, 2018-07-29, 09:39
Forum: DCMTK - General
Topic: Cannot determine start fragment: basic offset table is empty
Replies: 4
Views: 1726

Re: Cannot determine start fragment: basic offset table is e

I also had a look at the image. The reason why direct frame-wise access did not work is actually that the image is faulty: The image contains 139 frames, but NumberOfFrames is only 138. As you perhaps know, the DICOM standard allows JPEG compressed data to be store in a fragmented manner, i.e. there...
by Marco Eichelberg
Tue, 2018-04-03, 08:37
Forum: DCMTK - General
Topic: bug in poll/connect
Replies: 2
Views: 1348

Re: bug in poll/connect

Thanks for your posting. We are aware of the pull request, and it's on the "to do list" (I think Michael Onken is working on it currently).
by Marco Eichelberg
Mon, 2018-02-19, 15:52
Forum: DCMTK - General
Topic: dcmj2pnm: RLE Lossless problem with US Singleframe Image
Replies: 6
Views: 2459

Re: dcmj2pnm: RLE Lossless problem with US Singleframe Image

No, I don't think so. The error is somewhere in the middle of the RLE bytestream, and I cannot imagine any network receiver or CD/DVD burning tool to mess with this at this low level. My best guess is that the invalid RLE bytestream comes directly from the modality. The easiest way of avoiding that ...
by Marco Eichelberg
Mon, 2018-02-19, 15:48
Forum: DCMTK - General
Topic: Open SSL Cipher Suites
Replies: 10
Views: 4206

Re: Open SSL Cipher Suites

Well, at this point you'll probably have to check things with the debugger. I noticed that the new cipher suites you refer to are TLSv1.2 suites. You should probably check which TLS version is proposed by the client, and which version(s) the server is willing to accept. The error code "unspecified T...
by Marco Eichelberg
Sun, 2018-02-18, 12:19
Forum: DCMTK - General
Topic: dcmj2pnm: RLE Lossless problem with US Singleframe Image
Replies: 6
Views: 2459

Re: dcmj2pnm: RLE Lossless problem with US Singleframe Image

Thanks for the sample image. The patch you refer is indeed in the code, but does not help here. The workaround to fill in the last missing pixels with the value of the last pixel only works at the very end of the pixel data element, i.e. if the pixel data element is for some reason truncated. In thi...
by Marco Eichelberg
Tue, 2018-02-13, 10:24
Forum: DCMTK - General
Topic: Open SSL Cipher Suites
Replies: 10
Views: 4206

Re: Open SSL Cipher Suites

In order to add support for a specific TLS ciphersuite in DCMTK, you have to do the following: Make sure that the ciphersuite is supported in the OpenSSL library you compile against (e.g. OpenSSL 1.1.0 needs to be compiled with specific flags to enable 3DES) Add the ciphersuite to the list of known ...
by Marco Eichelberg
Tue, 2017-12-19, 17:18
Forum: DCMTK - General
Topic: Issue related to FAQ: cannot change to unencapsulated repres
Replies: 11
Views: 5875

Re: Issue related to FAQ: cannot change to unencapsulated re

To my knowledge, the "Se" parameter is used for spectral selection in progressive, lossy JPEG and should never be != 0 in a lossless JPEG bitstream. So this really looks like an invalid JPEG bitstream. Viewers that can successfully open it might either internally use the defective codec that has pro...
by Marco Eichelberg
Mon, 2017-11-13, 09:38
Forum: DCMTK - FAQ
Topic: FAQ #49: DCMTK for other languages than C++?
Replies: 0
Views: 4867

FAQ #49: DCMTK for other languages than C++?

:?: Is DCMTK available in other programming languages than C++? :!: No, we do not offer any other version of DCMTK. If you need an open source DICOM library for other programming languages/environments, you will have to look elsewhere. Some possible alternatives are: Java: DCM4CHE Toolkit & Library ...
by Marco Eichelberg
Fri, 2017-11-03, 09:36
Forum: DCMTK - Installation
Topic: DCMTK on visual studio 2017 with ssl
Replies: 15
Views: 13615

Re: DCMTK on visual studio 2017 with ssl

The following post https://www.openssl.org/blog/blog/2016/08/24/sweet32/ explains the issue: Starting with OpenSSL 1.1.0, support for the 3DES ciphers is disabled by default. OpenSSL has to be configured with the “enable-weak-ssl-ciphers” option before compiling to re-active 3DES support. I guess we...
by Marco Eichelberg
Thu, 2017-09-28, 14:15
Forum: DCMTK - General
Topic: dcmj2pnm segfault with large multiframe US
Replies: 20
Views: 13178

Re: dcmj2pnm segfault with large multiframe US

The bug has been registered in our bug tracker as issue #793: http://support.dcmtk.org/redmine/issues/793