Mercurial > hg > orthanc-webviewer
comparison Plugin/DecodedImageAdapter.h @ 173:4f0f4f64cff3
Support of rendering RGB48 lookup tables (palette)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Oct 2017 13:26:15 +0200 |
parents | 5dc54316d68b |
children | 81f16c5667ba |
comparison
equal
deleted
inserted
replaced
172:330ecfd96aec | 173:4f0f4f64cff3 |
---|---|
50 static bool GetCornerstoneMetadata(Json::Value& result, | 50 static bool GetCornerstoneMetadata(Json::Value& result, |
51 const Json::Value& tags, | 51 const Json::Value& tags, |
52 OrthancImageWrapper& image); | 52 OrthancImageWrapper& image); |
53 | 53 |
54 static bool EncodeUsingDeflate(Json::Value& result, | 54 static bool EncodeUsingDeflate(Json::Value& result, |
55 OrthancImageWrapper& image, | 55 OrthancImageWrapper& image); |
56 uint8_t compressionLevel /* between 0 and 9 */); | |
57 | 56 |
58 static bool EncodeUsingJpeg(Json::Value& result, | 57 static bool EncodeUsingJpeg(Json::Value& result, |
59 OrthancImageWrapper& image, | 58 OrthancImageWrapper& image, |
60 uint8_t quality /* between 0 and 100 */); | 59 uint8_t quality /* between 0 and 100 */); |
61 | 60 |