Mercurial > hg > orthanc
comparison Core/Images/PngWriter.cpp @ 2171:35febe19e874
improved support for sandboxed environments
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Nov 2016 11:46:42 +0100 |
parents | baf8dd89b4e0 |
children | a3a65de1840f |
comparison
equal
deleted
inserted
replaced
2170:baf8dd89b4e0 | 2171:35febe19e874 |
---|---|
37 #include <stdint.h> | 37 #include <stdint.h> |
38 #include <png.h> | 38 #include <png.h> |
39 #include "../OrthancException.h" | 39 #include "../OrthancException.h" |
40 #include "../ChunkedBuffer.h" | 40 #include "../ChunkedBuffer.h" |
41 #include "../Toolbox.h" | 41 #include "../Toolbox.h" |
42 #include "../SystemToolbox.h" | 42 |
43 #if ORTHANC_SANDBOXED == 0 | |
44 # include "../SystemToolbox.h" | |
45 #endif | |
43 | 46 |
44 | 47 |
45 // http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-4 | 48 // http://www.libpng.org/pub/png/libpng-1.2.5-manual.html#section-4 |
46 // http://zarb.org/~gc/html/libpng.html | 49 // http://zarb.org/~gc/html/libpng.html |
47 /* | 50 /* |