Hi I'm trying to send a embedded jpg file to our pacs.
using -xe network option.
It doesn't work, not able to convert dataset.
Any clues? Our pacs doesn't like compressed jpg. I did sent the file with Osirix to the pacs using Explicit Little Indian. That worked. But I would like to use storescu.exe to automate the process.
Rob
C:\dcmtk\bin>storescu -xe -v 192.168.110.227 104 124.503.dcm
I: checking input files ...
I: Requesting Association
I: Association Accepted (Max Send PDV: 16372)
I: Sending file: 124.503.dcm
I: Transfer Syntax: JPEGBaseline -> LittleEndianImplicit
I: Sending Store Request: MsgID 1, (SC)
XMIT: W: DIMSE Warning: (STORESCU,ANY-SCP): sendMessage: unable to convert datas
et from 'JPEG Baseline' transfer syntax to 'Little Endian Implicit'
E: Store Failed, file: 124.503.dcm:
E: 0006:020e DIMSE Failed to send message
E: Store SCU Failed: 0006:020e DIMSE Failed to send message
I: Aborting Association
storescu send jpg with explicite little indian
Moderator: Moderator Team
-
- Posts: 101
- Joined: Wed, 2009-07-08, 16:06
- Location: Oldenburg, Germany
Try to recompile storescu application source file with the ON_THE_FLY_COMPRESSION macro defined.
This should allow compression on the fly before sending the file in case that the accepted transfer syntax is different from the actual transfer syntax of the file.
Code: Select all
#define ON_THE_FLY_COMPRESSION
-
- DCMTK Developer
- Posts: 2504
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
That's correct, storescu does not support the decompression of DICOM images - at least not officially. You could either run dcmdjpeg in order to decompress the image before sending it to the PACS or you could give the brand-new dcmsend a try:
dcmsend is not yet part of the current snapshot, so you have to use the git repository in the meantime.
Code: Select all
dcmsend --verbose --decompress-lossy 192.168.110.227 104 124.503.dcm
-
- DCMTK Developer
- Posts: 2504
- Joined: Tue, 2011-05-03, 14:38
- Location: Oldenburg, Germany
- Contact:
Who is online
Users browsing this forum: Bing [Bot] and 1 guest