Mercurial > hg > orthanc-wsi
diff ViewerPlugin/RawTile.h @ 276:ef8a673b5fb9 iiif
clarification of RawTile::Answer()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Jul 2023 14:51:46 +0200 |
parents | c72fbdecdc38 |
children | 7020852a8fa9 |
line wrap: on
line diff
--- a/ViewerPlugin/RawTile.h Wed Jul 12 12:35:04 2023 +0200 +++ b/ViewerPlugin/RawTile.h Wed Jul 12 14:51:46 2023 +0200 @@ -44,7 +44,7 @@ static void EncodeInternal(std::string& encoded, const Orthanc::ImageAccessor& decoded, - Orthanc::MimeType transcodingType); + Orthanc::MimeType encoding); public: RawTile(ITiledPyramid& pyramid, @@ -52,14 +52,19 @@ unsigned int tileX, unsigned int tileY); + ImageCompression GetCompression() const + { + return compression_; + } + void Answer(OrthancPluginRestOutput* output, - Orthanc::MimeType transcodingType); + Orthanc::MimeType encoding); Orthanc::ImageAccessor* Decode(); static void Encode(std::string& encoded, const Orthanc::ImageAccessor& decoded, - Orthanc::MimeType transcodingType); + Orthanc::MimeType encoding); // This semaphore is used to implement throttling for the // decoding/encoding of tiles