Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 4139:a4f28efdfccf
"maxTagLength" must be explicitly given to ParsedDicomFile::ExtractDicomSummary()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 06 Aug 2020 18:25:47 +0200 |
parents | d6362b2c4b61 |
children | 0ddc5297a8ab |
comparison
equal
deleted
inserted
replaced
4138:1a26daefc3fe | 4139:a4f28efdfccf |
---|---|
570 * Retrieve a summary of the DICOM tags, which is | 570 * Retrieve a summary of the DICOM tags, which is |
571 * necessary to deal with MONOCHROME1 photometric | 571 * necessary to deal with MONOCHROME1 photometric |
572 * interpretation, and with windowing parameters. | 572 * interpretation, and with windowing parameters. |
573 **/ | 573 **/ |
574 ServerContext::DicomCacheLocker locker(context, publicId); | 574 ServerContext::DicomCacheLocker locker(context, publicId); |
575 locker.GetDicom().ExtractDicomSummary(dicom); | 575 locker.GetDicom().ExtractDicomSummary(dicom, ORTHANC_MAXIMUM_TAG_LENGTH); |
576 } | 576 } |
577 } | 577 } |
578 catch (OrthancException& e) | 578 catch (OrthancException& e) |
579 { | 579 { |
580 if (e.GetErrorCode() == ErrorCode_ParameterOutOfRange || | 580 if (e.GetErrorCode() == ErrorCode_ParameterOutOfRange || |