Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerContext.h @ 5363:3c8286e5d07b multiple-jpeg-decoders
wip: try to add a jpeg decoder without colorspace conversion: not working now
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 11 Jul 2023 10:25:58 +0200 |
parents | 566e8d32bd3a |
children |
comparison
equal
deleted
inserted
replaced
5360:165b67c02927 | 5363:3c8286e5d07b |
---|---|
542 // This method can be used even if the global option | 542 // This method can be used even if the global option |
543 // "TranscodeDicomProtocol" is set to "false" | 543 // "TranscodeDicomProtocol" is set to "false" |
544 virtual bool Transcode(DicomImage& target, | 544 virtual bool Transcode(DicomImage& target, |
545 DicomImage& source /* in, "GetParsed()" possibly modified */, | 545 DicomImage& source /* in, "GetParsed()" possibly modified */, |
546 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 546 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
547 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | 547 bool allowNewSopInstanceUid, |
548 bool enableColorMapConversion) ORTHANC_OVERRIDE; | |
548 | 549 |
549 bool IsTranscodeDicomProtocol() const | 550 bool IsTranscodeDicomProtocol() const |
550 { | 551 { |
551 return transcodeDicomProtocol_; | 552 return transcodeDicomProtocol_; |
552 } | 553 } |