Mercurial > hg > orthanc
changeset 4660:4e81412ead0a
in DICOMweb JSON, BulkDataURI is forced for sequences and pixel data
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 May 2021 12:46:06 +0200 |
parents | 38f5fb0885c4 |
children | b1d87d41874e |
files | OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.cpp Fri May 07 12:09:48 2021 +0200 +++ b/OrthancFramework/Sources/DicomParsing/DicomWebJsonVisitor.cpp Fri May 07 12:46:06 2021 +0200 @@ -429,7 +429,9 @@ * issue #195 (No need for BulkDataURI when Data Element is * empty): https://bugs.orthanc-server.com/show_bug.cgi?id=195 **/ - if (size > 0) + if (size > 0 || + tag == DICOM_TAG_PIXEL_DATA || + vr == ValueRepresentation_Sequence /* new in Orthanc 1.9.4 */) { switch (mode) {