changeset 654:25f25a8340f4

log unexpected transcoding
author Alain Mazy <am@orthanc.team>
date Mon, 29 Apr 2024 16:27:54 +0200
parents 0a1f87f54a20
children c59955903971
files Plugin/WadoRsRetrieveFrames.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugin/WadoRsRetrieveFrames.cpp	Fri Apr 26 17:23:49 2024 +0200
+++ b/Plugin/WadoRsRetrieveFrames.cpp	Mon Apr 29 16:27:54 2024 +0200
@@ -480,6 +480,7 @@
       // note: these 2 syntaxes are not supposed to be used in retrieve frames
       // according to https://dicom.nema.org/MEDICAL/dicom/2019a/output/chtml/part18/chapter_6.html#table_6.1.1.8-3b
       // "The Implicit VR Little Endian (1.2.840.10008.1.2), and Explicit VR Big Endian (1.2.840.10008.1.2.2) transfer syntaxes shall not be used with Web Services."
+      LOG(INFO) << "The file is in a transfer syntax " << currentSyntaxString << " that is not allowed by the DICOMWeb standard -> it will be transcoded to Little Endian Explicit";
       targetSyntax = Orthanc::DicomTransferSyntax_LittleEndianExplicit;
     }