90
90
91
91
< main class ="container ">
92
92
< div class ="magick-template ">
93
+ < br />
94
+ < div class ="btn-group ">
95
+ < button class ="btn btn-secondary dropdown-toggle " type ="button " id ="defaultDropdown " data-bs-toggle ="dropdown " data-bs-auto-close ="true " aria-expanded ="false ">
96
+ Select API Method
97
+ </ button >
98
+ < ul class ="dropdown-menu pre-scrollable " aria-labelledby ="defaultDropdown ">
99
+ < li > < a href ="attribute.html#GetImageChannelDepth "> GetImageChannelDepth</ a > </ li >
100
+ < li > < a href ="attribute.html#GetImageQuantumDepth "> GetImageQuantumDepth</ a > </ li >
101
+ < li > < a href ="attribute.html#GetImageType "> GetImageType</ a > </ li >
102
+ < li > < a href ="attribute.html#IdentifyImageMonochrome "> IdentifyImageMonochrome</ a > </ li >
103
+ < li > < a href ="attribute.html#IdentifyImageType "> IdentifyImageType</ a > </ li >
104
+ < li > < a href ="attribute.html#IsGrayImage "> IsGrayImage</ a > </ li >
105
+ < li > < a href ="attribute.html#IsMonochromeImage "> IsMonochromeImage</ a > </ li >
106
+ < li > < a href ="attribute.html#IsOpaqueImage "> IsOpaqueImage</ a > </ li >
107
+ < li > < a href ="attribute.html#SetImageChannelDepth "> SetImageChannelDepth</ a > </ li >
108
+ </ ul >
109
+ </ div >
110
+ < br />
111
+ < br />
93
112
< div class ="magick-header ">
94
- < p class ="text-center "> < a href ="attribute.html#GetImageChannelDepth "> GetImageChannelDepth</ a > • < a href ="attribute.html#GetImageQuantumDepth "> GetImageQuantumDepth</ a > • < a href ="attribute.html#GetImageType "> GetImageType</ a > • < a href ="attribute.html#IdentifyImageMonochrome "> IdentifyImageMonochrome</ a > • < a href ="attribute.html#IdentifyImageType "> IdentifyImageType</ a > • < a href ="attribute.html#IsGrayImage "> IsGrayImage</ a > • < a href ="attribute.html#IsMonochromeImage "> IsMonochromeImage</ a > • < a href ="attribute.html#IsOpaqueImage "> IsOpaqueImage</ a > • < a href ="attribute.html#SetImageChannelDepth "> SetImageChannelDepth</ a > • < a href ="attribute.html#SetImageType "> SetImageType</ a > </ p >
95
-
96
113
< h2 > < a href ="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html " id ="GetImageChannelDepth "> GetImageChannelDepth</ a > </ h2 >
97
114
98
115
< p > GetImageChannelDepth() returns the depth of a particular image channel.</ p >
99
116
100
117
< p > The format of the GetImageChannelDepth method is:</ p >
101
118
102
- < pre class ="text ">
103
- size_t GetImageDepth(const Image *image,ExceptionInfo *exception)
119
+ < pre class ="bg-light text-dark mx-4 "> < samp > size_t GetImageDepth(const Image *image,ExceptionInfo *exception)
104
120
size_t GetImageChannelDepth(const Image *image,
105
121
const ChannelType channel,ExceptionInfo *exception)
106
- </ pre >
122
+ </ samp > </ pre >
107
123
108
124
< p > A description of each parameter follows:</ p >
109
125
@@ -131,10 +147,9 @@ <h2><a href="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html" id
131
147
132
148
< p > The format of the GetImageQuantumDepth method is:</ p >
133
149
134
- < pre class ="text ">
135
- size_t GetImageQuantumDepth(const Image *image,
150
+ < pre class ="bg-light text-dark mx-4 "> < samp > size_t GetImageQuantumDepth(const Image *image,
136
151
const MagickBooleanType constrain)
137
- </ pre >
152
+ </ samp > </ pre >
138
153
139
154
< p > A description of each parameter follows:</ p >
140
155
@@ -160,15 +175,13 @@ <h2><a href="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html" id
160
175
161
176
< p > To ensure the image type matches its potential, use SetImageType():</ p >
162
177
163
- < pre class ="text ">
164
- (void) SetImageType(image,GetImageType(image));
165
- </ pre >
178
+ < pre class ="bg-light text-dark mx-4 "> < samp > (void) SetImageType(image,GetImageType(image));
179
+ </ samp > </ pre >
166
180
167
181
< p > The format of the GetImageType method is:</ p >
168
182
169
- < pre class ="text ">
170
- ImageType GetImageType(const Image *image,ExceptionInfo *exception)
171
- </ pre >
183
+ < pre class ="bg-light text-dark mx-4 "> < samp > ImageType GetImageType(const Image *image,ExceptionInfo *exception)
184
+ </ samp > </ pre >
172
185
173
186
< p > A description of each parameter follows:</ p >
174
187
@@ -192,10 +205,9 @@ <h2><a href="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html" id
192
205
193
206
< p > The format of the IdentifyImageMonochrome method is:</ p >
194
207
195
- < pre class ="text ">
196
- MagickBooleanType IdentifyImageMonochrome(const Image *image,
208
+ < pre class ="bg-light text-dark mx-4 "> < samp > MagickBooleanType IdentifyImageMonochrome(const Image *image,
197
209
ExceptionInfo *exception)
198
- </ pre >
210
+ </ samp > </ pre >
199
211
200
212
< p > A description of each parameter follows:</ p >
201
213
@@ -221,15 +233,13 @@ <h2><a href="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html" id
221
233
222
234
< p > To ensure the image type matches its potential, use SetImageType():</ p >
223
235
224
- < pre class ="text ">
225
- (void) SetImageType(image,IdentifyImageType(image,exception),exception);
226
- </ pre >
236
+ < pre class ="bg-light text-dark mx-4 "> < samp > (void) SetImageType(image,IdentifyImageType(image,exception),exception);
237
+ </ samp > </ pre >
227
238
228
239
< p > The format of the IdentifyImageType method is:</ p >
229
240
230
- < pre class ="text ">
231
- ImageType IdentifyImageType(const Image *image,ExceptionInfo *exception)
232
- </ pre >
241
+ < pre class ="bg-light text-dark mx-4 "> < samp > ImageType IdentifyImageType(const Image *image,ExceptionInfo *exception)
242
+ </ samp > </ pre >
233
243
234
244
< p > A description of each parameter follows:</ p >
235
245
@@ -253,10 +263,9 @@ <h2><a href="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html" id
253
263
254
264
< p > The format of the IsGrayImage method is:</ p >
255
265
256
- < pre class ="text ">
257
- MagickBooleanType IsGrayImage(const Image *image,
266
+ < pre class ="bg-light text-dark mx-4 "> < samp > MagickBooleanType IsGrayImage(const Image *image,
258
267
ExceptionInfo *exception)
259
- </ pre >
268
+ </ samp > </ pre >
260
269
261
270
< p > A description of each parameter follows:</ p >
262
271
@@ -280,10 +289,9 @@ <h2><a href="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html" id
280
289
281
290
< p > The format of the IsMonochromeImage method is:</ p >
282
291
283
- < pre class ="text ">
284
- MagickBooleanType IsMonochromeImage(const Image *image,
292
+ < pre class ="bg-light text-dark mx-4 "> < samp > MagickBooleanType IsMonochromeImage(const Image *image,
285
293
ExceptionInfo *exception)
286
- </ pre >
294
+ </ samp > </ pre >
287
295
288
296
< p > A description of each parameter follows:</ p >
289
297
@@ -307,10 +315,9 @@ <h2><a href="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html" id
307
315
308
316
< p > The format of the IsOpaqueImage method is:</ p >
309
317
310
- < pre class ="text ">
311
- MagickBooleanType IsOpaqueImage(const Image *image,
318
+ < pre class ="bg-light text-dark mx-4 "> < samp > MagickBooleanType IsOpaqueImage(const Image *image,
312
319
ExceptionInfo *exception)
313
- </ pre >
320
+ </ samp > </ pre >
314
321
315
322
< p > A description of each parameter follows:</ p >
316
323
@@ -334,11 +341,10 @@ <h2><a href="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html" id
334
341
335
342
< p > The format of the SetImageChannelDepth method is:</ p >
336
343
337
- < pre class ="text ">
338
- MagickBooleanType SetImageDepth(Image *image,const size_t depth)
344
+ < pre class ="bg-light text-dark mx-4 "> < samp > MagickBooleanType SetImageDepth(Image *image,const size_t depth)
339
345
MagickBooleanType SetImageChannelDepth(Image *image,
340
346
const ChannelType channel,const size_t depth)
341
- </ pre >
347
+ </ samp > </ pre >
342
348
343
349
< p > A description of each parameter follows:</ p >
344
350
@@ -368,9 +374,8 @@ <h2><a href="https://legacy.imagemagick.org/api/MagickCore/attribute_8c.html" id
368
374
369
375
< p > The format of the SetImageType method is:</ p >
370
376
371
- < pre class ="text ">
372
- MagickBooleanType SetImageType(Image *image,const ImageType type)
373
- </ pre >
377
+ < pre class ="bg-light text-dark mx-4 "> < samp > MagickBooleanType SetImageType(Image *image,const ImageType type)
378
+ </ samp > </ pre >
374
379
375
380
< p > A description of each parameter follows:</ p >
376
381
0 commit comments