comparison OrthancServer/Sources/ServerContext.h @ 5426:c65e036d649b

StorageCache is now storing transcoded instances + added ?transcode=... option to the /file route.
author Alain Mazy <am@osimis.io>
date Thu, 16 Nov 2023 16:09:04 +0100
parents 16cbfefa15e9
children 111e21b4f8bc
comparison
equal deleted inserted replaced
5425:e2c9f9d9700e 5426:c65e036d649b
554 virtual bool Transcode(DicomImage& target, 554 virtual bool Transcode(DicomImage& target,
555 DicomImage& source /* in, "GetParsed()" possibly modified */, 555 DicomImage& source /* in, "GetParsed()" possibly modified */,
556 const std::set<DicomTransferSyntax>& allowedSyntaxes, 556 const std::set<DicomTransferSyntax>& allowedSyntaxes,
557 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; 557 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE;
558 558
559 virtual bool TranscodeWithCache(std::string& target,
560 const std::string& source,
561 const std::string& sourceInstanceId,
562 DicomTransferSyntax targetSyntax);
563
559 bool IsTranscodeDicomProtocol() const 564 bool IsTranscodeDicomProtocol() const
560 { 565 {
561 return transcodeDicomProtocol_; 566 return transcodeDicomProtocol_;
562 } 567 }
563 568