Mercurial > hg > orthanc
comparison Core/Enumerations.h @ 863:3c0d0836f704 jpeg
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 10 Jun 2014 17:20:33 +0200 |
parents | 839be3022203 |
children | 0570a8c859cb 766a57997121 |
comparison
equal
deleted
inserted
replaced
862:5a125d587810 | 863:3c0d0836f704 |
---|---|
80 enum LAAW_API PixelFormat | 80 enum LAAW_API PixelFormat |
81 { | 81 { |
82 /** | 82 /** |
83 * {summary}{Color image in RGB24 format.} | 83 * {summary}{Color image in RGB24 format.} |
84 * {description}{This format describes a color image. The pixels are stored in 3 | 84 * {description}{This format describes a color image. The pixels are stored in 3 |
85 * consecutive bytes. The memory layout is RGB. | 85 * consecutive bytes. The memory layout is RGB.} |
86 **/ | 86 **/ |
87 PixelFormat_RGB24, | 87 PixelFormat_RGB24 = 1, |
88 | 88 |
89 /** | 89 /** |
90 * {summary}{Color image in RGBA32 format.} | 90 * {summary}{Color image in RGBA32 format.} |
91 * {description}{This format describes a color image. The pixels are stored in 4 | 91 * {description}{This format describes a color image. The pixels are stored in 4 |
92 * consecutive bytes. The memory layout is RGBA. | 92 * consecutive bytes. The memory layout is RGBA.} |
93 **/ | 93 **/ |
94 PixelFormat_RGBA32, | 94 PixelFormat_RGBA32 = 2, |
95 | 95 |
96 /** | 96 /** |
97 * {summary}{Graylevel 8bpp image.} | 97 * {summary}{Graylevel 8bpp image.} |
98 * {description}{The image is graylevel. Each pixel is unsigned and stored in one byte.} | 98 * {description}{The image is graylevel. Each pixel is unsigned and stored in one byte.} |
99 **/ | 99 **/ |
100 PixelFormat_Grayscale8, | 100 PixelFormat_Grayscale8 = 3, |
101 | 101 |
102 /** | 102 /** |
103 * {summary}{Graylevel, unsigned 16bpp image.} | 103 * {summary}{Graylevel, unsigned 16bpp image.} |
104 * {description}{The image is graylevel. Each pixel is unsigned and stored in two bytes.} | 104 * {description}{The image is graylevel. Each pixel is unsigned and stored in two bytes.} |
105 **/ | 105 **/ |
106 PixelFormat_Grayscale16, | 106 PixelFormat_Grayscale16 = 4, |
107 | 107 |
108 /** | 108 /** |
109 * {summary}{Graylevel, signed 16bpp image.} | 109 * {summary}{Graylevel, signed 16bpp image.} |
110 * {description}{The image is graylevel. Each pixel is signed and stored in two bytes.} | 110 * {description}{The image is graylevel. Each pixel is signed and stored in two bytes.} |
111 **/ | 111 **/ |
112 PixelFormat_SignedGrayscale16 | 112 PixelFormat_SignedGrayscale16 = 5 |
113 }; | 113 }; |
114 | 114 |
115 | 115 |
116 /** | 116 /** |
117 * {summary}{The extraction mode specifies the way the values of the pixels are scaled when downloading a 2D image.} | 117 * {summary}{The extraction mode specifies the way the values of the pixels are scaled when downloading a 2D image.} |
120 { | 120 { |
121 /** | 121 /** |
122 * {summary}{Rescaled to 8bpp.} | 122 * {summary}{Rescaled to 8bpp.} |
123 * {description}{The minimum value of the image is set to 0, and its maximum value is set to 255.} | 123 * {description}{The minimum value of the image is set to 0, and its maximum value is set to 255.} |
124 **/ | 124 **/ |
125 ImageExtractionMode_Preview, | 125 ImageExtractionMode_Preview = 1, |
126 | 126 |
127 /** | 127 /** |
128 * {summary}{Truncation to the [0, 255] range.} | 128 * {summary}{Truncation to the [0, 255] range.} |
129 **/ | 129 **/ |
130 ImageExtractionMode_UInt8, | 130 ImageExtractionMode_UInt8 = 2, |
131 | 131 |
132 /** | 132 /** |
133 * {summary}{Truncation to the [0, 65535] range.} | 133 * {summary}{Truncation to the [0, 65535] range.} |
134 **/ | 134 **/ |
135 ImageExtractionMode_UInt16, | 135 ImageExtractionMode_UInt16 = 3, |
136 | 136 |
137 /** | 137 /** |
138 * {summary}{Truncation to the [-32768, 32767] range.} | 138 * {summary}{Truncation to the [-32768, 32767] range.} |
139 **/ | 139 **/ |
140 ImageExtractionMode_Int16 | 140 ImageExtractionMode_Int16 = 4 |
141 }; | 141 }; |
142 | 142 |
143 | 143 |
144 /** | 144 /** |
145 * Most common, non-joke and non-experimental HTTP status codes | 145 * Most common, non-joke and non-experimental HTTP status codes |