Mercurial > hg > orthanc-webviewer
comparison Orthanc/Core/Enumerations.h @ 72:f2f8f8714dcc
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 Aug 2015 12:53:41 +0200 |
parents | fe8dab5c051f |
children |
comparison
equal
deleted
inserted
replaced
71:9bb7caee0509 | 72:f2f8f8714dcc |
---|---|
237 { | 237 { |
238 ImageFormat_Png = 1 | 238 ImageFormat_Png = 1 |
239 }; | 239 }; |
240 | 240 |
241 | 241 |
242 // https://en.wikipedia.org/wiki/HTTP_compression | |
243 enum HttpCompression | |
244 { | |
245 HttpCompression_None, | |
246 HttpCompression_Deflate, | |
247 HttpCompression_Gzip | |
248 }; | |
249 | |
250 | |
242 // http://www.dabsoft.ch/dicom/3/C.12.1.1.2/ | 251 // http://www.dabsoft.ch/dicom/3/C.12.1.1.2/ |
243 enum Encoding | 252 enum Encoding |
244 { | 253 { |
245 Encoding_Ascii, | 254 Encoding_Ascii, |
246 Encoding_Utf8, | 255 Encoding_Utf8, |
298 * between versions of Orthanc! | 307 * between versions of Orthanc! |
299 **/ | 308 **/ |
300 | 309 |
301 enum CompressionType | 310 enum CompressionType |
302 { | 311 { |
312 /** | |
313 * Buffer/file that is stored as-is, in a raw fashion, without | |
314 * compression. | |
315 **/ | |
303 CompressionType_None = 1, | 316 CompressionType_None = 1, |
304 CompressionType_Zlib = 2 | 317 |
318 /** | |
319 * Buffer that is compressed using the "deflate" algorithm (RFC | |
320 * 1951), wrapped inside the zlib data format (RFC 1950), prefixed | |
321 * with a "uint64_t" (8 bytes) that encodes the size of the | |
322 * uncompressed buffer. If the compressed buffer is empty, its | |
323 * represents an empty uncompressed buffer. This format is | |
324 * internal to Orthanc. If the 8 first bytes are skipped AND the | |
325 * buffer is non-empty, the buffer is compatible with the | |
326 * "deflate" HTTP compression. | |
327 **/ | |
328 CompressionType_ZlibWithSize = 2 | |
305 }; | 329 }; |
306 | 330 |
307 enum FileContentType | 331 enum FileContentType |
308 { | 332 { |
309 // If you add a value below, insert it in "PluginStorageArea" in | 333 // If you add a value below, insert it in "PluginStorageArea" in |