Mercurial > hg > orthanc
comparison Core/Images/JpegWriter.h @ 2170:baf8dd89b4e0
improved support for sandboxed environments
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Nov 2016 11:45:02 +0100 |
parents | 5bcf721bde4f |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2169:d15de5685ad8 | 2170:baf8dd89b4e0 |
---|---|
44 unsigned int height, | 44 unsigned int height, |
45 unsigned int pitch, | 45 unsigned int pitch, |
46 PixelFormat format, | 46 PixelFormat format, |
47 const void* buffer); | 47 const void* buffer); |
48 | 48 |
49 #if ORTHANC_SANDBOXED == 0 | |
49 virtual void WriteToMemoryInternal(std::string& jpeg, | 50 virtual void WriteToMemoryInternal(std::string& jpeg, |
50 unsigned int width, | 51 unsigned int width, |
51 unsigned int height, | 52 unsigned int height, |
52 unsigned int pitch, | 53 unsigned int pitch, |
53 PixelFormat format, | 54 PixelFormat format, |
54 const void* buffer); | 55 const void* buffer); |
56 #endif | |
55 | 57 |
56 private: | 58 private: |
57 uint8_t quality_; | 59 uint8_t quality_; |
58 | 60 |
59 public: | 61 public: |