Passed
Push — main ( 905c71...3430dc )
by smiley
01:47
created

ImagickDraw::setStrokeAntialias()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 1
rs 10
1
<?php
2
3
// Start of imagick v.3.4.3
4
5
class ImagickException extends Exception  {
6
}
7
8
class ImagickDrawException extends Exception  {
9
}
10
11
class ImagickPixelIteratorException extends Exception  {
12
}
13
14
class ImagickPixelException extends Exception  {
15
}
16
17
/**
18
 * @method Imagick clone() (PECL imagick 2.0.0)<br/>Makes an exact copy of the Imagick object
19
 * @link https://php.net/manual/en/class.imagick.php
20
 */
21
class Imagick implements Iterator, Countable {
22
	const COLOR_BLACK = 11;
23
	const COLOR_BLUE = 12;
24
	const COLOR_CYAN = 13;
25
	const COLOR_GREEN = 14;
26
	const COLOR_RED = 15;
27
	const COLOR_YELLOW = 16;
28
	const COLOR_MAGENTA = 17;
29
	const COLOR_OPACITY = 18;
30
	const COLOR_ALPHA = 19;
31
	const COLOR_FUZZ = 20;
32
	const IMAGICK_EXTNUM = 30403;
33
	const IMAGICK_EXTVER = "3.4.3";
34
	const QUANTUM_RANGE = 65535;
35
	const USE_ZEND_MM = 0;
36
	const COMPOSITE_DEFAULT = 40;
37
	const COMPOSITE_UNDEFINED = 0;
38
	const COMPOSITE_NO = 1;
39
	const COMPOSITE_ADD = 2;
40
	const COMPOSITE_ATOP = 3;
41
	const COMPOSITE_BLEND = 4;
42
	const COMPOSITE_BUMPMAP = 5;
43
	const COMPOSITE_CLEAR = 7;
44
	const COMPOSITE_COLORBURN = 8;
45
	const COMPOSITE_COLORDODGE = 9;
46
	const COMPOSITE_COLORIZE = 10;
47
	const COMPOSITE_COPYBLACK = 11;
48
	const COMPOSITE_COPYBLUE = 12;
49
	const COMPOSITE_COPY = 13;
50
	const COMPOSITE_COPYCYAN = 14;
51
	const COMPOSITE_COPYGREEN = 15;
52
	const COMPOSITE_COPYMAGENTA = 16;
53
	const COMPOSITE_COPYOPACITY = 17;
54
	const COMPOSITE_COPYRED = 18;
55
	const COMPOSITE_COPYYELLOW = 19;
56
	const COMPOSITE_DARKEN = 20;
57
	const COMPOSITE_DSTATOP = 21;
58
	const COMPOSITE_DST = 22;
59
	const COMPOSITE_DSTIN = 23;
60
	const COMPOSITE_DSTOUT = 24;
61
	const COMPOSITE_DSTOVER = 25;
62
	const COMPOSITE_DIFFERENCE = 26;
63
	const COMPOSITE_DISPLACE = 27;
64
	const COMPOSITE_DISSOLVE = 28;
65
	const COMPOSITE_EXCLUSION = 29;
66
	const COMPOSITE_HARDLIGHT = 30;
67
	const COMPOSITE_HUE = 31;
68
	const COMPOSITE_IN = 32;
69
	const COMPOSITE_LIGHTEN = 33;
70
	const COMPOSITE_LUMINIZE = 35;
71
	const COMPOSITE_MINUS = 36;
72
	const COMPOSITE_MODULATE = 37;
73
	const COMPOSITE_MULTIPLY = 38;
74
	const COMPOSITE_OUT = 39;
75
	const COMPOSITE_OVER = 40;
76
	const COMPOSITE_OVERLAY = 41;
77
	const COMPOSITE_PLUS = 42;
78
	const COMPOSITE_REPLACE = 43;
79
	const COMPOSITE_SATURATE = 44;
80
	const COMPOSITE_SCREEN = 45;
81
	const COMPOSITE_SOFTLIGHT = 46;
82
	const COMPOSITE_SRCATOP = 47;
83
	const COMPOSITE_SRC = 48;
84
	const COMPOSITE_SRCIN = 49;
85
	const COMPOSITE_SRCOUT = 50;
86
	const COMPOSITE_SRCOVER = 51;
87
	const COMPOSITE_SUBTRACT = 52;
88
	const COMPOSITE_THRESHOLD = 53;
89
	const COMPOSITE_XOR = 54;
90
	const COMPOSITE_CHANGEMASK = 6;
91
	const COMPOSITE_LINEARLIGHT = 34;
92
	const COMPOSITE_DIVIDE = 55;
93
	const COMPOSITE_DISTORT = 56;
94
	const COMPOSITE_BLUR = 57;
95
	const COMPOSITE_PEGTOPLIGHT = 58;
96
	const COMPOSITE_VIVIDLIGHT = 59;
97
	const COMPOSITE_PINLIGHT = 60;
98
	const COMPOSITE_LINEARDODGE = 61;
99
	const COMPOSITE_LINEARBURN = 62;
100
	const COMPOSITE_MATHEMATICS = 63;
101
	const COMPOSITE_MODULUSADD = 2;
102
	const COMPOSITE_MODULUSSUBTRACT = 52;
103
	const COMPOSITE_MINUSDST = 36;
104
	const COMPOSITE_DIVIDEDST = 55;
105
	const COMPOSITE_DIVIDESRC = 64;
106
	const COMPOSITE_MINUSSRC = 65;
107
	const COMPOSITE_DARKENINTENSITY = 66;
108
	const COMPOSITE_LIGHTENINTENSITY = 67;
109
	const MONTAGEMODE_FRAME = 1;
110
	const MONTAGEMODE_UNFRAME = 2;
111
	const MONTAGEMODE_CONCATENATE = 3;
112
	const STYLE_NORMAL = 1;
113
	const STYLE_ITALIC = 2;
114
	const STYLE_OBLIQUE = 3;
115
	const STYLE_ANY = 4;
116
	const FILTER_UNDEFINED = 0;
117
	const FILTER_POINT = 1;
118
	const FILTER_BOX = 2;
119
	const FILTER_TRIANGLE = 3;
120
	const FILTER_HERMITE = 4;
121
	const FILTER_HANNING = 5;
122
	const FILTER_HAMMING = 6;
123
	const FILTER_BLACKMAN = 7;
124
	const FILTER_GAUSSIAN = 8;
125
	const FILTER_QUADRATIC = 9;
126
	const FILTER_CUBIC = 10;
127
	const FILTER_CATROM = 11;
128
	const FILTER_MITCHELL = 12;
129
	const FILTER_LANCZOS = 22;
130
	const FILTER_BESSEL = 13;
131
	const FILTER_SINC = 14;
132
	const FILTER_KAISER = 16;
133
	const FILTER_WELSH = 17;
134
	const FILTER_PARZEN = 18;
135
	const FILTER_LAGRANGE = 21;
136
	const FILTER_SENTINEL = 31;
137
	const FILTER_BOHMAN = 19;
138
	const FILTER_BARTLETT = 20;
139
	const FILTER_JINC = 13;
140
	const FILTER_SINCFAST = 15;
141
	const FILTER_ROBIDOUX = 26;
142
	const FILTER_LANCZOSSHARP = 23;
143
	const FILTER_LANCZOS2 = 24;
144
	const FILTER_LANCZOS2SHARP = 25;
145
	const FILTER_ROBIDOUXSHARP = 27;
146
	const FILTER_COSINE = 28;
147
	const FILTER_SPLINE = 29;
148
	const FILTER_LANCZOSRADIUS = 30;
149
	const IMGTYPE_UNDEFINED = 0;
150
	const IMGTYPE_BILEVEL = 1;
151
	const IMGTYPE_GRAYSCALE = 2;
152
	const IMGTYPE_GRAYSCALEMATTE = 3;
153
	const IMGTYPE_PALETTE = 4;
154
	const IMGTYPE_PALETTEMATTE = 5;
155
	const IMGTYPE_TRUECOLOR = 6;
156
	const IMGTYPE_TRUECOLORMATTE = 7;
157
	const IMGTYPE_COLORSEPARATION = 8;
158
	const IMGTYPE_COLORSEPARATIONMATTE = 9;
159
	const IMGTYPE_OPTIMIZE = 10;
160
	const IMGTYPE_PALETTEBILEVELMATTE = 11;
161
	const RESOLUTION_UNDEFINED = 0;
162
	const RESOLUTION_PIXELSPERINCH = 1;
163
	const RESOLUTION_PIXELSPERCENTIMETER = 2;
164
	const COMPRESSION_UNDEFINED = 0;
165
	const COMPRESSION_NO = 1;
166
	const COMPRESSION_BZIP = 2;
167
	const COMPRESSION_FAX = 6;
168
	const COMPRESSION_GROUP4 = 7;
169
	const COMPRESSION_JPEG = 8;
170
	const COMPRESSION_JPEG2000 = 9;
171
	const COMPRESSION_LOSSLESSJPEG = 10;
172
	const COMPRESSION_LZW = 11;
173
	const COMPRESSION_RLE = 12;
174
	const COMPRESSION_ZIP = 13;
175
	const COMPRESSION_DXT1 = 3;
176
	const COMPRESSION_DXT3 = 4;
177
	const COMPRESSION_DXT5 = 5;
178
	const COMPRESSION_ZIPS = 14;
179
	const COMPRESSION_PIZ = 15;
180
	const COMPRESSION_PXR24 = 16;
181
	const COMPRESSION_B44 = 17;
182
	const COMPRESSION_B44A = 18;
183
	const COMPRESSION_LZMA = 19;
184
	const COMPRESSION_JBIG1 = 20;
185
	const COMPRESSION_JBIG2 = 21;
186
	const PAINT_POINT = 1;
187
	const PAINT_REPLACE = 2;
188
	const PAINT_FLOODFILL = 3;
189
	const PAINT_FILLTOBORDER = 4;
190
	const PAINT_RESET = 5;
191
	const GRAVITY_NORTHWEST = 1;
192
	const GRAVITY_NORTH = 2;
193
	const GRAVITY_NORTHEAST = 3;
194
	const GRAVITY_WEST = 4;
195
	const GRAVITY_CENTER = 5;
196
	const GRAVITY_EAST = 6;
197
	const GRAVITY_SOUTHWEST = 7;
198
	const GRAVITY_SOUTH = 8;
199
	const GRAVITY_SOUTHEAST = 9;
200
	const GRAVITY_FORGET = 0;
201
	const GRAVITY_STATIC = 10;
202
	const STRETCH_NORMAL = 1;
203
	const STRETCH_ULTRACONDENSED = 2;
204
	const STRETCH_EXTRACONDENSED = 3;
205
	const STRETCH_CONDENSED = 4;
206
	const STRETCH_SEMICONDENSED = 5;
207
	const STRETCH_SEMIEXPANDED = 6;
208
	const STRETCH_EXPANDED = 7;
209
	const STRETCH_EXTRAEXPANDED = 8;
210
	const STRETCH_ULTRAEXPANDED = 9;
211
	const STRETCH_ANY = 10;
212
	const ALIGN_UNDEFINED = 0;
213
	const ALIGN_LEFT = 1;
214
	const ALIGN_CENTER = 2;
215
	const ALIGN_RIGHT = 3;
216
	const DECORATION_NO = 1;
217
	const DECORATION_UNDERLINE = 2;
218
	const DECORATION_OVERLINE = 3;
219
	const DECORATION_LINETROUGH = 4;
220
	const DECORATION_LINETHROUGH = 4;
221
	const NOISE_UNIFORM = 1;
222
	const NOISE_GAUSSIAN = 2;
223
	const NOISE_MULTIPLICATIVEGAUSSIAN = 3;
224
	const NOISE_IMPULSE = 4;
225
	const NOISE_LAPLACIAN = 5;
226
	const NOISE_POISSON = 6;
227
	const NOISE_RANDOM = 7;
228
	const CHANNEL_UNDEFINED = 0;
229
	const CHANNEL_RED = 1;
230
	const CHANNEL_GRAY = 1;
231
	const CHANNEL_CYAN = 1;
232
	const CHANNEL_GREEN = 2;
233
	const CHANNEL_MAGENTA = 2;
234
	const CHANNEL_BLUE = 4;
235
	const CHANNEL_YELLOW = 4;
236
	const CHANNEL_ALPHA = 8;
237
	const CHANNEL_OPACITY = 8;
238
	const CHANNEL_MATTE = 8;
239
	const CHANNEL_BLACK = 32;
240
	const CHANNEL_INDEX = 32;
241
	const CHANNEL_ALL = 134217727;
242
	const CHANNEL_DEFAULT = 134217719;
243
	const CHANNEL_RGBA = 15;
244
	const CHANNEL_TRUEALPHA = 64;
245
	const CHANNEL_RGBS = 128;
246
	const CHANNEL_GRAY_CHANNELS = 128;
247
	const CHANNEL_SYNC = 256;
248
	const CHANNEL_COMPOSITES = 47;
249
	const METRIC_UNDEFINED = 0;
250
	const METRIC_ABSOLUTEERRORMETRIC = 1;
251
	const METRIC_MEANABSOLUTEERROR = 2;
252
	const METRIC_MEANERRORPERPIXELMETRIC = 3;
253
	const METRIC_MEANSQUAREERROR = 4;
254
	const METRIC_PEAKABSOLUTEERROR = 5;
255
	const METRIC_PEAKSIGNALTONOISERATIO = 6;
256
	const METRIC_ROOTMEANSQUAREDERROR = 7;
257
	const METRIC_NORMALIZEDCROSSCORRELATIONERRORMETRIC = 8;
258
	const METRIC_FUZZERROR = 9;
259
	const PIXEL_CHAR = 1;
260
	const PIXEL_DOUBLE = 2;
261
	const PIXEL_FLOAT = 3;
262
	const PIXEL_INTEGER = 4;
263
	const PIXEL_LONG = 5;
264
	const PIXEL_QUANTUM = 6;
265
	const PIXEL_SHORT = 7;
266
	const EVALUATE_UNDEFINED = 0;
267
	const EVALUATE_ADD = 1;
268
	const EVALUATE_AND = 2;
269
	const EVALUATE_DIVIDE = 3;
270
	const EVALUATE_LEFTSHIFT = 4;
271
	const EVALUATE_MAX = 5;
272
	const EVALUATE_MIN = 6;
273
	const EVALUATE_MULTIPLY = 7;
274
	const EVALUATE_OR = 8;
275
	const EVALUATE_RIGHTSHIFT = 9;
276
	const EVALUATE_SET = 10;
277
	const EVALUATE_SUBTRACT = 11;
278
	const EVALUATE_XOR = 12;
279
	const EVALUATE_POW = 13;
280
	const EVALUATE_LOG = 14;
281
	const EVALUATE_THRESHOLD = 15;
282
	const EVALUATE_THRESHOLDBLACK = 16;
283
	const EVALUATE_THRESHOLDWHITE = 17;
284
	const EVALUATE_GAUSSIANNOISE = 18;
285
	const EVALUATE_IMPULSENOISE = 19;
286
	const EVALUATE_LAPLACIANNOISE = 20;
287
	const EVALUATE_MULTIPLICATIVENOISE = 21;
288
	const EVALUATE_POISSONNOISE = 22;
289
	const EVALUATE_UNIFORMNOISE = 23;
290
	const EVALUATE_COSINE = 24;
291
	const EVALUATE_SINE = 25;
292
	const EVALUATE_ADDMODULUS = 26;
293
	const EVALUATE_MEAN = 27;
294
	const EVALUATE_ABS = 28;
295
	const EVALUATE_EXPONENTIAL = 29;
296
	const EVALUATE_MEDIAN = 30;
297
	const EVALUATE_SUM = 31;
298
	const COLORSPACE_UNDEFINED = 0;
299
	const COLORSPACE_RGB = 1;
300
	const COLORSPACE_GRAY = 2;
301
	const COLORSPACE_TRANSPARENT = 3;
302
	const COLORSPACE_OHTA = 4;
303
	const COLORSPACE_LAB = 5;
304
	const COLORSPACE_XYZ = 6;
305
	const COLORSPACE_YCBCR = 7;
306
	const COLORSPACE_YCC = 8;
307
	const COLORSPACE_YIQ = 9;
308
	const COLORSPACE_YPBPR = 10;
309
	const COLORSPACE_YUV = 11;
310
	const COLORSPACE_CMYK = 12;
311
	const COLORSPACE_SRGB = 13;
312
	const COLORSPACE_HSB = 14;
313
	const COLORSPACE_HSL = 15;
314
	const COLORSPACE_HWB = 16;
315
	const COLORSPACE_REC601LUMA = 17;
316
	const COLORSPACE_REC709LUMA = 19;
317
	const COLORSPACE_LOG = 21;
318
	const COLORSPACE_CMY = 22;
319
	const COLORSPACE_LUV = 23;
320
	const COLORSPACE_HCL = 24;
321
	const COLORSPACE_LCH = 25;
322
	const COLORSPACE_LMS = 26;
323
	const COLORSPACE_LCHAB = 27;
324
	const COLORSPACE_LCHUV = 28;
325
	const COLORSPACE_SCRGB = 29;
326
	const COLORSPACE_HSI = 30;
327
	const COLORSPACE_HSV = 31;
328
	const COLORSPACE_HCLP = 32;
329
	const COLORSPACE_YDBDR = 33;
330
	const COLORSPACE_REC601YCBCR = 18;
331
	const COLORSPACE_REC709YCBCR = 20;
332
	const VIRTUALPIXELMETHOD_UNDEFINED = 0;
333
	const VIRTUALPIXELMETHOD_BACKGROUND = 1;
334
	const VIRTUALPIXELMETHOD_CONSTANT = 2;
335
	const VIRTUALPIXELMETHOD_EDGE = 4;
336
	const VIRTUALPIXELMETHOD_MIRROR = 5;
337
	const VIRTUALPIXELMETHOD_TILE = 7;
338
	const VIRTUALPIXELMETHOD_TRANSPARENT = 8;
339
	const VIRTUALPIXELMETHOD_MASK = 9;
340
	const VIRTUALPIXELMETHOD_BLACK = 10;
341
	const VIRTUALPIXELMETHOD_GRAY = 11;
342
	const VIRTUALPIXELMETHOD_WHITE = 12;
343
	const VIRTUALPIXELMETHOD_HORIZONTALTILE = 13;
344
	const VIRTUALPIXELMETHOD_VERTICALTILE = 14;
345
	const VIRTUALPIXELMETHOD_HORIZONTALTILEEDGE = 15;
346
	const VIRTUALPIXELMETHOD_VERTICALTILEEDGE = 16;
347
	const VIRTUALPIXELMETHOD_CHECKERTILE = 17;
348
	const PREVIEW_UNDEFINED = 0;
349
	const PREVIEW_ROTATE = 1;
350
	const PREVIEW_SHEAR = 2;
351
	const PREVIEW_ROLL = 3;
352
	const PREVIEW_HUE = 4;
353
	const PREVIEW_SATURATION = 5;
354
	const PREVIEW_BRIGHTNESS = 6;
355
	const PREVIEW_GAMMA = 7;
356
	const PREVIEW_SPIFF = 8;
357
	const PREVIEW_DULL = 9;
358
	const PREVIEW_GRAYSCALE = 10;
359
	const PREVIEW_QUANTIZE = 11;
360
	const PREVIEW_DESPECKLE = 12;
361
	const PREVIEW_REDUCENOISE = 13;
362
	const PREVIEW_ADDNOISE = 14;
363
	const PREVIEW_SHARPEN = 15;
364
	const PREVIEW_BLUR = 16;
365
	const PREVIEW_THRESHOLD = 17;
366
	const PREVIEW_EDGEDETECT = 18;
367
	const PREVIEW_SPREAD = 19;
368
	const PREVIEW_SOLARIZE = 20;
369
	const PREVIEW_SHADE = 21;
370
	const PREVIEW_RAISE = 22;
371
	const PREVIEW_SEGMENT = 23;
372
	const PREVIEW_SWIRL = 24;
373
	const PREVIEW_IMPLODE = 25;
374
	const PREVIEW_WAVE = 26;
375
	const PREVIEW_OILPAINT = 27;
376
	const PREVIEW_CHARCOALDRAWING = 28;
377
	const PREVIEW_JPEG = 29;
378
	const RENDERINGINTENT_UNDEFINED = 0;
379
	const RENDERINGINTENT_SATURATION = 1;
380
	const RENDERINGINTENT_PERCEPTUAL = 2;
381
	const RENDERINGINTENT_ABSOLUTE = 3;
382
	const RENDERINGINTENT_RELATIVE = 4;
383
	const INTERLACE_UNDEFINED = 0;
384
	const INTERLACE_NO = 1;
385
	const INTERLACE_LINE = 2;
386
	const INTERLACE_PLANE = 3;
387
	const INTERLACE_PARTITION = 4;
388
	const INTERLACE_GIF = 5;
389
	const INTERLACE_JPEG = 6;
390
	const INTERLACE_PNG = 7;
391
	const FILLRULE_UNDEFINED = 0;
392
	const FILLRULE_EVENODD = 1;
393
	const FILLRULE_NONZERO = 2;
394
	const PATHUNITS_UNDEFINED = 0;
395
	const PATHUNITS_USERSPACE = 1;
396
	const PATHUNITS_USERSPACEONUSE = 2;
397
	const PATHUNITS_OBJECTBOUNDINGBOX = 3;
398
	const LINECAP_UNDEFINED = 0;
399
	const LINECAP_BUTT = 1;
400
	const LINECAP_ROUND = 2;
401
	const LINECAP_SQUARE = 3;
402
	const LINEJOIN_UNDEFINED = 0;
403
	const LINEJOIN_MITER = 1;
404
	const LINEJOIN_ROUND = 2;
405
	const LINEJOIN_BEVEL = 3;
406
	const RESOURCETYPE_UNDEFINED = 0;
407
	const RESOURCETYPE_AREA = 1;
408
	const RESOURCETYPE_DISK = 2;
409
	const RESOURCETYPE_FILE = 3;
410
	const RESOURCETYPE_MAP = 4;
411
	const RESOURCETYPE_MEMORY = 5;
412
	const RESOURCETYPE_TIME = 7;
413
	const RESOURCETYPE_THROTTLE = 8;
414
	const RESOURCETYPE_THREAD = 6;
415
	const DISPOSE_UNRECOGNIZED = 0;
416
	const DISPOSE_UNDEFINED = 0;
417
	const DISPOSE_NONE = 1;
418
	const DISPOSE_BACKGROUND = 2;
419
	const DISPOSE_PREVIOUS = 3;
420
	const INTERPOLATE_UNDEFINED = 0;
421
	const INTERPOLATE_AVERAGE = 1;
422
	const INTERPOLATE_BICUBIC = 2;
423
	const INTERPOLATE_BILINEAR = 3;
424
	const INTERPOLATE_FILTER = 4;
425
	const INTERPOLATE_INTEGER = 5;
426
	const INTERPOLATE_MESH = 6;
427
	const INTERPOLATE_NEARESTNEIGHBOR = 7;
428
	const INTERPOLATE_SPLINE = 8;
429
	const LAYERMETHOD_UNDEFINED = 0;
430
	const LAYERMETHOD_COALESCE = 1;
431
	const LAYERMETHOD_COMPAREANY = 2;
432
	const LAYERMETHOD_COMPARECLEAR = 3;
433
	const LAYERMETHOD_COMPAREOVERLAY = 4;
434
	const LAYERMETHOD_DISPOSE = 5;
435
	const LAYERMETHOD_OPTIMIZE = 6;
436
	const LAYERMETHOD_OPTIMIZEPLUS = 8;
437
	const LAYERMETHOD_OPTIMIZETRANS = 9;
438
	const LAYERMETHOD_COMPOSITE = 12;
439
	const LAYERMETHOD_OPTIMIZEIMAGE = 7;
440
	const LAYERMETHOD_REMOVEDUPS = 10;
441
	const LAYERMETHOD_REMOVEZERO = 11;
442
	const LAYERMETHOD_TRIMBOUNDS = 16;
443
	const ORIENTATION_UNDEFINED = 0;
444
	const ORIENTATION_TOPLEFT = 1;
445
	const ORIENTATION_TOPRIGHT = 2;
446
	const ORIENTATION_BOTTOMRIGHT = 3;
447
	const ORIENTATION_BOTTOMLEFT = 4;
448
	const ORIENTATION_LEFTTOP = 5;
449
	const ORIENTATION_RIGHTTOP = 6;
450
	const ORIENTATION_RIGHTBOTTOM = 7;
451
	const ORIENTATION_LEFTBOTTOM = 8;
452
	const DISTORTION_UNDEFINED = 0;
453
	const DISTORTION_AFFINE = 1;
454
	const DISTORTION_AFFINEPROJECTION = 2;
455
	const DISTORTION_ARC = 9;
456
	const DISTORTION_BILINEAR = 6;
457
	const DISTORTION_PERSPECTIVE = 4;
458
	const DISTORTION_PERSPECTIVEPROJECTION = 5;
459
	const DISTORTION_SCALEROTATETRANSLATE = 3;
460
	const DISTORTION_POLYNOMIAL = 8;
461
	const DISTORTION_POLAR = 10;
462
	const DISTORTION_DEPOLAR = 11;
463
	const DISTORTION_BARREL = 14;
464
	const DISTORTION_SHEPARDS = 16;
465
	const DISTORTION_SENTINEL = 18;
466
	const DISTORTION_BARRELINVERSE = 15;
467
	const DISTORTION_BILINEARFORWARD = 6;
468
	const DISTORTION_BILINEARREVERSE = 7;
469
	const DISTORTION_RESIZE = 17;
470
	const DISTORTION_CYLINDER2PLANE = 12;
471
	const DISTORTION_PLANE2CYLINDER = 13;
472
	const LAYERMETHOD_MERGE = 13;
473
	const LAYERMETHOD_FLATTEN = 14;
474
	const LAYERMETHOD_MOSAIC = 15;
475
	const ALPHACHANNEL_ACTIVATE = 1;
476
	const ALPHACHANNEL_RESET = 7;
477
	const ALPHACHANNEL_SET = 8;
478
	const ALPHACHANNEL_UNDEFINED = 0;
479
	const ALPHACHANNEL_COPY = 3;
480
	const ALPHACHANNEL_DEACTIVATE = 4;
481
	const ALPHACHANNEL_EXTRACT = 5;
482
	const ALPHACHANNEL_OPAQUE = 6;
483
	const ALPHACHANNEL_SHAPE = 9;
484
	const ALPHACHANNEL_TRANSPARENT = 10;
485
	const SPARSECOLORMETHOD_UNDEFINED = 0;
486
	const SPARSECOLORMETHOD_BARYCENTRIC = 1;
487
	const SPARSECOLORMETHOD_BILINEAR = 7;
488
	const SPARSECOLORMETHOD_POLYNOMIAL = 8;
489
	const SPARSECOLORMETHOD_SPEPARDS = 16;
490
	const SPARSECOLORMETHOD_VORONOI = 18;
491
	const SPARSECOLORMETHOD_INVERSE = 19;
492
	const DITHERMETHOD_UNDEFINED = 0;
493
	const DITHERMETHOD_NO = 1;
494
	const DITHERMETHOD_RIEMERSMA = 2;
495
	const DITHERMETHOD_FLOYDSTEINBERG = 3;
496
	const FUNCTION_UNDEFINED = 0;
497
	const FUNCTION_POLYNOMIAL = 1;
498
	const FUNCTION_SINUSOID = 2;
499
	const ALPHACHANNEL_BACKGROUND = 2;
500
	const FUNCTION_ARCSIN = 3;
501
	const FUNCTION_ARCTAN = 4;
502
	const ALPHACHANNEL_FLATTEN = 11;
503
	const ALPHACHANNEL_REMOVE = 12;
504
	const STATISTIC_GRADIENT = 1;
505
	const STATISTIC_MAXIMUM = 2;
506
	const STATISTIC_MEAN = 3;
507
	const STATISTIC_MEDIAN = 4;
508
	const STATISTIC_MINIMUM = 5;
509
	const STATISTIC_MODE = 6;
510
	const STATISTIC_NONPEAK = 7;
511
	const STATISTIC_STANDARD_DEVIATION = 8;
512
	const MORPHOLOGY_CONVOLVE = 1;
513
	const MORPHOLOGY_CORRELATE = 2;
514
	const MORPHOLOGY_ERODE = 3;
515
	const MORPHOLOGY_DILATE = 4;
516
	const MORPHOLOGY_ERODE_INTENSITY = 5;
517
	const MORPHOLOGY_DILATE_INTENSITY = 6;
518
	const MORPHOLOGY_DISTANCE = 7;
519
	const MORPHOLOGY_OPEN = 8;
520
	const MORPHOLOGY_CLOSE = 9;
521
	const MORPHOLOGY_OPEN_INTENSITY = 10;
522
	const MORPHOLOGY_CLOSE_INTENSITY = 11;
523
	const MORPHOLOGY_SMOOTH = 12;
524
	const MORPHOLOGY_EDGE_IN = 13;
525
	const MORPHOLOGY_EDGE_OUT = 14;
526
	const MORPHOLOGY_EDGE = 15;
527
	const MORPHOLOGY_TOP_HAT = 16;
528
	const MORPHOLOGY_BOTTOM_HAT = 17;
529
	const MORPHOLOGY_HIT_AND_MISS = 18;
530
	const MORPHOLOGY_THINNING = 19;
531
	const MORPHOLOGY_THICKEN = 20;
532
	const MORPHOLOGY_VORONOI = 21;
533
	const MORPHOLOGY_ITERATIVE = 22;
534
	const KERNEL_UNITY = 1;
535
	const KERNEL_GAUSSIAN = 2;
536
	const KERNEL_DIFFERENCE_OF_GAUSSIANS = 3;
537
	const KERNEL_LAPLACIAN_OF_GAUSSIANS = 4;
538
	const KERNEL_BLUR = 5;
539
	const KERNEL_COMET = 6;
540
	const KERNEL_LAPLACIAN = 7;
541
	const KERNEL_SOBEL = 8;
542
	const KERNEL_FREI_CHEN = 9;
543
	const KERNEL_ROBERTS = 10;
544
	const KERNEL_PREWITT = 11;
545
	const KERNEL_COMPASS = 12;
546
	const KERNEL_KIRSCH = 13;
547
	const KERNEL_DIAMOND = 14;
548
	const KERNEL_SQUARE = 15;
549
	const KERNEL_RECTANGLE = 16;
550
	const KERNEL_OCTAGON = 17;
551
	const KERNEL_DISK = 18;
552
	const KERNEL_PLUS = 19;
553
	const KERNEL_CROSS = 20;
554
	const KERNEL_RING = 21;
555
	const KERNEL_PEAKS = 22;
556
	const KERNEL_EDGES = 23;
557
	const KERNEL_CORNERS = 24;
558
	const KERNEL_DIAGONALS = 25;
559
	const KERNEL_LINE_ENDS = 26;
560
	const KERNEL_LINE_JUNCTIONS = 27;
561
	const KERNEL_RIDGES = 28;
562
	const KERNEL_CONVEX_HULL = 29;
563
	const KERNEL_THIN_SE = 30;
564
	const KERNEL_SKELETON = 31;
565
	const KERNEL_CHEBYSHEV = 32;
566
	const KERNEL_MANHATTAN = 33;
567
	const KERNEL_OCTAGONAL = 34;
568
	const KERNEL_EUCLIDEAN = 35;
569
	const KERNEL_USER_DEFINED = 36;
570
	const KERNEL_BINOMIAL = 37;
571
	const DIRECTION_LEFT_TO_RIGHT = 2;
572
	const DIRECTION_RIGHT_TO_LEFT = 1;
573
	const NORMALIZE_KERNEL_NONE = 0;
574
	const NORMALIZE_KERNEL_VALUE = 8192;
575
	const NORMALIZE_KERNEL_CORRELATE = 65536;
576
	const NORMALIZE_KERNEL_PERCENT = 4096;
577
578
	/**
579
	 * (PECL imagick 2.0.0)<br/>
580
	 * Removes repeated portions of images to optimize
581
	 * @link https://php.net/manual/en/imagick.optimizeimagelayers.php
582
	 * @return bool <b>TRUE</b> on success.
583
	 */
584
	public function optimizeImageLayers () {}
585
586
	/**
587
	 * (PECL imagick 2.0.0)<br/>
588
	 * Returns the maximum bounding region between images
589
	 * @link https://php.net/manual/en/imagick.compareimagelayers.php
590
	 * @param int $method <p>
591
	 * One of the layer method constants.
592
	 * </p>
593
	 * @return Imagick <b>TRUE</b> on success.
594
	 */
595
	public function compareImageLayers ($method) {}
596
597
	/**
598
	 * (PECL imagick 2.0.0)<br/>
599
	 * Quickly fetch attributes
600
	 * @link https://php.net/manual/en/imagick.pingimageblob.php
601
	 * @param string $image <p>
602
	 * A string containing the image.
603
	 * </p>
604
	 * @return bool <b>TRUE</b> on success.
605
	 */
606
	public function pingImageBlob ($image) {}
607
608
	/**
609
	 * (PECL imagick 2.0.0)<br/>
610
	 * Get basic image attributes in a lightweight manner
611
	 * @link https://php.net/manual/en/imagick.pingimagefile.php
612
	 * @param resource $filehandle <p>
613
	 * An open filehandle to the image.
614
	 * </p>
615
	 * @param string $fileName [optional] <p>
616
	 * Optional filename for this image.
617
	 * </p>
618
	 * @return bool <b>TRUE</b> on success.
619
	 */
620
	public function pingImageFile ($filehandle, $fileName = null) {}
621
622
	/**
623
	 * (PECL imagick 2.0.0)<br/>
624
	 * Creates a vertical mirror image
625
	 * @link https://php.net/manual/en/imagick.transposeimage.php
626
	 * @return bool <b>TRUE</b> on success.
627
	 */
628
	public function transposeImage () {}
629
630
	/**
631
	 * (PECL imagick 2.0.0)<br/>
632
	 * Creates a horizontal mirror image
633
	 * @link https://php.net/manual/en/imagick.transverseimage.php
634
	 * @return bool <b>TRUE</b> on success.
635
	 */
636
	public function transverseImage () {}
637
638
	/**
639
	 * (PECL imagick 2.0.0)<br/>
640
	 * Remove edges from the image
641
	 * @link https://php.net/manual/en/imagick.trimimage.php
642
	 * @param float $fuzz <p>
643
	 * By default target must match a particular pixel color exactly.
644
	 * However, in many cases two colors may differ by a small amount.
645
	 * The fuzz member of image defines how much tolerance is acceptable
646
	 * to consider two colors as the same. This parameter represents the variation
647
	 * on the quantum range.
648
	 * </p>
649
	 * @return bool <b>TRUE</b> on success.
650
	 */
651
	public function trimImage ($fuzz) {}
652
653
	/**
654
	 * (PECL imagick 2.0.0)<br/>
655
	 * Applies wave filter to the image
656
	 * @link https://php.net/manual/en/imagick.waveimage.php
657
	 * @param float $amplitude <p>
658
	 * The amplitude of the wave.
659
	 * </p>
660
	 * @param float $length <p>
661
	 * The length of the wave.
662
	 * </p>
663
	 * @return bool <b>TRUE</b> on success.
664
	 */
665
	public function waveImage ($amplitude, $length) {}
666
667
	/**
668
	 * (PECL imagick 2.0.0)<br/>
669
	 * Adds vignette filter to the image
670
	 * @link https://php.net/manual/en/imagick.vignetteimage.php
671
	 * @param float $blackPoint <p>
672
	 * The black point.
673
	 * </p>
674
	 * @param float $whitePoint <p>
675
	 * The white point
676
	 * </p>
677
	 * @param int $x <p>
678
	 * X offset of the ellipse
679
	 * </p>
680
	 * @param int $y <p>
681
	 * Y offset of the ellipse
682
	 * </p>
683
	 * @return bool <b>TRUE</b> on success.
684
	 */
685
	public function vignetteImage ($blackPoint, $whitePoint, $x, $y) {}
686
687
	/**
688
	 * (PECL imagick 2.0.0)<br/>
689
	 * Discards all but one of any pixel color
690
	 * @link https://php.net/manual/en/imagick.uniqueimagecolors.php
691
	 * @return bool <b>TRUE</b> on success.
692
	 */
693
	public function uniqueImageColors () {}
694
695
	/**
696
	 * (PECL imagick 2.0.0)<br/>
697
	 * Return if the image has a matte channel
698
	 * @link https://php.net/manual/en/imagick.getimagematte.php
699
	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
700
	 */
701
	public function getImageMatte () {}
702
703
	/**
704
	 * (PECL imagick 2.0.0)<br/>
705
	 * Sets the image matte channel
706
	 * @link https://php.net/manual/en/imagick.setimagematte.php
707
	 * @param bool $matte <p>
708
	 * True activates the matte channel and false disables it.
709
	 * </p>
710
	 * @return bool <b>TRUE</b> on success.
711
	 */
712
	public function setImageMatte ($matte) {}
713
714
	/**
715
	 * Adaptively resize image with data dependent triangulation
716
	 *
717
	 * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
718
	 * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
719
	 * <br>
720
	 * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.
721
	 * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
722
	 * @link https://php.net/manual/en/imagick.adaptiveresizeimage.php
723
	 * @param int $columns The number of columns in the scaled image.
724
	 * @param int $rows The number of rows in the scaled image.
725
	 * @param bool $bestfit [optional] Whether to fit the image inside a bounding box.<br>
726
	 *                                 The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
727
	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
728
	 * @return bool TRUE on success
729
	 * @throws ImagickException Throws ImagickException on error
730
	 * @since 2.0.0
731
	 */
732
	public function adaptiveResizeImage ($columns, $rows, $bestfit = false, $legacy = false) {}
733
734
	/**
735
	 * (PECL imagick 2.0.0)<br/>
736
	 * Simulates a pencil sketch
737
	 * @link https://php.net/manual/en/imagick.sketchimage.php
738
	 * @param float $radius <p>
739
	 * The radius of the Gaussian, in pixels, not counting the center pixel
740
	 * </p>
741
	 * @param float $sigma <p>
742
	 * The standard deviation of the Gaussian, in pixels.
743
	 * </p>
744
	 * @param float $angle <p>
745
	 * Apply the effect along this angle.
746
	 * </p>
747
	 * @return bool <b>TRUE</b> on success.
748
	 */
749
	public function sketchImage ($radius, $sigma, $angle) {}
750
751
	/**
752
	 * (PECL imagick 2.0.0)<br/>
753
	 * Creates a 3D effect
754
	 * @link https://php.net/manual/en/imagick.shadeimage.php
755
	 * @param bool $gray <p>
756
	 * A value other than zero shades the intensity of each pixel.
757
	 * </p>
758
	 * @param float $azimuth <p>
759
	 * Defines the light source direction.
760
	 * </p>
761
	 * @param float $elevation <p>
762
	 * Defines the light source direction.
763
	 * </p>
764
	 * @return bool <b>TRUE</b> on success.
765
	 */
766
	public function shadeImage ($gray, $azimuth, $elevation) {}
767
768
	/**
769
	 * (PECL imagick 2.0.0)<br/>
770
	 * Returns the size offset
771
	 * @link https://php.net/manual/en/imagick.getsizeoffset.php
772
	 * @return int the size offset associated with the Imagick object.
773
	 */
774
	public function getSizeOffset () {}
775
776
	/**
777
	 * (PECL imagick 2.0.0)<br/>
778
	 * Sets the size and offset of the Imagick object
779
	 * @link https://php.net/manual/en/imagick.setsizeoffset.php
780
	 * @param int $columns <p>
781
	 * The width in pixels.
782
	 * </p>
783
	 * @param int $rows <p>
784
	 * The height in pixels.
785
	 * </p>
786
	 * @param int $offset <p>
787
	 * The image offset.
788
	 * </p>
789
	 * @return bool <b>TRUE</b> on success.
790
	 */
791
	public function setSizeOffset ($columns, $rows, $offset) {}
792
793
	/**
794
	 * (PECL imagick 2.0.0)<br/>
795
	 * Adds adaptive blur filter to image
796
	 * @link https://php.net/manual/en/imagick.adaptiveblurimage.php
797
	 * @param float $radius <p>
798
	 * The radius of the Gaussian, in pixels, not counting the center pixel.
799
	 * Provide a value of 0 and the radius will be chosen automagically.
800
	 * </p>
801
	 * @param float $sigma <p>
802
	 * The standard deviation of the Gaussian, in pixels.
803
	 * </p>
804
	 * @param int $channel [optional] <p>
805
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
806
	 * </p>
807
	 * @return bool <b>TRUE</b> on success.
808
	 */
809
	public function adaptiveBlurImage ($radius, $sigma, $channel = Imagick::CHANNEL_DEFAULT) {}
810
811
	/**
812
	 * (PECL imagick 2.0.0)<br/>
813
	 * Enhances the contrast of a color image
814
	 * @link https://php.net/manual/en/imagick.contraststretchimage.php
815
	 * @param float $black_point <p>
816
	 * The black point.
817
	 * </p>
818
	 * @param float $white_point <p>
819
	 * The white point.
820
	 * </p>
821
	 * @param int $channel [optional] <p>
822
	 * Provide any channel constant that is valid for your channel mode. To
823
	 * apply to more than one channel, combine channeltype constants using
824
	 * bitwise operators. <b>Imagick::CHANNEL_ALL</b>. Refer to this
825
	 * list of channel constants.
826
	 * </p>
827
	 * @return bool <b>TRUE</b> on success.
828
	 */
829
	public function contrastStretchImage ($black_point, $white_point, $channel = Imagick::CHANNEL_ALL) {}
830
831
	/**
832
	 * (PECL imagick 2.0.0)<br/>
833
	 * Adaptively sharpen the image
834
	 * @link https://php.net/manual/en/imagick.adaptivesharpenimage.php
835
	 * @param float $radius <p>
836
	 * The radius of the Gaussian, in pixels, not counting the center pixel. Use 0 for auto-select.
837
	 * </p>
838
	 * @param float $sigma <p>
839
	 * The standard deviation of the Gaussian, in pixels.
840
	 * </p>
841
	 * @param int $channel [optional] <p>
842
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
843
	 * </p>
844
	 * @return bool <b>TRUE</b> on success.
845
	 */
846
	public function adaptiveSharpenImage ($radius, $sigma, $channel = Imagick::CHANNEL_DEFAULT) {}
847
848
	/**
849
	 * (PECL imagick 2.0.0)<br/>
850
	 * Creates a high-contrast, two-color image
851
	 * @link https://php.net/manual/en/imagick.randomthresholdimage.php
852
	 * @param float $low <p>
853
	 * The low point
854
	 * </p>
855
	 * @param float $high <p>
856
	 * The high point
857
	 * </p>
858
	 * @param int $channel [optional] <p>
859
	 * Provide any channel constant that is valid for your channel mode. To
860
	 * apply to more than one channel, combine channeltype constants using
861
	 * bitwise operators. Refer to this
862
	 * list of channel constants.
863
	 * </p>
864
	 * @return bool <b>TRUE</b> on success.
865
	 */
866
	public function randomThresholdImage ($low, $high, $channel = Imagick::CHANNEL_ALL) {}
867
868
	/**
869
	 * @param $xRounding
870
	 * @param $yRounding
871
	 * @param $strokeWidth [optional]
872
	 * @param $displace [optional]
873
	 * @param $sizeCorrection [optional]
874
	 */
875
	public function roundCornersImage ($xRounding, $yRounding, $strokeWidth, $displace, $sizeCorrection) {}
876
877
	/**
878
	 * (PECL imagick 2.0.0)<br/>
879
	 * Rounds image corners
880
	 * @link https://php.net/manual/en/imagick.roundcorners.php
881
	 * @param float $x_rounding <p>
882
	 * x rounding
883
	 * </p>
884
	 * @param float $y_rounding <p>
885
	 * y rounding
886
	 * </p>
887
	 * @param float $stroke_width [optional] <p>
888
	 * stroke width
889
	 * </p>
890
	 * @param float $displace [optional] <p>
891
	 * image displace
892
	 * </p>
893
	 * @param float $size_correction [optional] <p>
894
	 * size correction
895
	 * </p>
896
	 * @return bool <b>TRUE</b> on success.
897
	 */
898
	public function roundCorners ($x_rounding, $y_rounding, $stroke_width = 10.0, $displace = 5.0, $size_correction = -6.0) {}
899
900
	/**
901
	 * (PECL imagick 2.0.0)<br/>
902
	 * Set the iterator position
903
	 * @link https://php.net/manual/en/imagick.setiteratorindex.php
904
	 * @param int $index <p>
905
	 * The position to set the iterator to
906
	 * </p>
907
	 * @return bool <b>TRUE</b> on success.
908
	 */
909
	public function setIteratorIndex ($index) {}
910
911
	/**
912
	 * (PECL imagick 2.0.0)<br/>
913
	 * Gets the index of the current active image
914
	 * @link https://php.net/manual/en/imagick.getiteratorindex.php
915
	 * @return int an integer containing the index of the image in the stack.
916
	 */
917
	public function getIteratorIndex () {}
918
919
	/**
920
	 * (PECL imagick 2.0.0)<br/>
921
	 * Convenience method for setting crop size and the image geometry
922
	 * @link https://php.net/manual/en/imagick.transformimage.php
923
	 * @param string $crop <p>
924
	 * A crop geometry string. This geometry defines a subregion of the image to crop.
925
	 * </p>
926
	 * @param string $geometry <p>
927
	 * An image geometry string. This geometry defines the final size of the image.
928
	 * </p>
929
	 * @return Imagick <b>TRUE</b> on success.
930
	 */
931
	public function transformImage ($crop, $geometry) {}
932
933
	/**
934
	 * (PECL imagick 2.0.0)<br/>
935
	 * Sets the image opacity level
936
	 * @link https://php.net/manual/en/imagick.setimageopacity.php
937
	 * @param float $opacity <p>
938
	 * The level of transparency: 1.0 is fully opaque and 0.0 is fully
939
	 * transparent.
940
	 * </p>
941
	 * @return bool <b>TRUE</b> on success.
942
	 */
943
	public function setImageOpacity ($opacity) {}
944
945
	/**
946
	 * (PECL imagick 2.2.2)<br/>
947
	 * Performs an ordered dither
948
	 * @link https://php.net/manual/en/imagick.orderedposterizeimage.php
949
	 * @param string $threshold_map <p>
950
	 * A string containing the name of the threshold dither map to use
951
	 * </p>
952
	 * @param int $channel [optional] <p>
953
	 * Provide any channel constant that is valid for your channel mode. To
954
	 * apply to more than one channel, combine channeltype constants using
955
	 * bitwise operators. Refer to this
956
	 * list of channel constants.
957
	 * </p>
958
	 * @return bool <b>TRUE</b> on success.
959
	 */
960
	public function orderedPosterizeImage ($threshold_map, $channel = Imagick::CHANNEL_ALL) {}
961
962
	/**
963
	 * (PECL imagick 2.0.0)<br/>
964
	 * Simulates a Polaroid picture
965
	 * @link https://php.net/manual/en/imagick.polaroidimage.php
966
	 * @param ImagickDraw $properties <p>
967
	 * The polaroid properties
968
	 * </p>
969
	 * @param float $angle <p>
970
	 * The polaroid angle
971
	 * </p>
972
	 * @return bool <b>TRUE</b> on success.
973
	 */
974
	public function polaroidImage (ImagickDraw $properties, $angle) {}
975
976
	/**
977
	 * (PECL imagick 2.0.0)<br/>
978
	 * Returns the named image property
979
	 * @link https://php.net/manual/en/imagick.getimageproperty.php
980
	 * @param string $name <p>
981
	 * name of the property (for example Exif:DateTime)
982
	 * </p>
983
	 * @return string|false a string containing the image property, false if a
984
	 * property with the given name does not exist.
985
	 */
986
	public function getImageProperty ($name) {}
987
988
	/**
989
	 * (PECL imagick 2.0.0)<br/>
990
	 * Sets an image property
991
	 * @link https://php.net/manual/en/imagick.setimageproperty.php
992
	 * @param string $name
993
	 * @param string $value
994
	 * @return bool <b>TRUE</b> on success.
995
	 */
996
	public function setImageProperty ($name, $value) {}
997
998
	/**
999
	 * (PECL imagick 2.0.0)<br/>
1000
	 * Sets the image interpolate pixel method
1001
	 * @link https://php.net/manual/en/imagick.setimageinterpolatemethod.php
1002
	 * @param int $method <p>
1003
	 * The method is one of the <b>Imagick::INTERPOLATE_*</b> constants
1004
	 * </p>
1005
	 * @return bool <b>TRUE</b> on success.
1006
	 */
1007
	public function setImageInterpolateMethod ($method) {}
1008
1009
	/**
1010
	 * (PECL imagick 2.0.0)<br/>
1011
	 * Returns the interpolation method
1012
	 * @link https://php.net/manual/en/imagick.getimageinterpolatemethod.php
1013
	 * @return int the interpolate method on success.
1014
	 */
1015
	public function getImageInterpolateMethod () {}
1016
1017
	/**
1018
	 * (PECL imagick 2.0.0)<br/>
1019
	 * Stretches with saturation the image intensity
1020
	 * @link https://php.net/manual/en/imagick.linearstretchimage.php
1021
	 * @param float $blackPoint <p>
1022
	 * The image black point
1023
	 * </p>
1024
	 * @param float $whitePoint <p>
1025
	 * The image white point
1026
	 * </p>
1027
	 * @return bool <b>TRUE</b> on success.
1028
	 */
1029
	public function linearStretchImage ($blackPoint, $whitePoint) {}
1030
1031
	/**
1032
	 * (PECL imagick 2.0.0)<br/>
1033
	 * Returns the image length in bytes
1034
	 * @link https://php.net/manual/en/imagick.getimagelength.php
1035
	 * @return int an int containing the current image size.
1036
	 */
1037
	public function getImageLength () {}
1038
1039
	/**
1040
	 * (No version information available, might only be in SVN)<br/>
1041
	 * Set image size
1042
	 * @link https://php.net/manual/en/imagick.extentimage.php
1043
	 * @param int $width <p>
1044
	 * The new width
1045
	 * </p>
1046
	 * @param int $height <p>
1047
	 * The new height
1048
	 * </p>
1049
	 * @param int $x <p>
1050
	 * X position for the new size
1051
	 * </p>
1052
	 * @param int $y <p>
1053
	 * Y position for the new size
1054
	 * </p>
1055
	 * @return bool <b>TRUE</b> on success.
1056
	 */
1057
	public function extentImage ($width, $height, $x, $y) {}
1058
1059
	/**
1060
	 * (PECL imagick 2.0.0)<br/>
1061
	 * Gets the image orientation
1062
	 * @link https://php.net/manual/en/imagick.getimageorientation.php
1063
	 * @return int an int on success.
1064
	 */
1065
	public function getImageOrientation () {}
1066
1067
	/**
1068
	 * (PECL imagick 2.0.0)<br/>
1069
	 * Sets the image orientation
1070
	 * @link https://php.net/manual/en/imagick.setimageorientation.php
1071
	 * @param int $orientation <p>
1072
	 * One of the orientation constants
1073
	 * </p>
1074
	 * @return bool <b>TRUE</b> on success.
1075
	 */
1076
	public function setImageOrientation ($orientation) {}
1077
1078
	/**
1079
	 * (PECL imagick 2.1.0)<br/>
1080
	 * Changes the color value of any pixel that matches target
1081
	 * @link https://php.net/manual/en/imagick.paintfloodfillimage.php
1082
	 * @param mixed $fill <p>
1083
	 * ImagickPixel object or a string containing the fill color
1084
	 * </p>
1085
	 * @param float $fuzz <p>
1086
	 * The amount of fuzz. For example, set fuzz to 10 and the color red at
1087
	 * intensities of 100 and 102 respectively are now interpreted as the
1088
	 * same color for the purposes of the floodfill.
1089
	 * </p>
1090
	 * @param mixed $bordercolor <p>
1091
	 * ImagickPixel object or a string containing the border color
1092
	 * </p>
1093
	 * @param int $x <p>
1094
	 * X start position of the floodfill
1095
	 * </p>
1096
	 * @param int $y <p>
1097
	 * Y start position of the floodfill
1098
	 * </p>
1099
	 * @param int $channel [optional] <p>
1100
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1101
	 * </p>
1102
	 * @return bool <b>TRUE</b> on success.
1103
	 */
1104
	public function paintFloodfillImage ($fill, $fuzz, $bordercolor, $x, $y, $channel = Imagick::CHANNEL_ALL) {}
1105
1106
	/**
1107
	 * (PECL imagick 2.0.0)<br/>
1108
	 * Replaces colors in the image from a color lookup table. Optional second parameter to replace colors in a specific channel. This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
1109
	 * @link https://php.net/manual/en/imagick.clutimage.php
1110
	 * @param Imagick $lookup_table <p>
1111
	 * Imagick object containing the color lookup table
1112
	 * </p>
1113
	 * @param int $channel [optional] <p>
1114
	 * The Channeltype
1115
	 * constant. When not supplied, default channels are replaced.
1116
	 * </p>
1117
	 * @return bool <b>TRUE</b> on success.
1118
	 * @since 2.0.0
1119
	 */
1120
	public function clutImage (Imagick $lookup_table, $channel = Imagick::CHANNEL_DEFAULT) {}
1121
1122
	/**
1123
	 * (PECL imagick 2.0.0)<br/>
1124
	 * Returns the image properties
1125
	 * @link https://php.net/manual/en/imagick.getimageproperties.php
1126
	 * @param string $pattern [optional] <p>
1127
	 * The pattern for property names.
1128
	 * </p>
1129
	 * @param bool $only_names [optional] <p>
1130
	 * Whether to return only property names. If <b>FALSE</b> then also the values are returned
1131
	 * </p>
1132
	 * @return array an array containing the image properties or property names.
1133
	 */
1134
	public function getImageProperties ($pattern = "*", $only_names = true) {}
1135
1136
	/**
1137
	 * (PECL imagick 2.2.0)<br/>
1138
	 * Returns the image profiles
1139
	 * @link https://php.net/manual/en/imagick.getimageprofiles.php
1140
	 * @param string $pattern [optional] <p>
1141
	 * The pattern for profile names.
1142
	 * </p>
1143
	 * @param bool $include_values [optional] <p>
1144
	 * Whether to return only profile names. If <b>FALSE</b> then only profile names will be returned.
1145
	 * </p>
1146
	 * @return array an array containing the image profiles or profile names.
1147
	 */
1148
	public function getImageProfiles ($pattern = "*", $include_values = true) {}
1149
1150
	/**
1151
	 * (PECL imagick 2.0.1)<br/>
1152
	 * Distorts an image using various distortion methods
1153
	 * @link https://php.net/manual/en/imagick.distortimage.php
1154
	 * @param int $method <p>
1155
	 * The method of image distortion. See distortion constants
1156
	 * </p>
1157
	 * @param array $arguments <p>
1158
	 * The arguments for this distortion method
1159
	 * </p>
1160
	 * @param bool $bestfit <p>
1161
	 * Attempt to resize destination to fit distorted source
1162
	 * </p>
1163
	 * @return bool <b>TRUE</b> on success.
1164
	 */
1165
	public function distortImage ($method, array $arguments, $bestfit) {}
1166
1167
	/**
1168
	 * (No version information available, might only be in SVN)<br/>
1169
	 * Writes an image to a filehandle
1170
	 * @link https://php.net/manual/en/imagick.writeimagefile.php
1171
	 * @param resource $filehandle <p>
1172
	 * Filehandle where to write the image
1173
	 * </p>
1174
	 * @return bool <b>TRUE</b> on success.
1175
	 */
1176
	public function writeImageFile ($filehandle) {}
1177
1178
	/**
1179
	 * (No version information available, might only be in SVN)<br/>
1180
	 * Writes frames to a filehandle
1181
	 * @link https://php.net/manual/en/imagick.writeimagesfile.php
1182
	 * @param resource $filehandle <p>
1183
	 * Filehandle where to write the images
1184
	 * </p>
1185
	 * @return bool <b>TRUE</b> on success.
1186
	 */
1187
	public function writeImagesFile ($filehandle) {}
1188
1189
	/**
1190
	 * (No version information available, might only be in SVN)<br/>
1191
	 * Reset image page
1192
	 * @link https://php.net/manual/en/imagick.resetimagepage.php
1193
	 * @param string $page <p>
1194
	 * The page definition. For example 7168x5147+0+0
1195
	 * </p>
1196
	 * @return bool <b>TRUE</b> on success.
1197
	 */
1198
	public function resetImagePage ($page) {}
1199
1200
	/**
1201
	 * (No version information available, might only be in SVN)<br/>
1202
	 * Sets image clip mask
1203
	 * @link https://php.net/manual/en/imagick.setimageclipmask.php
1204
	 * @param Imagick $clip_mask <p>
1205
	 * The Imagick object containing the clip mask
1206
	 * </p>
1207
	 * @return bool <b>TRUE</b> on success.
1208
	 */
1209
	public function setImageClipMask (Imagick $clip_mask) {}
1210
1211
	/**
1212
	 * (No version information available, might only be in SVN)<br/>
1213
	 * Gets image clip mask
1214
	 * @link https://php.net/manual/en/imagick.getimageclipmask.php
1215
	 * @return Imagick an Imagick object containing the clip mask.
1216
	 */
1217
	public function getImageClipMask () {}
1218
1219
	/**
1220
	 * (No version information available, might only be in SVN)<br/>
1221
	 * Animates an image or images
1222
	 * @link https://php.net/manual/en/imagick.animateimages.php
1223
	 * @param string $x_server <p>
1224
	 * X server address
1225
	 * </p>
1226
	 * @return bool <b>TRUE</b> on success.
1227
	 */
1228
	public function animateImages ($x_server) {}
1229
1230
	/**
1231
	 * (No version information available, might only be in SVN)<br/>
1232
	 * Recolors image
1233
	 * @link https://php.net/manual/en/imagick.recolorimage.php
1234
	 * @param array $matrix <p>
1235
	 * The matrix containing the color values
1236
	 * </p>
1237
	 * @return bool <b>TRUE</b> on success.
1238
	 */
1239
	public function recolorImage (array $matrix) {}
1240
1241
	/**
1242
	 * (PECL imagick 2.1.0)<br/>
1243
	 * Sets font
1244
	 * @link https://php.net/manual/en/imagick.setfont.php
1245
	 * @param string $font <p>
1246
	 * Font name or a filename
1247
	 * </p>
1248
	 * @return bool <b>TRUE</b> on success.
1249
	 */
1250
	public function setFont ($font) {}
1251
1252
	/**
1253
	 * (PECL imagick 2.1.0)<br/>
1254
	 * Gets font
1255
	 * @link https://php.net/manual/en/imagick.getfont.php
1256
	 * @return string|false the string containing the font name or <b>FALSE</b> if not font is set.
1257
	 */
1258
	public function getFont () {}
1259
1260
	/**
1261
	 * (PECL imagick 2.1.0)<br/>
1262
	 * Sets point size
1263
	 * @link https://php.net/manual/en/imagick.setpointsize.php
1264
	 * @param float $point_size <p>
1265
	 * Point size
1266
	 * </p>
1267
	 * @return bool <b>TRUE</b> on success.
1268
	 */
1269
	public function setPointSize ($point_size) {}
1270
1271
	/**
1272
	 * (No version information available, might only be in SVN)<br/>
1273
	 * Gets point size
1274
	 * @link https://php.net/manual/en/imagick.getpointsize.php
1275
	 * @return float a float containing the point size.
1276
	 */
1277
	public function getPointSize () {}
1278
1279
	/**
1280
	 * (PECL imagick 2.1.0)<br/>
1281
	 * Merges image layers
1282
	 * @link https://php.net/manual/en/imagick.mergeimagelayers.php
1283
	 * @param int $layer_method <p>
1284
	 * One of the <b>Imagick::LAYERMETHOD_*</b> constants
1285
	 * </p>
1286
	 * @return Imagick Returns an Imagick object containing the merged image.
1287
	 * @throws ImagickException
1288
	 */
1289
	public function mergeImageLayers ($layer_method) {}
1290
1291
	/**
1292
	 * (No version information available, might only be in SVN)<br/>
1293
	 * Sets image alpha channel
1294
	 * @link https://php.net/manual/en/imagick.setimagealphachannel.php
1295
	 * @param int $mode <p>
1296
	 * One of the <b>Imagick::ALPHACHANNEL_*</b> constants
1297
	 * </p>
1298
	 * @return bool <b>TRUE</b> on success.
1299
	 */
1300
	public function setImageAlphaChannel ($mode) {}
1301
1302
	/**
1303
	 * (No version information available, might only be in SVN)<br/>
1304
	 * Changes the color value of any pixel that matches target
1305
	 * @link https://php.net/manual/en/imagick.floodfillpaintimage.php
1306
	 * @param mixed $fill <p>
1307
	 * ImagickPixel object or a string containing the fill color
1308
	 * </p>
1309
	 * @param float $fuzz <p>
1310
	 * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
1311
	 * </p>
1312
	 * @param mixed $target <p>
1313
	 * ImagickPixel object or a string containing the target color to paint
1314
	 * </p>
1315
	 * @param int $x <p>
1316
	 * X start position of the floodfill
1317
	 * </p>
1318
	 * @param int $y <p>
1319
	 * Y start position of the floodfill
1320
	 * </p>
1321
	 * @param bool $invert <p>
1322
	 * If <b>TRUE</b> paints any pixel that does not match the target color.
1323
	 * </p>
1324
	 * @param int $channel [optional] <p>
1325
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1326
	 * </p>
1327
	 * @return bool <b>TRUE</b> on success.
1328
	 */
1329
	public function floodFillPaintImage ($fill, $fuzz, $target, $x, $y, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}
1330
1331
	/**
1332
	 * (No version information available, might only be in SVN)<br/>
1333
	 * Changes the color value of any pixel that matches target
1334
	 * @link https://php.net/manual/en/imagick.opaquepaintimage.php
1335
	 * @param mixed $target <p>
1336
	 * ImagickPixel object or a string containing the color to change
1337
	 * </p>
1338
	 * @param mixed $fill <p>
1339
	 * The replacement color
1340
	 * </p>
1341
	 * @param float $fuzz <p>
1342
	 * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
1343
	 * </p>
1344
	 * @param bool $invert <p>
1345
	 * If <b>TRUE</b> paints any pixel that does not match the target color.
1346
	 * </p>
1347
	 * @param int $channel [optional] <p>
1348
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1349
	 * </p>
1350
	 * @return bool <b>TRUE</b> on success.
1351
	 */
1352
	public function opaquePaintImage ($target, $fill, $fuzz, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}
1353
1354
	/**
1355
	 * (No version information available, might only be in SVN)<br/>
1356
	 * Paints pixels transparent
1357
	 * @link https://php.net/manual/en/imagick.transparentpaintimage.php
1358
	 * @param mixed $target <p>
1359
	 * The target color to paint
1360
	 * </p>
1361
	 * @param float $alpha <p>
1362
	 * The level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.
1363
	 * </p>
1364
	 * @param float $fuzz <p>
1365
	 * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
1366
	 * </p>
1367
	 * @param bool $invert <p>
1368
	 * If <b>TRUE</b> paints any pixel that does not match the target color.
1369
	 * </p>
1370
	 * @return bool <b>TRUE</b> on success.
1371
	 */
1372
	public function transparentPaintImage ($target, $alpha, $fuzz, $invert) {}
1373
1374
	/**
1375
	 * (No version information available, might only be in SVN)<br/>
1376
	 * Animates an image or images
1377
	 * @link https://php.net/manual/en/imagick.liquidrescaleimage.php
1378
	 * @param int $width <p>
1379
	 * The width of the target size
1380
	 * </p>
1381
	 * @param int $height <p>
1382
	 * The height of the target size
1383
	 * </p>
1384
	 * @param float $delta_x <p>
1385
	 * How much the seam can traverse on x-axis.
1386
	 * Passing 0 causes the seams to be straight.
1387
	 * </p>
1388
	 * @param float $rigidity <p>
1389
	 * Introduces a bias for non-straight seams. This parameter is
1390
	 * typically 0.
1391
	 * </p>
1392
	 * @return bool <b>TRUE</b> on success.
1393
	 */
1394
	public function liquidRescaleImage ($width, $height, $delta_x, $rigidity) {}
1395
1396
	/**
1397
	 * (No version information available, might only be in SVN)<br/>
1398
	 * Enciphers an image
1399
	 * @link https://php.net/manual/en/imagick.encipherimage.php
1400
	 * @param string $passphrase <p>
1401
	 * The passphrase
1402
	 * </p>
1403
	 * @return bool <b>TRUE</b> on success.
1404
	 */
1405
	public function encipherImage ($passphrase) {}
1406
1407
	/**
1408
	 * (No version information available, might only be in SVN)<br/>
1409
	 * Deciphers an image
1410
	 * @link https://php.net/manual/en/imagick.decipherimage.php
1411
	 * @param string $passphrase <p>
1412
	 * The passphrase
1413
	 * </p>
1414
	 * @return bool <b>TRUE</b> on success.
1415
	 */
1416
	public function decipherImage ($passphrase) {}
1417
1418
	/**
1419
	 * (No version information available, might only be in SVN)<br/>
1420
	 * Sets the gravity
1421
	 * @link https://php.net/manual/en/imagick.setgravity.php
1422
	 * @param int $gravity <p>
1423
	 * The gravity property. Refer to the list of
1424
	 * gravity constants.
1425
	 * </p>
1426
	 * @return bool No value is returned.
1427
	 */
1428
	public function setGravity ($gravity) {}
1429
1430
	/**
1431
	 * (No version information available, might only be in SVN)<br/>
1432
	 * Gets the gravity
1433
	 * @link https://php.net/manual/en/imagick.getgravity.php
1434
	 * @return int the gravity property. Refer to the list of
1435
	 * gravity constants.
1436
	 */
1437
	public function getGravity () {}
1438
1439
	/**
1440
	 * (PECL imagick 2.2.1)<br/>
1441
	 * Gets channel range
1442
	 * @link https://php.net/manual/en/imagick.getimagechannelrange.php
1443
	 * @param int $channel <p>
1444
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1445
	 * </p>
1446
	 * @return array an array containing minima and maxima values of the channel(s).
1447
	 */
1448
	public function getImageChannelRange ($channel) {}
1449
1450
	/**
1451
	 * (No version information available, might only be in SVN)<br/>
1452
	 * Gets the image alpha channel
1453
	 * @link https://php.net/manual/en/imagick.getimagealphachannel.php
1454
	 * @return int a constant defining the current alpha channel value. Refer to this
1455
	 * list of alpha channel constants.
1456
	 */
1457
	public function getImageAlphaChannel () {}
1458
1459
	/**
1460
	 * (No version information available, might only be in SVN)<br/>
1461
	 * Gets channel distortions
1462
	 * @link https://php.net/manual/en/imagick.getimagechanneldistortions.php
1463
	 * @param Imagick $reference <p>
1464
	 * Imagick object containing the reference image
1465
	 * </p>
1466
	 * @param int $metric <p>
1467
	 * Refer to this list of metric type constants.
1468
	 * </p>
1469
	 * @param int $channel [optional] <p>
1470
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1471
	 * </p>
1472
	 * @return float a float describing the channel distortion.
1473
	 */
1474
	public function getImageChannelDistortions (Imagick $reference, $metric, $channel = Imagick::CHANNEL_DEFAULT) {}
1475
1476
	/**
1477
	 * (No version information available, might only be in SVN)<br/>
1478
	 * Sets the image gravity
1479
	 * @link https://php.net/manual/en/imagick.setimagegravity.php
1480
	 * @param int $gravity <p>
1481
	 * The gravity property. Refer to the list of
1482
	 * gravity constants.
1483
	 * </p>
1484
	 * @return bool No value is returned.
1485
	 */
1486
	public function setImageGravity ($gravity) {}
1487
1488
	/**
1489
	 * (No version information available, might only be in SVN)<br/>
1490
	 * Gets the image gravity
1491
	 * @link https://php.net/manual/en/imagick.getimagegravity.php
1492
	 * @return int the images gravity property. Refer to the list of
1493
	 * gravity constants.
1494
	 */
1495
	public function getImageGravity () {}
1496
1497
	/**
1498
	 * (No version information available, might only be in SVN)<br/>
1499
	 * Imports image pixels
1500
	 * @link https://php.net/manual/en/imagick.importimagepixels.php
1501
	 * @param int $x <p>
1502
	 * The image x position
1503
	 * </p>
1504
	 * @param int $y <p>
1505
	 * The image y position
1506
	 * </p>
1507
	 * @param int $width <p>
1508
	 * The image width
1509
	 * </p>
1510
	 * @param int $height <p>
1511
	 * The image height
1512
	 * </p>
1513
	 * @param string $map <p>
1514
	 * Map of pixel ordering as a string. This can be for example RGB.
1515
	 * The value can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent),
1516
	 * O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.
1517
	 * </p>
1518
	 * @param int $storage <p>
1519
	 * The pixel storage method.
1520
	 * Refer to this list of pixel constants.
1521
	 * </p>
1522
	 * @param array $pixels <p>
1523
	 * The array of pixels
1524
	 * </p>
1525
	 * @return bool <b>TRUE</b> on success.
1526
	 */
1527
	public function importImagePixels ($x, $y, $width, $height, $map, $storage, array $pixels) {}
1528
1529
	/**
1530
	 * (No version information available, might only be in SVN)<br/>
1531
	 * Removes skew from the image
1532
	 * @link https://php.net/manual/en/imagick.deskewimage.php
1533
	 * @param float $threshold <p>
1534
	 * Deskew threshold
1535
	 * </p>
1536
	 * @return bool
1537
	 */
1538
	public function deskewImage ($threshold) {}
1539
1540
	/**
1541
	 * (No version information available, might only be in SVN)<br/>
1542
	 * Segments an image
1543
	 * @link https://php.net/manual/en/imagick.segmentimage.php
1544
	 * @param int $COLORSPACE <p>
1545
	 * One of the COLORSPACE constants.
1546
	 * </p>
1547
	 * @param float $cluster_threshold <p>
1548
	 * A percentage describing minimum number of pixels
1549
	 * contained in hexedra before it is considered valid.
1550
	 * </p>
1551
	 * @param float $smooth_threshold <p>
1552
	 * Eliminates noise from the histogram.
1553
	 * </p>
1554
	 * @param bool $verbose [optional] <p>
1555
	 * Whether to output detailed information about recognised classes.
1556
	 * </p>
1557
	 * @return bool
1558
	 */
1559
	public function segmentImage ($COLORSPACE, $cluster_threshold, $smooth_threshold, $verbose = false) {}
1560
1561
	/**
1562
	 * (No version information available, might only be in SVN)<br/>
1563
	 * Interpolates colors
1564
	 * @link https://php.net/manual/en/imagick.sparsecolorimage.php
1565
	 * @param int $SPARSE_METHOD <p>
1566
	 * Refer to this list of sparse method constants
1567
	 * </p>
1568
	 * @param array $arguments <p>
1569
	 * An array containing the coordinates.
1570
	 * The array is in format array(1,1, 2,45)
1571
	 * </p>
1572
	 * @param int $channel [optional]
1573
	 * @return bool <b>TRUE</b> on success.
1574
	 */
1575
	public function sparseColorImage ($SPARSE_METHOD, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}
1576
1577
	/**
1578
	 * (No version information available, might only be in SVN)<br/>
1579
	 * Remaps image colors
1580
	 * @link https://php.net/manual/en/imagick.remapimage.php
1581
	 * @param Imagick $replacement <p>
1582
	 * An Imagick object containing the replacement colors
1583
	 * </p>
1584
	 * @param int $DITHER <p>
1585
	 * Refer to this list of dither method constants
1586
	 * </p>
1587
	 * @return bool <b>TRUE</b> on success.
1588
	 */
1589
	public function remapImage (Imagick $replacement, $DITHER) {}
1590
1591
	/**
1592
	 * (No version information available, might only be in SVN)<br/>
1593
	 * Exports raw image pixels
1594
	 * @link https://php.net/manual/en/imagick.exportimagepixels.php
1595
	 * @param int $x <p>
1596
	 * X-coordinate of the exported area
1597
	 * </p>
1598
	 * @param int $y <p>
1599
	 * Y-coordinate of the exported area
1600
	 * </p>
1601
	 * @param int $width <p>
1602
	 * Width of the exported aread
1603
	 * </p>
1604
	 * @param int $height <p>
1605
	 * Height of the exported area
1606
	 * </p>
1607
	 * @param string $map <p>
1608
	 * Ordering of the exported pixels. For example "RGB".
1609
	 * Valid characters for the map are R, G, B, A, O, C, Y, M, K, I and P.
1610
	 * </p>
1611
	 * @param int $STORAGE <p>
1612
	 * Refer to this list of pixel type constants
1613
	 * </p>
1614
	 * @return array an array containing the pixels values.
1615
	 */
1616
	public function exportImagePixels ($x, $y, $width, $height, $map, $STORAGE) {}
1617
1618
	/**
1619
	 * (No version information available, might only be in SVN)<br/>
1620
	 * The getImageChannelKurtosis purpose
1621
	 * @link https://php.net/manual/en/imagick.getimagechannelkurtosis.php
1622
	 * @param int $channel [optional] <p>
1623
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1624
	 * </p>
1625
	 * @return array an array with kurtosis and skewness
1626
	 * members.
1627
	 */
1628
	public function getImageChannelKurtosis ($channel = Imagick::CHANNEL_DEFAULT) {}
1629
1630
	/**
1631
	 * (No version information available, might only be in SVN)<br/>
1632
	 * Applies a function on the image
1633
	 * @link https://php.net/manual/en/imagick.functionimage.php
1634
	 * @param int $function <p>
1635
	 * Refer to this list of function constants
1636
	 * </p>
1637
	 * @param array $arguments <p>
1638
	 * Array of arguments to pass to this function.
1639
	 * </p>
1640
	 * @param int $channel [optional]
1641
	 * @return bool <b>TRUE</b> on success.
1642
	 */
1643
	public function functionImage ($function, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}
1644
1645
	/**
1646
	 * @param $COLORSPACE
1647
	 */
1648
	public function transformImageColorspace ($COLORSPACE) {}
1649
1650
	/**
1651
	 * (No version information available, might only be in SVN)<br/>
1652
	 * Replaces colors in the image
1653
	 * @link https://php.net/manual/en/imagick.haldclutimage.php
1654
	 * @param Imagick $clut <p>
1655
	 * Imagick object containing the Hald lookup image.
1656
	 * </p>
1657
	 * @param int $channel [optional] <p>
1658
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
1659
	 * </p>
1660
	 * @return bool <b>TRUE</b> on success.
1661
	 */
1662
	public function haldClutImage (Imagick $clut, $channel = Imagick::CHANNEL_DEFAULT) {}
1663
1664
	/**
1665
	 * @param $CHANNEL [optional]
1666
	 */
1667
	public function autoLevelImage ($CHANNEL) {}
1668
1669
	/**
1670
	 * @param $factor [optional]
1671
	 */
1672
	public function blueShiftImage ($factor) {}
1673
1674
	/**
1675
	 * (No version information available, might only be in SVN)<br/>
1676
	 * Get image artifact
1677
	 * @link https://php.net/manual/en/imagick.getimageartifact.php
1678
	 * @param string $artifact <p>
1679
	 * The name of the artifact
1680
	 * </p>
1681
	 * @return string the artifact value on success.
1682
	 */
1683
	public function getImageArtifact ($artifact) {}
1684
1685
	/**
1686
	 * (No version information available, might only be in SVN)<br/>
1687
	 * Set image artifact
1688
	 * @link https://php.net/manual/en/imagick.setimageartifact.php
1689
	 * @param string $artifact <p>
1690
	 * The name of the artifact
1691
	 * </p>
1692
	 * @param string $value <p>
1693
	 * The value of the artifact
1694
	 * </p>
1695
	 * @return bool <b>TRUE</b> on success.
1696
	 */
1697
	public function setImageArtifact ($artifact, $value) {}
1698
1699
	/**
1700
	 * (No version information available, might only be in SVN)<br/>
1701
	 * Delete image artifact
1702
	 * @link https://php.net/manual/en/imagick.deleteimageartifact.php
1703
	 * @param string $artifact <p>
1704
	 * The name of the artifact to delete
1705
	 * </p>
1706
	 * @return bool <b>TRUE</b> on success.
1707
	 */
1708
	public function deleteImageArtifact ($artifact) {}
1709
1710
	/**
1711
	 * (PECL imagick 0.9.10-0.9.9)<br/>
1712
	 * Gets the colorspace
1713
	 * @link https://php.net/manual/en/imagick.getcolorspace.php
1714
	 * @return int an integer which can be compared against COLORSPACE constants.
1715
	 */
1716
	public function getColorspace () {}
1717
1718
	/**
1719
	 * (No version information available, might only be in SVN)<br/>
1720
	 * Set colorspace
1721
	 * @link https://php.net/manual/en/imagick.setcolorspace.php
1722
	 * @param int $COLORSPACE <p>
1723
	 * One of the COLORSPACE constants
1724
	 * </p>
1725
	 * @return bool <b>TRUE</b> on success.
1726
	 */
1727
	public function setColorspace ($COLORSPACE) {}
1728
1729
	/**
1730
	 * @param $CHANNEL [optional]
1731
	 */
1732
	public function clampImage ($CHANNEL) {}
1733
1734
	/**
1735
	 * @param $stack
1736
	 * @param $offset
1737
	 */
1738
	public function smushImages ($stack, $offset) {}
1739
1740
	/**
1741
	 * (PECL imagick 2.0.0)<br/>
1742
	 * The Imagick constructor
1743
	 * @link https://php.net/manual/en/imagick.construct.php
1744
	 * @param mixed $files <p>
1745
	 * The path to an image to load or an array of paths. Paths can include
1746
	 * wildcards for file names, or can be URLs.
1747
	 * </p>
1748
	 * @throws ImagickException Throws ImagickException on error.
1749
	 */
1750
	public function __construct ($files = null) {}
1751
1752
	/**
1753
	 * @return string
1754
	 */
1755
	public function __toString () {}
1756
1757
	public function count () {}
1758
1759
	/**
1760
	 * (PECL imagick 2.0.0)<br/>
1761
	 * Returns a MagickPixelIterator
1762
	 * @link https://php.net/manual/en/imagick.getpixeliterator.php
1763
	 * @return ImagickPixelIterator an ImagickPixelIterator on success.
1764
	 */
1765
	public function getPixelIterator () {}
1766
1767
	/**
1768
	 * (PECL imagick 2.0.0)<br/>
1769
	 * Get an ImagickPixelIterator for an image section
1770
	 * @link https://php.net/manual/en/imagick.getpixelregioniterator.php
1771
	 * @param int $x <p>
1772
	 * The x-coordinate of the region.
1773
	 * </p>
1774
	 * @param int $y <p>
1775
	 * The y-coordinate of the region.
1776
	 * </p>
1777
	 * @param int $columns <p>
1778
	 * The width of the region.
1779
	 * </p>
1780
	 * @param int $rows <p>
1781
	 * The height of the region.
1782
	 * </p>
1783
	 * @return ImagickPixelIterator an ImagickPixelIterator for an image section.
1784
	 */
1785
	public function getPixelRegionIterator ($x, $y, $columns, $rows) {}
1786
1787
	/**
1788
	 * (PECL imagick 0.9.0-0.9.9)<br/>
1789
	 * Reads image from filename
1790
	 * @link https://php.net/manual/en/imagick.readimage.php
1791
	 * @param string $filename
1792
	 * @return bool <b>TRUE</b> on success.
1793
	 * @throws ImagickException Throws ImagickException on error.
1794
	 */
1795
	public function readImage ($filename) {}
1796
1797
	/**
1798
	 * @param $filenames
1799
	 * @throws ImagickException Throws ImagickException on error.
1800
	 */
1801
	public function readImages ($filenames) {}
1802
1803
	/**
1804
	 * (PECL imagick 2.0.0)<br/>
1805
	 * Reads image from a binary string
1806
	 * @link https://php.net/manual/en/imagick.readimageblob.php
1807
	 * @param string $image
1808
	 * @param string $filename [optional]
1809
	 * @return bool <b>TRUE</b> on success.
1810
	 * @throws ImagickException Throws ImagickException on error.
1811
	 */
1812
	public function readImageBlob ($image, $filename = null) {}
1813
1814
	/**
1815
	 * (PECL imagick 2.0.0)<br/>
1816
	 * Sets the format of a particular image
1817
	 * @link https://php.net/manual/en/imagick.setimageformat.php
1818
	 * @param string $format <p>
1819
	 * String presentation of the image format. Format support
1820
	 * depends on the ImageMagick installation.
1821
	 * </p>
1822
	 * @return bool <b>TRUE</b> on success.
1823
	 */
1824
	public function setImageFormat ($format) {}
1825
1826
	/**
1827
	 * Scales the size of an image to the given dimensions. Passing zero as either of the arguments will preserve dimension while scaling.<br>
1828
	 * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
1829
	 * If false, the calculations should produce the same results as ImageMagick CLI does.
1830
	 * @link https://php.net/manual/en/imagick.scaleimage.php
1831
	 * @param int $cols
1832
	 * @param int $rows
1833
	 * @param bool $bestfit [optional] The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
1834
	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
1835
	 * @return bool <b>TRUE</b> on success.
1836
	 * @throws ImagickException Throws ImagickException on error
1837
	 * @since 2.0.0
1838
	 */
1839
	public function scaleImage ($cols, $rows, $bestfit = false, $legacy = false) {}
1840
1841
	/**
1842
	 * (PECL imagick 0.9.0-0.9.9)<br/>
1843
	 * Writes an image to the specified filename
1844
	 * @link https://php.net/manual/en/imagick.writeimage.php
1845
	 * @param string $filename [optional] <p>
1846
	 * Filename where to write the image. The extension of the filename
1847
	 * defines the type of the file.
1848
	 * Format can be forced regardless of file extension using format: prefix,
1849
	 * for example "jpg:test.png".
1850
	 * </p>
1851
	 * @return bool <b>TRUE</b> on success.
1852
	 */
1853
	public function writeImage ($filename = null) {}
1854
1855
	/**
1856
	 * (PECL imagick 0.9.0-0.9.9)<br/>
1857
	 * Writes an image or image sequence
1858
	 * @link https://php.net/manual/en/imagick.writeimages.php
1859
	 * @param string $filename
1860
	 * @param bool $adjoin
1861
	 * @return bool <b>TRUE</b> on success.
1862
	 */
1863
	public function writeImages ($filename, $adjoin) {}
1864
1865
	/**
1866
	 * (PECL imagick 2.0.0)<br/>
1867
	 * Adds blur filter to image
1868
	 * @link https://php.net/manual/en/imagick.blurimage.php
1869
	 * @param float $radius <p>
1870
	 * Blur radius
1871
	 * </p>
1872
	 * @param float $sigma <p>
1873
	 * Standard deviation
1874
	 * </p>
1875
	 * @param int $channel [optional] <p>
1876
	 * The Channeltype
1877
	 * constant. When not supplied, all channels are blurred.
1878
	 * </p>
1879
	 * @return bool <b>TRUE</b> on success.
1880
	 */
1881
	public function blurImage ($radius, $sigma, $channel = null) {}
1882
1883
	/**
1884
	 * Changes the size of an image to the given dimensions and removes any associated profiles.<br>
1885
	 * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
1886
	 * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
1887
	 * <br>
1888
	 * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
1889
	 * @link https://php.net/manual/en/imagick.thumbnailimage.php
1890
	 * @param int $columns <p>
1891
	 * Image width
1892
	 * </p>
1893
	 * @param int $rows <p>
1894
	 * Image height
1895
	 * </p>
1896
	 * @param bool $bestfit [optional] <p>
1897
	 * Whether to force maximum values
1898
	 * </p>
1899
	 * The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
1900
	 * @param bool $fill [optional]
1901
	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
1902
	 * @return bool <b>TRUE</b> on success.
1903
	 * @since 2.0.0
1904
	 */
1905
	public function thumbnailImage ($columns, $rows, $bestfit = false, $fill = false, $legacy = false) {}
1906
1907
	/**
1908
	 * Creates a cropped thumbnail at the requested size.
1909
	 * If legacy is true, uses the incorrect behaviour that was present until Imagick 3.4.0.
1910
	 * If false it uses the correct behaviour.
1911
	 * @link https://php.net/manual/en/imagick.cropthumbnailimage.php
1912
	 * @param int $width The width of the thumbnail
1913
	 * @param int $height The Height of the thumbnail
1914
	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
1915
	 * @return bool TRUE on succes
1916
	 * @throws ImagickException Throws ImagickException on error
1917
	 * @since 2.0.0
1918
	 */
1919
	public function cropThumbnailImage ($width, $height, $legacy = false) {}
1920
1921
	/**
1922
	 * (PECL imagick 2.0.0)<br/>
1923
	 * Returns the filename of a particular image in a sequence
1924
	 * @link https://php.net/manual/en/imagick.getimagefilename.php
1925
	 * @return string a string with the filename of the image.
1926
	 */
1927
	public function getImageFilename () {}
1928
1929
	/**
1930
	 * (PECL imagick 2.0.0)<br/>
1931
	 * Sets the filename of a particular image
1932
	 * @link https://php.net/manual/en/imagick.setimagefilename.php
1933
	 * @param string $filename
1934
	 * @return bool <b>TRUE</b> on success.
1935
	 */
1936
	public function setImageFilename ($filename) {}
1937
1938
	/**
1939
	 * (PECL imagick 2.0.0)<br/>
1940
	 * Returns the format of a particular image in a sequence
1941
	 * @link https://php.net/manual/en/imagick.getimageformat.php
1942
	 * @return string a string containing the image format on success.
1943
	 */
1944
	public function getImageFormat () {}
1945
1946
	/**
1947
	 * @link https://secure.php.net/manual/en/imagick.getimagemimetype.php
1948
	 * @return string Returns the image mime-type.
1949
	 */
1950
	public function getImageMimeType () {}
1951
1952
	/**
1953
	 * (PECL imagick 2.0.0)<br/>
1954
	 * Removes an image from the image list
1955
	 * @link https://php.net/manual/en/imagick.removeimage.php
1956
	 * @return bool <b>TRUE</b> on success.
1957
	 */
1958
	public function removeImage () {}
1959
1960
	/**
1961
	 * (PECL imagick 2.0.0)<br/>
1962
	 * Destroys the Imagick object
1963
	 * @link https://php.net/manual/en/imagick.destroy.php
1964
	 * @return bool <b>TRUE</b> on success.
1965
	 */
1966
	public function destroy () {}
1967
1968
	/**
1969
	 * (PECL imagick 2.0.0)<br/>
1970
	 * Clears all resources associated to Imagick object
1971
	 * @link https://php.net/manual/en/imagick.clear.php
1972
	 * @return bool <b>TRUE</b> on success.
1973
	 */
1974
	public function clear () {}
1975
1976
	/**
1977
	 * (PECL imagick 2.0.0)<br/>
1978
	 * Returns the image length in bytes
1979
	 * @link https://php.net/manual/en/imagick.getimagesize.php
1980
	 * @return int an int containing the current image size.
1981
	 * @deprecated use {@see Imagick::getImageLength()} instead
1982
	 */
1983
	public function getImageSize () {}
1984
1985
	/**
1986
	 * (PECL imagick 2.0.0)<br/>
1987
	 * Returns the image sequence as a blob
1988
	 * @link https://php.net/manual/en/imagick.getimageblob.php
1989
	 * @return string a string containing the image.
1990
	 */
1991
	public function getImageBlob () {}
1992
1993
	/**
1994
	 * (PECL imagick 2.0.0)<br/>
1995
	 * Returns all image sequences as a blob
1996
	 * @link https://php.net/manual/en/imagick.getimagesblob.php
1997
	 * @return string a string containing the images. On failure, throws ImagickException on failure
1998
	 * @throws ImagickException on failure
1999
	 */
2000
	public function getImagesBlob () {}
2001
2002
	/**
2003
	 * (PECL imagick 2.0.0)<br/>
2004
	 * Sets the Imagick iterator to the first image
2005
	 * @link https://php.net/manual/en/imagick.setfirstiterator.php
2006
	 * @return bool <b>TRUE</b> on success.
2007
	 */
2008
	public function setFirstIterator () {}
2009
2010
	/**
2011
	 * (PECL imagick 2.0.1)<br/>
2012
	 * Sets the Imagick iterator to the last image
2013
	 * @link https://php.net/manual/en/imagick.setlastiterator.php
2014
	 * @return bool <b>TRUE</b> on success.
2015
	 */
2016
	public function setLastIterator () {}
2017
2018
	public function resetIterator () {}
2019
2020
	/**
2021
	 * (PECL imagick 2.0.0)<br/>
2022
	 * Move to the previous image in the object
2023
	 * @link https://php.net/manual/en/imagick.previousimage.php
2024
	 * @return bool <b>TRUE</b> on success.
2025
	 */
2026
	public function previousImage () {}
2027
2028
	/**
2029
	 * (PECL imagick 2.0.0)<br/>
2030
	 * Moves to the next image
2031
	 * @link https://php.net/manual/en/imagick.nextimage.php
2032
	 * @return bool <b>TRUE</b> on success.
2033
	 */
2034
	public function nextImage () {}
2035
2036
	/**
2037
	 * (PECL imagick 2.0.0)<br/>
2038
	 * Checks if the object has a previous image
2039
	 * @link https://php.net/manual/en/imagick.haspreviousimage.php
2040
	 * @return bool <b>TRUE</b> if the object has more images when traversing the list in the
2041
	 * reverse direction, returns <b>FALSE</b> if there are none.
2042
	 */
2043
	public function hasPreviousImage () {}
2044
2045
	/**
2046
	 * (PECL imagick 2.0.0)<br/>
2047
	 * Checks if the object has more images
2048
	 * @link https://php.net/manual/en/imagick.hasnextimage.php
2049
	 * @return bool <b>TRUE</b> if the object has more images when traversing the list in the
2050
	 * forward direction, returns <b>FALSE</b> if there are none.
2051
	 */
2052
	public function hasNextImage () {}
2053
2054
	/**
2055
	 * (PECL imagick 2.0.0)<br/>
2056
	 * Set the iterator position
2057
	 * @link https://php.net/manual/en/imagick.setimageindex.php
2058
	 * @param int $index <p>
2059
	 * The position to set the iterator to
2060
	 * </p>
2061
	 * @return bool <b>TRUE</b> on success.
2062
	 */
2063
	public function setImageIndex ($index) {}
2064
2065
	/**
2066
	 * (PECL imagick 2.0.0)<br/>
2067
	 * Gets the index of the current active image
2068
	 * @link https://php.net/manual/en/imagick.getimageindex.php
2069
	 * @return int an integer containing the index of the image in the stack.
2070
	 */
2071
	public function getImageIndex () {}
2072
2073
	/**
2074
	 * (PECL imagick 2.0.0)<br/>
2075
	 * Adds a comment to your image
2076
	 * @link https://php.net/manual/en/imagick.commentimage.php
2077
	 * @param string $comment <p>
2078
	 * The comment to add
2079
	 * </p>
2080
	 * @return bool <b>TRUE</b> on success.
2081
	 */
2082
	public function commentImage ($comment) {}
2083
2084
	/**
2085
	 * (PECL imagick 2.0.0)<br/>
2086
	 * Extracts a region of the image
2087
	 * @link https://php.net/manual/en/imagick.cropimage.php
2088
	 * @param int $width <p>
2089
	 * The width of the crop
2090
	 * </p>
2091
	 * @param int $height <p>
2092
	 * The height of the crop
2093
	 * </p>
2094
	 * @param int $x <p>
2095
	 * The X coordinate of the cropped region's top left corner
2096
	 * </p>
2097
	 * @param int $y <p>
2098
	 * The Y coordinate of the cropped region's top left corner
2099
	 * </p>
2100
	 * @return bool <b>TRUE</b> on success.
2101
	 */
2102
	public function cropImage ($width, $height, $x, $y) {}
2103
2104
	/**
2105
	 * (PECL imagick 2.0.0)<br/>
2106
	 * Adds a label to an image
2107
	 * @link https://php.net/manual/en/imagick.labelimage.php
2108
	 * @param string $label <p>
2109
	 * The label to add
2110
	 * </p>
2111
	 * @return bool <b>TRUE</b> on success.
2112
	 */
2113
	public function labelImage ($label) {}
2114
2115
	/**
2116
	 * (PECL imagick 2.0.0)<br/>
2117
	 * Gets the width and height as an associative array
2118
	 * @link https://php.net/manual/en/imagick.getimagegeometry.php
2119
	 * @return array an array with the width/height of the image.
2120
	 */
2121
	public function getImageGeometry () {}
2122
2123
	/**
2124
	 * (PECL imagick 2.0.0)<br/>
2125
	 * Renders the ImagickDraw object on the current image
2126
	 * @link https://php.net/manual/en/imagick.drawimage.php
2127
	 * @param ImagickDraw $draw <p>
2128
	 * The drawing operations to render on the image.
2129
	 * </p>
2130
	 * @return bool <b>TRUE</b> on success.
2131
	 */
2132
	public function drawImage (ImagickDraw $draw) {}
2133
2134
	/**
2135
	 * (No version information available, might only be in SVN)<br/>
2136
	 * Sets the image compression quality
2137
	 * @link https://php.net/manual/en/imagick.setimagecompressionquality.php
2138
	 * @param int $quality <p>
2139
	 * The image compression quality as an integer
2140
	 * </p>
2141
	 * @return bool <b>TRUE</b> on success.
2142
	 */
2143
	public function setImageCompressionQuality ($quality) {}
2144
2145
	/**
2146
	 * (PECL imagick 2.2.2)<br/>
2147
	 * Gets the current image's compression quality
2148
	 * @link https://php.net/manual/en/imagick.getimagecompressionquality.php
2149
	 * @return int integer describing the images compression quality
2150
	 */
2151
	public function getImageCompressionQuality () {}
2152
2153
	/**
2154
	 * (PECL imagick 2.0.0)<br/>
2155
	 * Annotates an image with text
2156
	 * @link https://php.net/manual/en/imagick.annotateimage.php
2157
	 * @param ImagickDraw $draw_settings <p>
2158
	 * The ImagickDraw object that contains settings for drawing the text
2159
	 * </p>
2160
	 * @param float $x <p>
2161
	 * Horizontal offset in pixels to the left of text
2162
	 * </p>
2163
	 * @param float $y <p>
2164
	 * Vertical offset in pixels to the baseline of text
2165
	 * </p>
2166
	 * @param float $angle <p>
2167
	 * The angle at which to write the text
2168
	 * </p>
2169
	 * @param string $text <p>
2170
	 * The string to draw
2171
	 * </p>
2172
	 * @return bool <b>TRUE</b> on success.
2173
	 */
2174
	public function annotateImage (ImagickDraw $draw_settings, $x, $y, $angle, $text) {}
2175
2176
	/**
2177
	 * (PECL imagick 2.0.0)<br/>
2178
	 * Composite one image onto another
2179
	 * @link https://php.net/manual/en/imagick.compositeimage.php
2180
	 * @param Imagick $composite_object <p>
2181
	 * Imagick object which holds the composite image
2182
	 * </p>
2183
	 * @param int $composite Composite operator
2184
	 * @param int $x <p>
2185
	 * The column offset of the composited image
2186
	 * </p>
2187
	 * @param int $y <p>
2188
	 * The row offset of the composited image
2189
	 * </p>
2190
	 * @param int $channel [optional] <p>
2191
	 * Provide any channel constant that is valid for your channel mode. To
2192
	 * apply to more than one channel, combine channeltype constants using
2193
	 * bitwise operators. Refer to this list of channel constants.
2194
	 * </p>
2195
	 * @return bool <b>TRUE</b> on success.
2196
	 */
2197
	public function compositeImage (Imagick $composite_object, $composite, $x, $y, $channel = Imagick::CHANNEL_ALL) {}
2198
2199
	/**
2200
	 * (PECL imagick 2.0.0)<br/>
2201
	 * Control the brightness, saturation, and hue
2202
	 * @link https://php.net/manual/en/imagick.modulateimage.php
2203
	 * @param float $brightness
2204
	 * @param float $saturation
2205
	 * @param float $hue
2206
	 * @return bool <b>TRUE</b> on success.
2207
	 */
2208
	public function modulateImage ($brightness, $saturation, $hue) {}
2209
2210
	/**
2211
	 * (PECL imagick 2.0.0)<br/>
2212
	 * Gets the number of unique colors in the image
2213
	 * @link https://php.net/manual/en/imagick.getimagecolors.php
2214
	 * @return int <b>TRUE</b> on success.
2215
	 */
2216
	public function getImageColors () {}
2217
2218
	/**
2219
	 * (PECL imagick 2.0.0)<br/>
2220
	 * Creates a composite image
2221
	 * @link https://php.net/manual/en/imagick.montageimage.php
2222
	 * @param ImagickDraw $draw <p>
2223
	 * The font name, size, and color are obtained from this object.
2224
	 * </p>
2225
	 * @param string $tile_geometry <p>
2226
	 * The number of tiles per row and page (e.g. 6x4+0+0).
2227
	 * </p>
2228
	 * @param string $thumbnail_geometry <p>
2229
	 * Preferred image size and border size of each thumbnail
2230
	 * (e.g. 120x120+4+3>).
2231
	 * </p>
2232
	 * @param int $mode <p>
2233
	 * Thumbnail framing mode, see Montage Mode constants.
2234
	 * </p>
2235
	 * @param string $frame <p>
2236
	 * Surround the image with an ornamental border (e.g. 15x15+3+3). The
2237
	 * frame color is that of the thumbnail's matte color.
2238
	 * </p>
2239
	 * @return Imagick <b>TRUE</b> on success.
2240
	 */
2241
	public function montageImage (ImagickDraw $draw, $tile_geometry, $thumbnail_geometry, $mode, $frame) {}
2242
2243
	/**
2244
	 * (PECL imagick 2.0.0)<br/>
2245
	 * Identifies an image and fetches attributes
2246
	 * @link https://php.net/manual/en/imagick.identifyimage.php
2247
	 * @param bool $appendRawOutput [optional]
2248
	 * @return array Identifies an image and returns the attributes. Attributes include
2249
	 * the image width, height, size, and others.
2250
	 */
2251
	public function identifyImage ($appendRawOutput = false) {}
2252
2253
	/**
2254
	 * (PECL imagick 2.0.0)<br/>
2255
	 * Changes the value of individual pixels based on a threshold
2256
	 * @link https://php.net/manual/en/imagick.thresholdimage.php
2257
	 * @param float $threshold
2258
	 * @param int $channel [optional]
2259
	 * @return bool <b>TRUE</b> on success.
2260
	 */
2261
	public function thresholdImage ($threshold, $channel = Imagick::CHANNEL_ALL) {}
2262
2263
	/**
2264
	 * (PECL imagick 2.0.0)<br/>
2265
	 * Selects a threshold for each pixel based on a range of intensity
2266
	 * @link https://php.net/manual/en/imagick.adaptivethresholdimage.php
2267
	 * @param int $width <p>
2268
	 * Width of the local neighborhood.
2269
	 * </p>
2270
	 * @param int $height <p>
2271
	 * Height of the local neighborhood.
2272
	 * </p>
2273
	 * @param int $offset <p>
2274
	 * The mean offset
2275
	 * </p>
2276
	 * @return bool <b>TRUE</b> on success.
2277
	 */
2278
	public function adaptiveThresholdImage ($width, $height, $offset) {}
2279
2280
	/**
2281
	 * (PECL imagick 2.0.0)<br/>
2282
	 * Forces all pixels below the threshold into black
2283
	 * @link https://php.net/manual/en/imagick.blackthresholdimage.php
2284
	 * @param mixed $threshold <p>
2285
	 * The threshold below which everything turns black
2286
	 * </p>
2287
	 * @return bool <b>TRUE</b> on success.
2288
	 */
2289
	public function blackThresholdImage ($threshold) {}
2290
2291
	/**
2292
	 * (PECL imagick 2.0.0)<br/>
2293
	 * Force all pixels above the threshold into white
2294
	 * @link https://php.net/manual/en/imagick.whitethresholdimage.php
2295
	 * @param mixed $threshold
2296
	 * @return bool <b>TRUE</b> on success.
2297
	 */
2298
	public function whiteThresholdImage ($threshold) {}
2299
2300
	/**
2301
	 * (PECL imagick 2.0.0)<br/>
2302
	 * Append a set of images
2303
	 * @link https://php.net/manual/en/imagick.appendimages.php
2304
	 * @param bool $stack [optional] <p>
2305
	 * Whether to stack the images vertically.
2306
	 * By default (or if <b>FALSE</b> is specified) images are stacked left-to-right.
2307
	 * If <i>stack</i> is <b>TRUE</b>, images are stacked top-to-bottom.
2308
	 * </p>
2309
	 * @return Imagick Imagick instance on success.
2310
	 */
2311
	public function appendImages ($stack = false) {}
2312
2313
	/**
2314
	 * (PECL imagick 2.0.0)<br/>
2315
	 * Simulates a charcoal drawing
2316
	 * @link https://php.net/manual/en/imagick.charcoalimage.php
2317
	 * @param float $radius <p>
2318
	 * The radius of the Gaussian, in pixels, not counting the center pixel
2319
	 * </p>
2320
	 * @param float $sigma <p>
2321
	 * The standard deviation of the Gaussian, in pixels
2322
	 * </p>
2323
	 * @return bool <b>TRUE</b> on success.
2324
	 */
2325
	public function charcoalImage ($radius, $sigma) {}
2326
2327
	/**
2328
	 * (PECL imagick 2.0.0)<br/>
2329
	 * Enhances the contrast of a color image
2330
	 * @link https://php.net/manual/en/imagick.normalizeimage.php
2331
	 * @param int $channel [optional] <p>
2332
	 * Provide any channel constant that is valid for your channel mode. To
2333
	 * apply to more than one channel, combine channeltype constants using
2334
	 * bitwise operators. Refer to this
2335
	 * list of channel constants.
2336
	 * </p>
2337
	 * @return bool <b>TRUE</b> on success.
2338
	 */
2339
	public function normalizeImage ($channel = Imagick::CHANNEL_ALL) {}
2340
2341
	/**
2342
	 * (PECL imagick 2.0.0)<br/>
2343
	 * Simulates an oil painting
2344
	 * @link https://php.net/manual/en/imagick.oilpaintimage.php
2345
	 * @param float $radius <p>
2346
	 * The radius of the circular neighborhood.
2347
	 * </p>
2348
	 * @return bool <b>TRUE</b> on success.
2349
	 */
2350
	public function oilPaintImage ($radius) {}
2351
2352
	/**
2353
	 * (PECL imagick 2.0.0)<br/>
2354
	 * Reduces the image to a limited number of color level
2355
	 * @link https://php.net/manual/en/imagick.posterizeimage.php
2356
	 * @param int $levels
2357
	 * @param bool $dither
2358
	 * @return bool <b>TRUE</b> on success.
2359
	 */
2360
	public function posterizeImage ($levels, $dither) {}
2361
2362
	/**
2363
	 * (PECL imagick 2.0.0)<br/>
2364
	 * Radial blurs an image
2365
	 * @link https://php.net/manual/en/imagick.radialblurimage.php
2366
	 * @param float $angle
2367
	 * @param int $channel [optional]
2368
	 * @return bool <b>TRUE</b> on success.
2369
	 */
2370
	public function radialBlurImage ($angle, $channel = Imagick::CHANNEL_ALL) {}
2371
2372
	/**
2373
	 * (PECL imagick 2.0.0)<br/>
2374
	 * Creates a simulated 3d button-like effect
2375
	 * @link https://php.net/manual/en/imagick.raiseimage.php
2376
	 * @param int $width
2377
	 * @param int $height
2378
	 * @param int $x
2379
	 * @param int $y
2380
	 * @param bool $raise
2381
	 * @return bool <b>TRUE</b> on success.
2382
	 */
2383
	public function raiseImage ($width, $height, $x, $y, $raise) {}
2384
2385
	/**
2386
	 * (PECL imagick 2.0.0)<br/>
2387
	 * Resample image to desired resolution
2388
	 * @link https://php.net/manual/en/imagick.resampleimage.php
2389
	 * @param float $x_resolution
2390
	 * @param float $y_resolution
2391
	 * @param int $filter
2392
	 * @param float $blur
2393
	 * @return bool <b>TRUE</b> on success.
2394
	 */
2395
	public function resampleImage ($x_resolution, $y_resolution, $filter, $blur) {}
2396
2397
	/**
2398
	 * Scales an image to the desired dimensions with one of these filters:<br>
2399
	 * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.<br>
2400
	 * If false, the calculations should produce the same results as ImageMagick CLI does.<br>
2401
	 * <br>
2402
	 * <b>Note:</b> The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.<br>
2403
	 * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
2404
	 * @link https://php.net/manual/en/imagick.resizeimage.php
2405
	 * @param int $columns Width of the image
2406
	 * @param int $rows Height of the image
2407
	 * @param int $filter Refer to the list of filter constants.
2408
	 * @param float $blur The blur factor where > 1 is blurry, < 1 is sharp.
2409
	 * @param bool $bestfit [optional] Added since 2.1.0. Added optional fit parameter. This method now supports proportional scaling. Pass zero as either parameter for proportional scaling
2410
	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
2411
	 * @return bool TRUE on success
2412
	 * @since 2.0.0
2413
	 */
2414
	public function resizeImage ($columns, $rows, $filter, $blur, $bestfit = false, $legacy = false) {}
2415
2416
	/**
2417
	 * (PECL imagick 2.0.0)<br/>
2418
	 * Offsets an image
2419
	 * @link https://php.net/manual/en/imagick.rollimage.php
2420
	 * @param int $x <p>
2421
	 * The X offset.
2422
	 * </p>
2423
	 * @param int $y <p>
2424
	 * The Y offset.
2425
	 * </p>
2426
	 * @return bool <b>TRUE</b> on success.
2427
	 */
2428
	public function rollImage ($x, $y) {}
2429
2430
	/**
2431
	 * (PECL imagick 2.0.0)<br/>
2432
	 * Rotates an image
2433
	 * @link https://php.net/manual/en/imagick.rotateimage.php
2434
	 * @param mixed $background <p>
2435
	 * The background color
2436
	 * </p>
2437
	 * @param float $degrees <p>
2438
	 * The number of degrees to rotate the image
2439
	 * </p>
2440
	 * @return bool <b>TRUE</b> on success.
2441
	 */
2442
	public function rotateImage ($background, $degrees) {}
2443
2444
	/**
2445
	 * (PECL imagick 2.0.0)<br/>
2446
	 * Scales an image with pixel sampling
2447
	 * @link https://php.net/manual/en/imagick.sampleimage.php
2448
	 * @param int $columns
2449
	 * @param int $rows
2450
	 * @return bool <b>TRUE</b> on success.
2451
	 */
2452
	public function sampleImage ($columns, $rows) {}
2453
2454
	/**
2455
	 * (PECL imagick 2.0.0)<br/>
2456
	 * Applies a solarizing effect to the image
2457
	 * @link https://php.net/manual/en/imagick.solarizeimage.php
2458
	 * @param int $threshold
2459
	 * @return bool <b>TRUE</b> on success.
2460
	 */
2461
	public function solarizeImage ($threshold) {}
2462
2463
	/**
2464
	 * (PECL imagick 2.0.0)<br/>
2465
	 * Simulates an image shadow
2466
	 * @link https://php.net/manual/en/imagick.shadowimage.php
2467
	 * @param float $opacity
2468
	 * @param float $sigma
2469
	 * @param int $x
2470
	 * @param int $y
2471
	 * @return bool <b>TRUE</b> on success.
2472
	 */
2473
	public function shadowImage ($opacity, $sigma, $x, $y) {}
2474
2475
	/**
2476
	 * @param $key
2477
	 * @param $value
2478
	 */
2479
	public function setImageAttribute ($key, $value) {}
2480
2481
	/**
2482
	 * (PECL imagick 2.0.0)<br/>
2483
	 * Sets the image background color
2484
	 * @link https://php.net/manual/en/imagick.setimagebackgroundcolor.php
2485
	 * @param mixed $background
2486
	 * @return bool <b>TRUE</b> on success.
2487
	 */
2488
	public function setImageBackgroundColor ($background) {}
2489
2490
	/**
2491
	 * (PECL imagick 2.0.0)<br/>
2492
	 * Sets the image composite operator
2493
	 * @link https://php.net/manual/en/imagick.setimagecompose.php
2494
	 * @param int $compose
2495
	 * @return bool <b>TRUE</b> on success.
2496
	 */
2497
	public function setImageCompose ($compose) {}
2498
2499
	/**
2500
	 * (PECL imagick 2.0.0)<br/>
2501
	 * Sets the image compression
2502
	 * @link https://php.net/manual/en/imagick.setimagecompression.php
2503
	 * @param int $compression <p>
2504
	 * One of the <b>COMPRESSION</b> constants
2505
	 * </p>
2506
	 * @return bool <b>TRUE</b> on success.
2507
	 */
2508
	public function setImageCompression ($compression) {}
2509
2510
	/**
2511
	 * (PECL imagick 2.0.0)<br/>
2512
	 * Sets the image delay
2513
	 * @link https://php.net/manual/en/imagick.setimagedelay.php
2514
	 * @param int $delay <p>
2515
	 * The amount of time expressed in 'ticks' that the image should be
2516
	 * displayed for. For animated GIFs there are 100 ticks per second, so a
2517
	 * value of 20 would be 20/100 of a second aka 1/5th of a second.
2518
	 * </p>
2519
	 * @return bool <b>TRUE</b> on success.
2520
	 */
2521
	public function setImageDelay ($delay) {}
2522
2523
	/**
2524
	 * (PECL imagick 2.0.0)<br/>
2525
	 * Sets the image depth
2526
	 * @link https://php.net/manual/en/imagick.setimagedepth.php
2527
	 * @param int $depth
2528
	 * @return bool <b>TRUE</b> on success.
2529
	 */
2530
	public function setImageDepth ($depth) {}
2531
2532
	/**
2533
	 * (PECL imagick 2.0.0)<br/>
2534
	 * Sets the image gamma
2535
	 * @link https://php.net/manual/en/imagick.setimagegamma.php
2536
	 * @param float $gamma
2537
	 * @return bool <b>TRUE</b> on success.
2538
	 */
2539
	public function setImageGamma ($gamma) {}
2540
2541
	/**
2542
	 * (PECL imagick 2.0.0)<br/>
2543
	 * Sets the image iterations
2544
	 * @link https://php.net/manual/en/imagick.setimageiterations.php
2545
	 * @param int $iterations <p>
2546
	 * The number of iterations the image should loop over. Set to '0' to loop
2547
	 * continuously.
2548
	 * </p>
2549
	 * @return bool <b>TRUE</b> on success.
2550
	 */
2551
	public function setImageIterations ($iterations) {}
2552
2553
	/**
2554
	 * (PECL imagick 2.0.0)<br/>
2555
	 * Sets the image matte color
2556
	 * @link https://php.net/manual/en/imagick.setimagemattecolor.php
2557
	 * @param mixed $matte
2558
	 * @return bool <b>TRUE</b> on success.
2559
	 */
2560
	public function setImageMatteColor ($matte) {}
2561
2562
	/**
2563
	 * (PECL imagick 2.0.0)<br/>
2564
	 * Sets the page geometry of the image
2565
	 * @link https://php.net/manual/en/imagick.setimagepage.php
2566
	 * @param int $width
2567
	 * @param int $height
2568
	 * @param int $x
2569
	 * @param int $y
2570
	 * @return bool <b>TRUE</b> on success.
2571
	 */
2572
	public function setImagePage ($width, $height, $x, $y) {}
2573
2574
	/**
2575
	 * @param $filename
2576
	 */
2577
	public function setImageProgressMonitor ($filename) {}
2578
2579
	/**
2580
	 * (PECL imagick 2.0.0)<br/>
2581
	 * Sets the image resolution
2582
	 * @link https://php.net/manual/en/imagick.setimageresolution.php
2583
	 * @param float $x_resolution
2584
	 * @param float $y_resolution
2585
	 * @return bool <b>TRUE</b> on success.
2586
	 */
2587
	public function setImageResolution ($x_resolution, $y_resolution) {}
2588
2589
	/**
2590
	 * (PECL imagick 2.0.0)<br/>
2591
	 * Sets the image scene
2592
	 * @link https://php.net/manual/en/imagick.setimagescene.php
2593
	 * @param int $scene
2594
	 * @return bool <b>TRUE</b> on success.
2595
	 */
2596
	public function setImageScene ($scene) {}
2597
2598
	/**
2599
	 * (PECL imagick 2.0.0)<br/>
2600
	 * Sets the image ticks-per-second
2601
	 * @link https://php.net/manual/en/imagick.setimagetickspersecond.php
2602
	 * @param int $ticks_per_second <p>
2603
	 * The duration for which an image should be displayed expressed in ticks
2604
	 * per second.
2605
	 * </p>
2606
	 * @return bool <b>TRUE</b> on success.
2607
	 */
2608
	public function setImageTicksPerSecond ($ticks_per_second) {}
2609
2610
	/**
2611
	 * (PECL imagick 2.0.0)<br/>
2612
	 * Sets the image type
2613
	 * @link https://php.net/manual/en/imagick.setimagetype.php
2614
	 * @param int $image_type
2615
	 * @return bool <b>TRUE</b> on success.
2616
	 */
2617
	public function setImageType ($image_type) {}
2618
2619
	/**
2620
	 * (PECL imagick 2.0.0)<br/>
2621
	 * Sets the image units of resolution
2622
	 * @link https://php.net/manual/en/imagick.setimageunits.php
2623
	 * @param int $units
2624
	 * @return bool <b>TRUE</b> on success.
2625
	 */
2626
	public function setImageUnits ($units) {}
2627
2628
	/**
2629
	 * (PECL imagick 2.0.0)<br/>
2630
	 * Sharpens an image
2631
	 * @link https://php.net/manual/en/imagick.sharpenimage.php
2632
	 * @param float $radius
2633
	 * @param float $sigma
2634
	 * @param int $channel [optional]
2635
	 * @return bool <b>TRUE</b> on success.
2636
	 */
2637
	public function sharpenImage ($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}
2638
2639
	/**
2640
	 * (PECL imagick 2.0.0)<br/>
2641
	 * Shaves pixels from the image edges
2642
	 * @link https://php.net/manual/en/imagick.shaveimage.php
2643
	 * @param int $columns
2644
	 * @param int $rows
2645
	 * @return bool <b>TRUE</b> on success.
2646
	 */
2647
	public function shaveImage ($columns, $rows) {}
2648
2649
	/**
2650
	 * (PECL imagick 2.0.0)<br/>
2651
	 * Creating a parallelogram
2652
	 * @link https://php.net/manual/en/imagick.shearimage.php
2653
	 * @param mixed $background <p>
2654
	 * The background color
2655
	 * </p>
2656
	 * @param float $x_shear <p>
2657
	 * The number of degrees to shear on the x axis
2658
	 * </p>
2659
	 * @param float $y_shear <p>
2660
	 * The number of degrees to shear on the y axis
2661
	 * </p>
2662
	 * @return bool <b>TRUE</b> on success.
2663
	 */
2664
	public function shearImage ($background, $x_shear, $y_shear) {}
2665
2666
	/**
2667
	 * (PECL imagick 2.0.0)<br/>
2668
	 * Splices a solid color into the image
2669
	 * @link https://php.net/manual/en/imagick.spliceimage.php
2670
	 * @param int $width
2671
	 * @param int $height
2672
	 * @param int $x
2673
	 * @param int $y
2674
	 * @return bool <b>TRUE</b> on success.
2675
	 */
2676
	public function spliceImage ($width, $height, $x, $y) {}
2677
2678
	/**
2679
	 * (PECL imagick 2.0.0)<br/>
2680
	 * Fetch basic attributes about the image
2681
	 * @link https://php.net/manual/en/imagick.pingimage.php
2682
	 * @param string $filename <p>
2683
	 * The filename to read the information from.
2684
	 * </p>
2685
	 * @return bool <b>TRUE</b> on success.
2686
	 */
2687
	public function pingImage ($filename) {}
2688
2689
	/**
2690
	 * (PECL imagick 2.0.0)<br/>
2691
	 * Reads image from open filehandle
2692
	 * @link https://php.net/manual/en/imagick.readimagefile.php
2693
	 * @param resource $filehandle
2694
	 * @param string $fileName [optional]
2695
	 * @return bool <b>TRUE</b> on success.
2696
	 */
2697
	public function readImageFile ($filehandle, $fileName = null) {}
2698
2699
	/**
2700
	 * (PECL imagick 2.0.0)<br/>
2701
	 * Displays an image
2702
	 * @link https://php.net/manual/en/imagick.displayimage.php
2703
	 * @param string $servername <p>
2704
	 * The X server name
2705
	 * </p>
2706
	 * @return bool <b>TRUE</b> on success.
2707
	 */
2708
	public function displayImage ($servername) {}
2709
2710
	/**
2711
	 * (PECL imagick 2.0.0)<br/>
2712
	 * Displays an image or image sequence
2713
	 * @link https://php.net/manual/en/imagick.displayimages.php
2714
	 * @param string $servername <p>
2715
	 * The X server name
2716
	 * </p>
2717
	 * @return bool <b>TRUE</b> on success.
2718
	 */
2719
	public function displayImages ($servername) {}
2720
2721
	/**
2722
	 * (PECL imagick 2.0.0)<br/>
2723
	 * Randomly displaces each pixel in a block
2724
	 * @link https://php.net/manual/en/imagick.spreadimage.php
2725
	 * @param float $radius
2726
	 * @return bool <b>TRUE</b> on success.
2727
	 */
2728
	public function spreadImage ($radius) {}
2729
2730
	/**
2731
	 * (PECL imagick 2.0.0)<br/>
2732
	 * Swirls the pixels about the center of the image
2733
	 * @link https://php.net/manual/en/imagick.swirlimage.php
2734
	 * @param float $degrees
2735
	 * @return bool <b>TRUE</b> on success.
2736
	 */
2737
	public function swirlImage ($degrees) {}
2738
2739
	/**
2740
	 * (PECL imagick 2.0.0)<br/>
2741
	 * Strips an image of all profiles and comments
2742
	 * @link https://php.net/manual/en/imagick.stripimage.php
2743
	 * @return bool <b>TRUE</b> on success.
2744
	 */
2745
	public function stripImage () {}
2746
2747
	/**
2748
	 * (PECL imagick 2.0.0)<br/>
2749
	 * Returns formats supported by Imagick
2750
	 * @link https://php.net/manual/en/imagick.queryformats.php
2751
	 * @param string $pattern [optional]
2752
	 * @return array an array containing the formats supported by Imagick.
2753
	 */
2754
	public static function queryFormats ($pattern = "*") {}
2755
2756
	/**
2757
	 * (PECL imagick 2.0.0)<br/>
2758
	 * Returns the configured fonts
2759
	 * @link https://php.net/manual/en/imagick.queryfonts.php
2760
	 * @param string $pattern [optional] <p>
2761
	 * The query pattern
2762
	 * </p>
2763
	 * @return array an array containing the configured fonts.
2764
	 */
2765
	public static function queryFonts ($pattern = "*") {}
2766
2767
	/**
2768
	 * (PECL imagick 2.0.0)<br/>
2769
	 * Returns an array representing the font metrics
2770
	 * @link https://php.net/manual/en/imagick.queryfontmetrics.php
2771
	 * @param ImagickDraw $properties <p>
2772
	 * ImagickDraw object containing font properties
2773
	 * </p>
2774
	 * @param string $text <p>
2775
	 * The text
2776
	 * </p>
2777
	 * @param bool $multiline [optional] <p>
2778
	 * Multiline parameter. If left empty it is autodetected
2779
	 * </p>
2780
	 * @return array a multi-dimensional array representing the font metrics.
2781
	 */
2782
	public function queryFontMetrics (ImagickDraw $properties, $text, $multiline = null) {}
2783
2784
	/**
2785
	 * (PECL imagick 2.0.0)<br/>
2786
	 * Hides a digital watermark within the image
2787
	 * @link https://php.net/manual/en/imagick.steganoimage.php
2788
	 * @param Imagick $watermark_wand
2789
	 * @param int $offset
2790
	 * @return Imagick <b>TRUE</b> on success.
2791
	 */
2792
	public function steganoImage (Imagick $watermark_wand, $offset) {}
2793
2794
	/**
2795
	 * (PECL imagick 2.0.0)<br/>
2796
	 * Adds random noise to the image
2797
	 * @link https://php.net/manual/en/imagick.addnoiseimage.php
2798
	 * @param int $noise_type <p>
2799
	 * The type of the noise. Refer to this list of
2800
	 * noise constants.
2801
	 * </p>
2802
	 * @param int $channel [optional] <p>
2803
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
2804
	 * </p>
2805
	 * @return bool <b>TRUE</b> on success.
2806
	 */
2807
	public function addNoiseImage ($noise_type, $channel = Imagick::CHANNEL_DEFAULT) {}
2808
2809
	/**
2810
	 * (PECL imagick 2.0.0)<br/>
2811
	 * Simulates motion blur
2812
	 * @link https://php.net/manual/en/imagick.motionblurimage.php
2813
	 * @param float $radius <p>
2814
	 * The radius of the Gaussian, in pixels, not counting the center pixel.
2815
	 * </p>
2816
	 * @param float $sigma <p>
2817
	 * The standard deviation of the Gaussian, in pixels.
2818
	 * </p>
2819
	 * @param float $angle <p>
2820
	 * Apply the effect along this angle.
2821
	 * </p>
2822
	 * @param int $channel [optional] <p>
2823
	 * Provide any channel constant that is valid for your channel mode. To
2824
	 * apply to more than one channel, combine channeltype constants using
2825
	 * bitwise operators. Refer to this
2826
	 * list of channel constants.
2827
	 * The channel argument affects only if Imagick is compiled against ImageMagick version
2828
	 * 6.4.4 or greater.
2829
	 * </p>
2830
	 * @return bool <b>TRUE</b> on success.
2831
	 */
2832
	public function motionBlurImage ($radius, $sigma, $angle, $channel = Imagick::CHANNEL_DEFAULT) {}
2833
2834
	/**
2835
	 * (PECL imagick 2.0.0)<br/>
2836
	 * Forms a mosaic from images
2837
	 * @link https://php.net/manual/en/imagick.mosaicimages.php
2838
	 * @return Imagick <b>TRUE</b> on success.
2839
	 */
2840
	public function mosaicImages () {}
2841
2842
	/**
2843
	 * (PECL imagick 2.0.0)<br/>
2844
	 * Method morphs a set of images
2845
	 * @link https://php.net/manual/en/imagick.morphimages.php
2846
	 * @param int $number_frames <p>
2847
	 * The number of in-between images to generate.
2848
	 * </p>
2849
	 * @return Imagick This method returns a new Imagick object on success.
2850
	 * Throw an <b>ImagickException</b> on error.
2851
	 * @throws ImagickException on error
2852
	 */
2853
	public function morphImages ($number_frames) {}
2854
2855
	/**
2856
	 * (PECL imagick 2.0.0)<br/>
2857
	 * Scales an image proportionally to half its size
2858
	 * @link https://php.net/manual/en/imagick.minifyimage.php
2859
	 * @return bool <b>TRUE</b> on success.
2860
	 */
2861
	public function minifyImage () {}
2862
2863
	/**
2864
	 * (PECL imagick 2.0.0)<br/>
2865
	 * Transforms an image
2866
	 * @link https://php.net/manual/en/imagick.affinetransformimage.php
2867
	 * @param ImagickDraw $matrix <p>
2868
	 * The affine matrix
2869
	 * </p>
2870
	 * @return bool <b>TRUE</b> on success.
2871
	 */
2872
	public function affineTransformImage (ImagickDraw $matrix) {}
2873
2874
	/**
2875
	 * (PECL imagick 2.0.0)<br/>
2876
	 * Average a set of images
2877
	 * @link https://php.net/manual/en/imagick.averageimages.php
2878
	 * @return Imagick a new Imagick object on success.
2879
	 */
2880
	public function averageImages () {}
2881
2882
	/**
2883
	 * (PECL imagick 2.0.0)<br/>
2884
	 * Surrounds the image with a border
2885
	 * @link https://php.net/manual/en/imagick.borderimage.php
2886
	 * @param mixed $bordercolor <p>
2887
	 * ImagickPixel object or a string containing the border color
2888
	 * </p>
2889
	 * @param int $width <p>
2890
	 * Border width
2891
	 * </p>
2892
	 * @param int $height <p>
2893
	 * Border height
2894
	 * </p>
2895
	 * @return bool <b>TRUE</b> on success.
2896
	 */
2897
	public function borderImage ($bordercolor, $width, $height) {}
2898
2899
	/**
2900
	 * (PECL imagick 2.0.0)<br/>
2901
	 * Removes a region of an image and trims
2902
	 * @link https://php.net/manual/en/imagick.chopimage.php
2903
	 * @param int $width <p>
2904
	 * Width of the chopped area
2905
	 * </p>
2906
	 * @param int $height <p>
2907
	 * Height of the chopped area
2908
	 * </p>
2909
	 * @param int $x <p>
2910
	 * X origo of the chopped area
2911
	 * </p>
2912
	 * @param int $y <p>
2913
	 * Y origo of the chopped area
2914
	 * </p>
2915
	 * @return bool <b>TRUE</b> on success.
2916
	 */
2917
	public function chopImage ($width, $height, $x, $y) {}
2918
2919
	/**
2920
	 * (PECL imagick 2.0.0)<br/>
2921
	 * Clips along the first path from the 8BIM profile
2922
	 * @link https://php.net/manual/en/imagick.clipimage.php
2923
	 * @return bool <b>TRUE</b> on success.
2924
	 */
2925
	public function clipImage () {}
2926
2927
	/**
2928
	 * (PECL imagick 2.0.0)<br/>
2929
	 * Clips along the named paths from the 8BIM profile
2930
	 * @link https://php.net/manual/en/imagick.clippathimage.php
2931
	 * @param string $pathname <p>
2932
	 * The name of the path
2933
	 * </p>
2934
	 * @param bool $inside <p>
2935
	 * If <b>TRUE</b> later operations take effect inside clipping path.
2936
	 * Otherwise later operations take effect outside clipping path.
2937
	 * </p>
2938
	 * @return bool <b>TRUE</b> on success.
2939
	 */
2940
	public function clipPathImage ($pathname, $inside) {}
2941
2942
	/**
2943
	 * @param $pathname
2944
	 * @param $inside
2945
	 */
2946
	public function clipImagePath ($pathname, $inside) {}
2947
2948
	/**
2949
	 * (PECL imagick 2.0.0)<br/>
2950
	 * Composites a set of images
2951
	 * @link https://php.net/manual/en/imagick.coalesceimages.php
2952
	 * @return Imagick a new Imagick object on success.
2953
	 */
2954
	public function coalesceImages () {}
2955
2956
	/**
2957
	 * (PECL imagick 2.0.0)<br/>
2958
	 * Changes the color value of any pixel that matches target
2959
	 * @link https://php.net/manual/en/imagick.colorfloodfillimage.php
2960
	 * @param mixed $fill <p>
2961
	 * ImagickPixel object containing the fill color
2962
	 * </p>
2963
	 * @param float $fuzz <p>
2964
	 * The amount of fuzz. For example, set fuzz to 10 and the color red at
2965
	 * intensities of 100 and 102 respectively are now interpreted as the
2966
	 * same color for the purposes of the floodfill.
2967
	 * </p>
2968
	 * @param mixed $bordercolor <p>
2969
	 * ImagickPixel object containing the border color
2970
	 * </p>
2971
	 * @param int $x <p>
2972
	 * X start position of the floodfill
2973
	 * </p>
2974
	 * @param int $y <p>
2975
	 * Y start position of the floodfill
2976
	 * </p>
2977
	 * @return bool <b>TRUE</b> on success.
2978
	 */
2979
	public function colorFloodfillImage ($fill, $fuzz, $bordercolor, $x, $y) {}
2980
2981
	/**
2982
	 * Blends the fill color with each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.<br>
2983
	 * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
2984
	 * @link https://php.net/manual/en/imagick.colorizeimage.php
2985
	 * @param mixed $colorize <p>
2986
	 * ImagickPixel object or a string containing the colorize color
2987
	 * </p>
2988
	 * @param mixed $opacity <p>
2989
	 * ImagickPixel object or an float containing the opacity value.
2990
	 * 1.0 is fully opaque and 0.0 is fully transparent.
2991
	 * </p>
2992
	 * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
2993
	 * @return bool <b>TRUE</b> on success.
2994
	 * @throws ImagickException Throws ImagickException on error
2995
	 * @since 2.0.0
2996
	 */
2997
	public function colorizeImage ($colorize, $opacity, $legacy = false) {}
2998
2999
	/**
3000
	 * (PECL imagick 2.0.0)<br/>
3001
	 * Returns the difference in one or more images
3002
	 * @link https://php.net/manual/en/imagick.compareimagechannels.php
3003
	 * @param Imagick $image <p>
3004
	 * Imagick object containing the image to compare.
3005
	 * </p>
3006
	 * @param int $channelType <p>
3007
	 * Provide any channel constant that is valid for your channel mode. To
3008
	 * apply to more than one channel, combine channeltype constants using
3009
	 * bitwise operators. Refer to this
3010
	 * list of channel constants.
3011
	 * </p>
3012
	 * @param int $metricType <p>
3013
	 * One of the metric type constants.
3014
	 * </p>
3015
	 * @return array Array consisting of new_wand and
3016
	 * distortion.
3017
	 */
3018
	public function compareImageChannels (Imagick $image, $channelType, $metricType) {}
3019
3020
	/**
3021
	 * (PECL imagick 2.0.0)<br/>
3022
	 * Compares an image to a reconstructed image
3023
	 * @link https://php.net/manual/en/imagick.compareimages.php
3024
	 * @param Imagick $compare <p>
3025
	 * An image to compare to.
3026
	 * </p>
3027
	 * @param int $metric <p>
3028
	 * Provide a valid metric type constant. Refer to this
3029
	 * list of metric constants.
3030
	 * </p>
3031
	 * @return array Array consisting of an Imagick object of the
3032
	 * reconstructed image and a float representing the difference.
3033
	 * @throws ImagickException Throws ImagickException on error.
3034
	 */
3035
	public function compareImages (Imagick $compare, $metric) {}
3036
3037
	/**
3038
	 * (PECL imagick 2.0.0)<br/>
3039
	 * Change the contrast of the image
3040
	 * @link https://php.net/manual/en/imagick.contrastimage.php
3041
	 * @param bool $sharpen <p>
3042
	 * The sharpen value
3043
	 * </p>
3044
	 * @return bool <b>TRUE</b> on success.
3045
	 */
3046
	public function contrastImage ($sharpen) {}
3047
3048
	/**
3049
	 * (PECL imagick 2.0.0)<br/>
3050
	 * Combines one or more images into a single image
3051
	 * @link https://php.net/manual/en/imagick.combineimages.php
3052
	 * @param int $channelType <p>
3053
	 * Provide any channel constant that is valid for your channel mode. To
3054
	 * apply to more than one channel, combine channeltype constants using
3055
	 * bitwise operators. Refer to this
3056
	 * list of channel constants.
3057
	 * </p>
3058
	 * @return Imagick <b>TRUE</b> on success.
3059
	 */
3060
	public function combineImages ($channelType) {}
3061
3062
	/**
3063
	 * (PECL imagick 2.0.0)<br/>
3064
	 * Applies a custom convolution kernel to the image
3065
	 * @link https://php.net/manual/en/imagick.convolveimage.php
3066
	 * @param array $kernel <p>
3067
	 * The convolution kernel
3068
	 * </p>
3069
	 * @param int $channel [optional] <p>
3070
	 * Provide any channel constant that is valid for your channel mode. To
3071
	 * apply to more than one channel, combine channeltype constants using
3072
	 * bitwise operators. Refer to this
3073
	 * list of channel constants.
3074
	 * </p>
3075
	 * @return bool <b>TRUE</b> on success.
3076
	 */
3077
	public function convolveImage (array $kernel, $channel = Imagick::CHANNEL_ALL) {}
3078
3079
	/**
3080
	 * (PECL imagick 2.0.0)<br/>
3081
	 * Displaces an image's colormap
3082
	 * @link https://php.net/manual/en/imagick.cyclecolormapimage.php
3083
	 * @param int $displace <p>
3084
	 * The amount to displace the colormap.
3085
	 * </p>
3086
	 * @return bool <b>TRUE</b> on success.
3087
	 */
3088
	public function cycleColormapImage ($displace) {}
3089
3090
	/**
3091
	 * (PECL imagick 2.0.0)<br/>
3092
	 * Returns certain pixel differences between images
3093
	 * @link https://php.net/manual/en/imagick.deconstructimages.php
3094
	 * @return Imagick a new Imagick object on success.
3095
	 */
3096
	public function deconstructImages () {}
3097
3098
	/**
3099
	 * (PECL imagick 2.0.0)<br/>
3100
	 * Reduces the speckle noise in an image
3101
	 * @link https://php.net/manual/en/imagick.despeckleimage.php
3102
	 * @return bool <b>TRUE</b> on success.
3103
	 */
3104
	public function despeckleImage () {}
3105
3106
	/**
3107
	 * (PECL imagick 2.0.0)<br/>
3108
	 * Enhance edges within the image
3109
	 * @link https://php.net/manual/en/imagick.edgeimage.php
3110
	 * @param float $radius <p>
3111
	 * The radius of the operation.
3112
	 * </p>
3113
	 * @return bool <b>TRUE</b> on success.
3114
	 */
3115
	public function edgeImage ($radius) {}
3116
3117
	/**
3118
	 * (PECL imagick 2.0.0)<br/>
3119
	 * Returns a grayscale image with a three-dimensional effect
3120
	 * @link https://php.net/manual/en/imagick.embossimage.php
3121
	 * @param float $radius <p>
3122
	 * The radius of the effect
3123
	 * </p>
3124
	 * @param float $sigma <p>
3125
	 * The sigma of the effect
3126
	 * </p>
3127
	 * @return bool <b>TRUE</b> on success.
3128
	 */
3129
	public function embossImage ($radius, $sigma) {}
3130
3131
	/**
3132
	 * (PECL imagick 2.0.0)<br/>
3133
	 * Improves the quality of a noisy image
3134
	 * @link https://php.net/manual/en/imagick.enhanceimage.php
3135
	 * @return bool <b>TRUE</b> on success.
3136
	 */
3137
	public function enhanceImage () {}
3138
3139
	/**
3140
	 * (PECL imagick 2.0.0)<br/>
3141
	 * Equalizes the image histogram
3142
	 * @link https://php.net/manual/en/imagick.equalizeimage.php
3143
	 * @return bool <b>TRUE</b> on success.
3144
	 */
3145
	public function equalizeImage () {}
3146
3147
	/**
3148
	 * (PECL imagick 2.0.0)<br/>
3149
	 * Applies an expression to an image
3150
	 * @link https://php.net/manual/en/imagick.evaluateimage.php
3151
	 * @param int $op <p>
3152
	 * The evaluation operator
3153
	 * </p>
3154
	 * @param float $constant <p>
3155
	 * The value of the operator
3156
	 * </p>
3157
	 * @param int $channel [optional] <p>
3158
	 * Provide any channel constant that is valid for your channel mode. To
3159
	 * apply to more than one channel, combine channeltype constants using
3160
	 * bitwise operators. Refer to this
3161
	 * list of channel constants.
3162
	 * </p>
3163
	 * @return bool <b>TRUE</b> on success.
3164
	 */
3165
	public function evaluateImage ($op, $constant, $channel = Imagick::CHANNEL_ALL) {}
3166
3167
	/**
3168
	 * Merges a sequence of images. This is useful for combining Photoshop layers into a single image.
3169
	 * This is replaced by:
3170
	 * <pre>
3171
	 * $im = $im->mergeImageLayers(\Imagick::LAYERMETHOD_FLATTEN)
3172
	 * </pre>
3173
	 * @link https://php.net/manual/en/imagick.flattenimages.php
3174
	 * @return Imagick Returns an Imagick object containing the merged image.
3175
	 * @throws ImagickException Throws ImagickException on error.
3176
	 * @since 2.0.0
3177
	 */
3178
	public function flattenImages () {}
3179
3180
	/**
3181
	 * (PECL imagick 2.0.0)<br/>
3182
	 * Creates a vertical mirror image
3183
	 * @link https://php.net/manual/en/imagick.flipimage.php
3184
	 * @return bool <b>TRUE</b> on success.
3185
	 */
3186
	public function flipImage () {}
3187
3188
	/**
3189
	 * (PECL imagick 2.0.0)<br/>
3190
	 * Creates a horizontal mirror image
3191
	 * @link https://php.net/manual/en/imagick.flopimage.php
3192
	 * @return bool <b>TRUE</b> on success.
3193
	 */
3194
	public function flopImage () {}
3195
3196
	/**
3197
	 * (PECL imagick 2.0.0)<br/>
3198
	 * Adds a simulated three-dimensional border
3199
	 * @link https://php.net/manual/en/imagick.frameimage.php
3200
	 * @param mixed $matte_color <p>
3201
	 * ImagickPixel object or a string representing the matte color
3202
	 * </p>
3203
	 * @param int $width <p>
3204
	 * The width of the border
3205
	 * </p>
3206
	 * @param int $height <p>
3207
	 * The height of the border
3208
	 * </p>
3209
	 * @param int $inner_bevel <p>
3210
	 * The inner bevel width
3211
	 * </p>
3212
	 * @param int $outer_bevel <p>
3213
	 * The outer bevel width
3214
	 * </p>
3215
	 * @return bool <b>TRUE</b> on success.
3216
	 */
3217
	public function frameImage ($matte_color, $width, $height, $inner_bevel, $outer_bevel) {}
3218
3219
	/**
3220
	 * (PECL imagick 2.0.0)<br/>
3221
	 * Evaluate expression for each pixel in the image
3222
	 * @link https://php.net/manual/en/imagick.fximage.php
3223
	 * @param string $expression <p>
3224
	 * The expression.
3225
	 * </p>
3226
	 * @param int $channel [optional] <p>
3227
	 * Provide any channel constant that is valid for your channel mode. To
3228
	 * apply to more than one channel, combine channeltype constants using
3229
	 * bitwise operators. Refer to this
3230
	 * list of channel constants.
3231
	 * </p>
3232
	 * @return Imagick <b>TRUE</b> on success.
3233
	 */
3234
	public function fxImage ($expression, $channel = Imagick::CHANNEL_ALL) {}
3235
3236
	/**
3237
	 * (PECL imagick 2.0.0)<br/>
3238
	 * Gamma-corrects an image
3239
	 * @link https://php.net/manual/en/imagick.gammaimage.php
3240
	 * @param float $gamma <p>
3241
	 * The amount of gamma-correction.
3242
	 * </p>
3243
	 * @param int $channel [optional] <p>
3244
	 * Provide any channel constant that is valid for your channel mode. To
3245
	 * apply to more than one channel, combine channeltype constants using
3246
	 * bitwise operators. Refer to this
3247
	 * list of channel constants.
3248
	 * </p>
3249
	 * @return bool <b>TRUE</b> on success.
3250
	 */
3251
	public function gammaImage ($gamma, $channel = Imagick::CHANNEL_ALL) {}
3252
3253
	/**
3254
	 * (PECL imagick 2.0.0)<br/>
3255
	 * Blurs an image
3256
	 * @link https://php.net/manual/en/imagick.gaussianblurimage.php
3257
	 * @param float $radius <p>
3258
	 * The radius of the Gaussian, in pixels, not counting the center pixel.
3259
	 * </p>
3260
	 * @param float $sigma <p>
3261
	 * The standard deviation of the Gaussian, in pixels.
3262
	 * </p>
3263
	 * @param int $channel [optional] <p>
3264
	 * Provide any channel constant that is valid for your channel mode. To
3265
	 * apply to more than one channel, combine channeltype constants using
3266
	 * bitwise operators. Refer to this
3267
	 * list of channel constants.
3268
	 * </p>
3269
	 * @return bool <b>TRUE</b> on success.
3270
	 */
3271
	public function gaussianBlurImage ($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}
3272
3273
	/**
3274
	 * @param $key
3275
	 */
3276
	public function getImageAttribute ($key) {}
3277
3278
	/**
3279
	 * (PECL imagick 2.0.0)<br/>
3280
	 * Returns the image background color
3281
	 * @link https://php.net/manual/en/imagick.getimagebackgroundcolor.php
3282
	 * @return ImagickPixel an ImagickPixel set to the background color of the image.
3283
	 */
3284
	public function getImageBackgroundColor () {}
3285
3286
	/**
3287
	 * (PECL imagick 2.0.0)<br/>
3288
	 * Returns the chromaticy blue primary point
3289
	 * @link https://php.net/manual/en/imagick.getimageblueprimary.php
3290
	 * @return array Array consisting of "x" and "y" coordinates of point.
3291
	 */
3292
	public function getImageBluePrimary () {}
3293
3294
	/**
3295
	 * (PECL imagick 2.0.0)<br/>
3296
	 * Returns the image border color
3297
	 * @link https://php.net/manual/en/imagick.getimagebordercolor.php
3298
	 * @return ImagickPixel <b>TRUE</b> on success.
3299
	 */
3300
	public function getImageBorderColor () {}
3301
3302
	/**
3303
	 * (PECL imagick 2.0.0)<br/>
3304
	 * Gets the depth for a particular image channel
3305
	 * @link https://php.net/manual/en/imagick.getimagechanneldepth.php
3306
	 * @param int $channel <p>
3307
	 * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to <b>Imagick::CHANNEL_DEFAULT</b>. Refer to this list of channel constants
3308
	 * </p>
3309
	 * @return int <b>TRUE</b> on success.
3310
	 */
3311
	public function getImageChannelDepth ($channel) {}
3312
3313
	/**
3314
	 * (PECL imagick 2.0.0)<br/>
3315
	 * Compares image channels of an image to a reconstructed image
3316
	 * @link https://php.net/manual/en/imagick.getimagechanneldistortion.php
3317
	 * @param Imagick $reference <p>
3318
	 * Imagick object to compare to.
3319
	 * </p>
3320
	 * @param int $channel <p>
3321
	 * Provide any channel constant that is valid for your channel mode. To
3322
	 * apply to more than one channel, combine channeltype constants using
3323
	 * bitwise operators. Refer to this
3324
	 * list of channel constants.
3325
	 * </p>
3326
	 * @param int $metric <p>
3327
	 * One of the metric type constants.
3328
	 * </p>
3329
	 * @return float <b>TRUE</b> on success.
3330
	 */
3331
	public function getImageChannelDistortion (Imagick $reference, $channel, $metric) {}
3332
3333
	/**
3334
	 * (PECL imagick 2.0.0)<br/>
3335
	 * Gets the extrema for one or more image channels
3336
	 * @link https://php.net/manual/en/imagick.getimagechannelextrema.php
3337
	 * @param int $channel <p>
3338
	 * Provide any channel constant that is valid for your channel mode. To
3339
	 * apply to more than one channel, combine channeltype constants using
3340
	 * bitwise operators. Refer to this
3341
	 * list of channel constants.
3342
	 * </p>
3343
	 * @return array <b>TRUE</b> on success.
3344
	 */
3345
	public function getImageChannelExtrema ($channel) {}
3346
3347
	/**
3348
	 * (PECL imagick 2.0.0)<br/>
3349
	 * Gets the mean and standard deviation
3350
	 * @link https://php.net/manual/en/imagick.getimagechannelmean.php
3351
	 * @param int $channel <p>
3352
	 * Provide any channel constant that is valid for your channel mode. To
3353
	 * apply to more than one channel, combine channeltype constants using
3354
	 * bitwise operators. Refer to this
3355
	 * list of channel constants.
3356
	 * </p>
3357
	 * @return array <b>TRUE</b> on success.
3358
	 */
3359
	public function getImageChannelMean ($channel) {}
3360
3361
	/**
3362
	 * (PECL imagick 2.0.0)<br/>
3363
	 * Returns statistics for each channel in the image
3364
	 * @link https://php.net/manual/en/imagick.getimagechannelstatistics.php
3365
	 * @return array <b>TRUE</b> on success.
3366
	 */
3367
	public function getImageChannelStatistics () {}
3368
3369
	/**
3370
	 * (PECL imagick 2.0.0)<br/>
3371
	 * Returns the color of the specified colormap index
3372
	 * @link https://php.net/manual/en/imagick.getimagecolormapcolor.php
3373
	 * @param int $index <p>
3374
	 * The offset into the image colormap.
3375
	 * </p>
3376
	 * @return ImagickPixel <b>TRUE</b> on success.
3377
	 */
3378
	public function getImageColormapColor ($index) {}
3379
3380
	/**
3381
	 * (PECL imagick 2.0.0)<br/>
3382
	 * Gets the image colorspace
3383
	 * @link https://php.net/manual/en/imagick.getimagecolorspace.php
3384
	 * @return int <b>TRUE</b> on success.
3385
	 */
3386
	public function getImageColorspace () {}
3387
3388
	/**
3389
	 * (PECL imagick 2.0.0)<br/>
3390
	 * Returns the composite operator associated with the image
3391
	 * @link https://php.net/manual/en/imagick.getimagecompose.php
3392
	 * @return int <b>TRUE</b> on success.
3393
	 */
3394
	public function getImageCompose () {}
3395
3396
	/**
3397
	 * (PECL imagick 2.0.0)<br/>
3398
	 * Gets the image delay
3399
	 * @link https://php.net/manual/en/imagick.getimagedelay.php
3400
	 * @return int the image delay.
3401
	 */
3402
	public function getImageDelay () {}
3403
3404
	/**
3405
	 * (PECL imagick 0.9.1-0.9.9)<br/>
3406
	 * Gets the image depth
3407
	 * @link https://php.net/manual/en/imagick.getimagedepth.php
3408
	 * @return int The image depth.
3409
	 */
3410
	public function getImageDepth () {}
3411
3412
	/**
3413
	 * (PECL imagick 2.0.0)<br/>
3414
	 * Compares an image to a reconstructed image
3415
	 * @link https://php.net/manual/en/imagick.getimagedistortion.php
3416
	 * @param Imagick $reference <p>
3417
	 * Imagick object to compare to.
3418
	 * </p>
3419
	 * @param int $metric <p>
3420
	 * One of the metric type constants.
3421
	 * </p>
3422
	 * @return float the distortion metric used on the image (or the best guess
3423
	 * thereof).
3424
	 */
3425
	public function getImageDistortion (Imagick $reference, $metric) {}
3426
3427
	/**
3428
	 * (PECL imagick 2.0.0)<br/>
3429
	 * Gets the extrema for the image
3430
	 * @link https://php.net/manual/en/imagick.getimageextrema.php
3431
	 * @return array an associative array with the keys "min" and "max".
3432
	 */
3433
	public function getImageExtrema () {}
3434
3435
	/**
3436
	 * (PECL imagick 2.0.0)<br/>
3437
	 * Gets the image disposal method
3438
	 * @link https://php.net/manual/en/imagick.getimagedispose.php
3439
	 * @return int the dispose method on success.
3440
	 */
3441
	public function getImageDispose () {}
3442
3443
	/**
3444
	 * (PECL imagick 2.0.0)<br/>
3445
	 * Gets the image gamma
3446
	 * @link https://php.net/manual/en/imagick.getimagegamma.php
3447
	 * @return float the image gamma on success.
3448
	 */
3449
	public function getImageGamma () {}
3450
3451
	/**
3452
	 * (PECL imagick 2.0.0)<br/>
3453
	 * Returns the chromaticy green primary point
3454
	 * @link https://php.net/manual/en/imagick.getimagegreenprimary.php
3455
	 * @return array an array with the keys "x" and "y" on success, throws an ImagickException on failure.
3456
	 * @throws ImagickException on failure
3457
	 */
3458
	public function getImageGreenPrimary () {}
3459
3460
	/**
3461
	 * (PECL imagick 2.0.0)<br/>
3462
	 * Returns the image height
3463
	 * @link https://php.net/manual/en/imagick.getimageheight.php
3464
	 * @return int the image height in pixels.
3465
	 */
3466
	public function getImageHeight () {}
3467
3468
	/**
3469
	 * (PECL imagick 2.0.0)<br/>
3470
	 * Gets the image histogram
3471
	 * @link https://php.net/manual/en/imagick.getimagehistogram.php
3472
	 * @return array the image histogram as an array of ImagickPixel objects.
3473
	 */
3474
	public function getImageHistogram () {}
3475
3476
	/**
3477
	 * (PECL imagick 2.0.0)<br/>
3478
	 * Gets the image interlace scheme
3479
	 * @link https://php.net/manual/en/imagick.getimageinterlacescheme.php
3480
	 * @return int the interlace scheme as an integer on success.
3481
	 * Trhow an <b>ImagickException</b> on error.
3482
	 * @throws ImagickException on error
3483
	 */
3484
	public function getImageInterlaceScheme () {}
3485
3486
	/**
3487
	 * (PECL imagick 2.0.0)<br/>
3488
	 * Gets the image iterations
3489
	 * @link https://php.net/manual/en/imagick.getimageiterations.php
3490
	 * @return int the image iterations as an integer.
3491
	 */
3492
	public function getImageIterations () {}
3493
3494
	/**
3495
	 * (PECL imagick 2.0.0)<br/>
3496
	 * Returns the image matte color
3497
	 * @link https://php.net/manual/en/imagick.getimagemattecolor.php
3498
	 * @return ImagickPixel ImagickPixel object on success.
3499
	 */
3500
	public function getImageMatteColor () {}
3501
3502
	/**
3503
	 * (PECL imagick 2.0.0)<br/>
3504
	 * Returns the page geometry
3505
	 * @link https://php.net/manual/en/imagick.getimagepage.php
3506
	 * @return array the page geometry associated with the image in an array with the
3507
	 * keys "width", "height", "x", and "y".
3508
	 */
3509
	public function getImagePage () {}
3510
3511
	/**
3512
	 * (PECL imagick 2.0.0)<br/>
3513
	 * Returns the color of the specified pixel
3514
	 * @link https://php.net/manual/en/imagick.getimagepixelcolor.php
3515
	 * @param int $x <p>
3516
	 * The x-coordinate of the pixel
3517
	 * </p>
3518
	 * @param int $y <p>
3519
	 * The y-coordinate of the pixel
3520
	 * </p>
3521
	 * @return ImagickPixel an ImagickPixel instance for the color at the coordinates given.
3522
	 */
3523
	public function getImagePixelColor ($x, $y) {}
3524
3525
	/**
3526
	 * (PECL imagick 2.0.0)<br/>
3527
	 * Returns the named image profile
3528
	 * @link https://php.net/manual/en/imagick.getimageprofile.php
3529
	 * @param string $name <p>
3530
	 * The name of the profile to return.
3531
	 * </p>
3532
	 * @return string a string containing the image profile.
3533
	 */
3534
	public function getImageProfile ($name) {}
3535
3536
	/**
3537
	 * (PECL imagick 2.0.0)<br/>
3538
	 * Returns the chromaticity red primary point
3539
	 * @link https://php.net/manual/en/imagick.getimageredprimary.php
3540
	 * @return array the chromaticity red primary point as an array with the keys "x"
3541
	 * and "y".
3542
	 * Throw an <b>ImagickException</b> on error.
3543
	 * @throws ImagickException on error
3544
	 */
3545
	public function getImageRedPrimary () {}
3546
3547
	/**
3548
	 * (PECL imagick 2.0.0)<br/>
3549
	 * Gets the image rendering intent
3550
	 * @link https://php.net/manual/en/imagick.getimagerenderingintent.php
3551
	 * @return int the image rendering intent.
3552
	 */
3553
	public function getImageRenderingIntent () {}
3554
3555
	/**
3556
	 * (PECL imagick 2.0.0)<br/>
3557
	 * Gets the image X and Y resolution
3558
	 * @link https://php.net/manual/en/imagick.getimageresolution.php
3559
	 * @return array the resolution as an array.
3560
	 */
3561
	public function getImageResolution () {}
3562
3563
	/**
3564
	 * (PECL imagick 2.0.0)<br/>
3565
	 * Gets the image scene
3566
	 * @link https://php.net/manual/en/imagick.getimagescene.php
3567
	 * @return int the image scene.
3568
	 */
3569
	public function getImageScene () {}
3570
3571
	/**
3572
	 * (PECL imagick 2.0.0)<br/>
3573
	 * Generates an SHA-256 message digest
3574
	 * @link https://php.net/manual/en/imagick.getimagesignature.php
3575
	 * @return string a string containing the SHA-256 hash of the file.
3576
	 */
3577
	public function getImageSignature () {}
3578
3579
	/**
3580
	 * (PECL imagick 2.0.0)<br/>
3581
	 * Gets the image ticks-per-second
3582
	 * @link https://php.net/manual/en/imagick.getimagetickspersecond.php
3583
	 * @return int the image ticks-per-second.
3584
	 */
3585
	public function getImageTicksPerSecond () {}
3586
3587
	/**
3588
	 * (PECL imagick 0.9.10-0.9.9)<br/>
3589
	 * Gets the potential image type
3590
	 * @link https://php.net/manual/en/imagick.getimagetype.php
3591
	 * @return int the potential image type.
3592
	 * <b>imagick::IMGTYPE_UNDEFINED</b>
3593
	 * <b>imagick::IMGTYPE_BILEVEL</b>
3594
	 * <b>imagick::IMGTYPE_GRAYSCALE</b>
3595
	 * <b>imagick::IMGTYPE_GRAYSCALEMATTE</b>
3596
	 * <b>imagick::IMGTYPE_PALETTE</b>
3597
	 * <b>imagick::IMGTYPE_PALETTEMATTE</b>
3598
	 * <b>imagick::IMGTYPE_TRUECOLOR</b>
3599
	 * <b>imagick::IMGTYPE_TRUECOLORMATTE</b>
3600
	 * <b>imagick::IMGTYPE_COLORSEPARATION</b>
3601
	 * <b>imagick::IMGTYPE_COLORSEPARATIONMATTE</b>
3602
	 * <b>imagick::IMGTYPE_OPTIMIZE</b>
3603
	 */
3604
	public function getImageType () {}
3605
3606
	/**
3607
	 * (PECL imagick 2.0.0)<br/>
3608
	 * Gets the image units of resolution
3609
	 * @link https://php.net/manual/en/imagick.getimageunits.php
3610
	 * @return int the image units of resolution.
3611
	 */
3612
	public function getImageUnits () {}
3613
3614
	/**
3615
	 * (PECL imagick 2.0.0)<br/>
3616
	 * Returns the virtual pixel method
3617
	 * @link https://php.net/manual/en/imagick.getimagevirtualpixelmethod.php
3618
	 * @return int the virtual pixel method on success.
3619
	 */
3620
	public function getImageVirtualPixelMethod () {}
3621
3622
	/**
3623
	 * (PECL imagick 2.0.0)<br/>
3624
	 * Returns the chromaticity white point
3625
	 * @link https://php.net/manual/en/imagick.getimagewhitepoint.php
3626
	 * @return array the chromaticity white point as an associative array with the keys
3627
	 * "x" and "y".
3628
	 */
3629
	public function getImageWhitePoint () {}
3630
3631
	/**
3632
	 * (PECL imagick 2.0.0)<br/>
3633
	 * Returns the image width
3634
	 * @link https://php.net/manual/en/imagick.getimagewidth.php
3635
	 * @return int the image width.
3636
	 */
3637
	public function getImageWidth () {}
3638
3639
	/**
3640
	 * (PECL imagick 2.0.0)<br/>
3641
	 * Returns the number of images in the object
3642
	 * @link https://php.net/manual/en/imagick.getnumberimages.php
3643
	 * @return int the number of images associated with Imagick object.
3644
	 */
3645
	public function getNumberImages () {}
3646
3647
	/**
3648
	 * (PECL imagick 2.0.0)<br/>
3649
	 * Gets the image total ink density
3650
	 * @link https://php.net/manual/en/imagick.getimagetotalinkdensity.php
3651
	 * @return float the image total ink density of the image.
3652
	 * Throw an <b>ImagickException</b> on error.
3653
	 * @throws ImagickException on error
3654
	 */
3655
	public function getImageTotalInkDensity () {}
3656
3657
	/**
3658
	 * (PECL imagick 2.0.0)<br/>
3659
	 * Extracts a region of the image
3660
	 * @link https://php.net/manual/en/imagick.getimageregion.php
3661
	 * @param int $width <p>
3662
	 * The width of the extracted region.
3663
	 * </p>
3664
	 * @param int $height <p>
3665
	 * The height of the extracted region.
3666
	 * </p>
3667
	 * @param int $x <p>
3668
	 * X-coordinate of the top-left corner of the extracted region.
3669
	 * </p>
3670
	 * @param int $y <p>
3671
	 * Y-coordinate of the top-left corner of the extracted region.
3672
	 * </p>
3673
	 * @return Imagick Extracts a region of the image and returns it as a new wand.
3674
	 */
3675
	public function getImageRegion ($width, $height, $x, $y) {}
3676
3677
	/**
3678
	 * (PECL imagick 2.0.0)<br/>
3679
	 * Creates a new image as a copy
3680
	 * @link https://php.net/manual/en/imagick.implodeimage.php
3681
	 * @param float $radius <p>
3682
	 * The radius of the implode
3683
	 * </p>
3684
	 * @return bool <b>TRUE</b> on success.
3685
	 */
3686
	public function implodeImage ($radius) {}
3687
3688
	/**
3689
	 * (PECL imagick 2.0.0)<br/>
3690
	 * Adjusts the levels of an image
3691
	 * @link https://php.net/manual/en/imagick.levelimage.php
3692
	 * @param float $blackPoint <p>
3693
	 * The image black point
3694
	 * </p>
3695
	 * @param float $gamma <p>
3696
	 * The gamma value
3697
	 * </p>
3698
	 * @param float $whitePoint <p>
3699
	 * The image white point
3700
	 * </p>
3701
	 * @param int $channel [optional] <p>
3702
	 * Provide any channel constant that is valid for your channel mode. To
3703
	 * apply to more than one channel, combine channeltype constants using
3704
	 * bitwise operators. Refer to this
3705
	 * list of channel constants.
3706
	 * </p>
3707
	 * @return bool <b>TRUE</b> on success.
3708
	 */
3709
	public function levelImage ($blackPoint, $gamma, $whitePoint, $channel = Imagick::CHANNEL_ALL) {}
3710
3711
	/**
3712
	 * (PECL imagick 2.0.0)<br/>
3713
	 * Scales an image proportionally 2x
3714
	 * @link https://php.net/manual/en/imagick.magnifyimage.php
3715
	 * @return bool <b>TRUE</b> on success.
3716
	 */
3717
	public function magnifyImage () {}
3718
3719
	/**
3720
	 * (PECL imagick 2.0.0)<br/>
3721
	 * Replaces the colors of an image with the closest color from a reference image.
3722
	 * @link https://php.net/manual/en/imagick.mapimage.php
3723
	 * @param Imagick $map
3724
	 * @param bool $dither
3725
	 * @return bool <b>TRUE</b> on success.
3726
	 */
3727
	public function mapImage (Imagick $map, $dither) {}
3728
3729
	/**
3730
	 * (PECL imagick 2.0.0)<br/>
3731
	 * Changes the transparency value of a color
3732
	 * @link https://php.net/manual/en/imagick.mattefloodfillimage.php
3733
	 * @param float $alpha <p>
3734
	 * The level of transparency: 1.0 is fully opaque and 0.0 is fully
3735
	 * transparent.
3736
	 * </p>
3737
	 * @param float $fuzz <p>
3738
	 * The fuzz member of image defines how much tolerance is acceptable to
3739
	 * consider two colors as the same.
3740
	 * </p>
3741
	 * @param mixed $bordercolor <p>
3742
	 * An <b>ImagickPixel</b> object or string representing the border color.
3743
	 * </p>
3744
	 * @param int $x <p>
3745
	 * The starting x coordinate of the operation.
3746
	 * </p>
3747
	 * @param int $y <p>
3748
	 * The starting y coordinate of the operation.
3749
	 * </p>
3750
	 * @return bool <b>TRUE</b> on success.
3751
	 */
3752
	public function matteFloodfillImage ($alpha, $fuzz, $bordercolor, $x, $y) {}
3753
3754
	/**
3755
	 * (PECL imagick 2.0.0)<br/>
3756
	 * Applies a digital filter
3757
	 * @link https://php.net/manual/en/imagick.medianfilterimage.php
3758
	 * @param float $radius <p>
3759
	 * The radius of the pixel neighborhood.
3760
	 * </p>
3761
	 * @return bool <b>TRUE</b> on success.
3762
	 */
3763
	public function medianFilterImage ($radius) {}
3764
3765
	/**
3766
	 * (PECL imagick 2.0.0)<br/>
3767
	 * Negates the colors in the reference image
3768
	 * @link https://php.net/manual/en/imagick.negateimage.php
3769
	 * @param bool $gray <p>
3770
	 * Whether to only negate grayscale pixels within the image.
3771
	 * </p>
3772
	 * @param int $channel [optional] <p>
3773
	 * Provide any channel constant that is valid for your channel mode. To
3774
	 * apply to more than one channel, combine channeltype constants using
3775
	 * bitwise operators. Refer to this
3776
	 * list of channel constants.
3777
	 * </p>
3778
	 * @return bool <b>TRUE</b> on success.
3779
	 */
3780
	public function negateImage ($gray, $channel = Imagick::CHANNEL_ALL) {}
3781
3782
	/**
3783
	 * (PECL imagick 2.0.0)<br/>
3784
	 * Change any pixel that matches color
3785
	 * @link https://php.net/manual/en/imagick.paintopaqueimage.php
3786
	 * @param mixed $target <p>
3787
	 * Change this target color to the fill color within the image. An
3788
	 * ImagickPixel object or a string representing the target color.
3789
	 * </p>
3790
	 * @param mixed $fill <p>
3791
	 * An ImagickPixel object or a string representing the fill color.
3792
	 * </p>
3793
	 * @param float $fuzz <p>
3794
	 * The fuzz member of image defines how much tolerance is acceptable to
3795
	 * consider two colors as the same.
3796
	 * </p>
3797
	 * @param int $channel [optional] <p>
3798
	 * Provide any channel constant that is valid for your channel mode. To
3799
	 * apply to more than one channel, combine channeltype constants using
3800
	 * bitwise operators. Refer to this
3801
	 * list of channel constants.
3802
	 * </p>
3803
	 * @return bool <b>TRUE</b> on success.
3804
	 */
3805
	public function paintOpaqueImage ($target, $fill, $fuzz, $channel = Imagick::CHANNEL_ALL) {}
3806
3807
	/**
3808
	 * (PECL imagick 2.0.0)<br/>
3809
	 * Changes any pixel that matches color with the color defined by fill
3810
	 * @link https://php.net/manual/en/imagick.painttransparentimage.php
3811
	 * @param mixed $target <p>
3812
	 * Change this target color to specified opacity value within the image.
3813
	 * </p>
3814
	 * @param float $alpha <p>
3815
	 * The level of transparency: 1.0 is fully opaque and 0.0 is fully
3816
	 * transparent.
3817
	 * </p>
3818
	 * @param float $fuzz <p>
3819
	 * The fuzz member of image defines how much tolerance is acceptable to
3820
	 * consider two colors as the same.
3821
	 * </p>
3822
	 * @return bool <b>TRUE</b> on success.
3823
	 */
3824
	public function paintTransparentImage ($target, $alpha, $fuzz) {}
3825
3826
	/**
3827
	 * (PECL imagick 2.0.0)<br/>
3828
	 * Quickly pin-point appropriate parameters for image processing
3829
	 * @link https://php.net/manual/en/imagick.previewimages.php
3830
	 * @param int $preview <p>
3831
	 * Preview type. See Preview type constants
3832
	 * </p>
3833
	 * @return bool <b>TRUE</b> on success.
3834
	 */
3835
	public function previewImages ($preview) {}
3836
3837
	/**
3838
	 * (PECL imagick 2.0.0)<br/>
3839
	 * Adds or removes a profile from an image
3840
	 * @link https://php.net/manual/en/imagick.profileimage.php
3841
	 * @param string $name
3842
	 * @param string $profile
3843
	 * @return bool <b>TRUE</b> on success.
3844
	 */
3845
	public function profileImage ($name, $profile) {}
3846
3847
	/**
3848
	 * (PECL imagick 2.0.0)<br/>
3849
	 * Analyzes the colors within a reference image
3850
	 * @link https://php.net/manual/en/imagick.quantizeimage.php
3851
	 * @param int $numberColors
3852
	 * @param int $colorspace
3853
	 * @param int $treedepth
3854
	 * @param bool $dither
3855
	 * @param bool $measureError
3856
	 * @return bool <b>TRUE</b> on success.
3857
	 */
3858
	public function quantizeImage ($numberColors, $colorspace, $treedepth, $dither, $measureError) {}
3859
3860
	/**
3861
	 * (PECL imagick 2.0.0)<br/>
3862
	 * Analyzes the colors within a sequence of images
3863
	 * @link https://php.net/manual/en/imagick.quantizeimages.php
3864
	 * @param int $numberColors
3865
	 * @param int $colorspace
3866
	 * @param int $treedepth
3867
	 * @param bool $dither
3868
	 * @param bool $measureError
3869
	 * @return bool <b>TRUE</b> on success.
3870
	 */
3871
	public function quantizeImages ($numberColors, $colorspace, $treedepth, $dither, $measureError) {}
3872
3873
	/**
3874
	 * (PECL imagick 2.0.0)<br/>
3875
	 * Smooths the contours of an image
3876
	 * @link https://php.net/manual/en/imagick.reducenoiseimage.php
3877
	 * @param float $radius
3878
	 * @return bool <b>TRUE</b> on success.
3879
	 */
3880
	public function reduceNoiseImage ($radius) {}
3881
3882
	/**
3883
	 * (PECL imagick 2.0.0)<br/>
3884
	 * Removes the named image profile and returns it
3885
	 * @link https://php.net/manual/en/imagick.removeimageprofile.php
3886
	 * @param string $name
3887
	 * @return string a string containing the profile of the image.
3888
	 */
3889
	public function removeImageProfile ($name) {}
3890
3891
	/**
3892
	 * (PECL imagick 2.0.0)<br/>
3893
	 * Separates a channel from the image
3894
	 * @link https://php.net/manual/en/imagick.separateimagechannel.php
3895
	 * @param int $channel
3896
	 * @return bool <b>TRUE</b> on success.
3897
	 */
3898
	public function separateImageChannel ($channel) {}
3899
3900
	/**
3901
	 * (PECL imagick 2.0.0)<br/>
3902
	 * Sepia tones an image
3903
	 * @link https://php.net/manual/en/imagick.sepiatoneimage.php
3904
	 * @param float $threshold
3905
	 * @return bool <b>TRUE</b> on success.
3906
	 */
3907
	public function sepiaToneImage ($threshold) {}
3908
3909
	/**
3910
	 * (PECL imagick 2.0.0)<br/>
3911
	 * Sets the image bias for any method that convolves an image
3912
	 * @link https://php.net/manual/en/imagick.setimagebias.php
3913
	 * @param float $bias
3914
	 * @return bool <b>TRUE</b> on success.
3915
	 */
3916
	public function setImageBias ($bias) {}
3917
3918
	/**
3919
	 * (PECL imagick 2.0.0)<br/>
3920
	 * Sets the image chromaticity blue primary point
3921
	 * @link https://php.net/manual/en/imagick.setimageblueprimary.php
3922
	 * @param float $x
3923
	 * @param float $y
3924
	 * @return bool <b>TRUE</b> on success.
3925
	 */
3926
	public function setImageBluePrimary ($x, $y) {}
3927
3928
	/**
3929
	 * (PECL imagick 2.0.0)<br/>
3930
	 * Sets the image border color
3931
	 * @link https://php.net/manual/en/imagick.setimagebordercolor.php
3932
	 * @param mixed $border <p>
3933
	 * The border color
3934
	 * </p>
3935
	 * @return bool <b>TRUE</b> on success.
3936
	 */
3937
	public function setImageBorderColor ($border) {}
3938
3939
	/**
3940
	 * (PECL imagick 2.0.0)<br/>
3941
	 * Sets the depth of a particular image channel
3942
	 * @link https://php.net/manual/en/imagick.setimagechanneldepth.php
3943
	 * @param int $channel
3944
	 * @param int $depth
3945
	 * @return bool <b>TRUE</b> on success.
3946
	 */
3947
	public function setImageChannelDepth ($channel, $depth) {}
3948
3949
	/**
3950
	 * (PECL imagick 2.0.0)<br/>
3951
	 * Sets the color of the specified colormap index
3952
	 * @link https://php.net/manual/en/imagick.setimagecolormapcolor.php
3953
	 * @param int $index
3954
	 * @param ImagickPixel $color
3955
	 * @return bool <b>TRUE</b> on success.
3956
	 */
3957
	public function setImageColormapColor ($index, ImagickPixel $color) {}
3958
3959
	/**
3960
	 * (PECL imagick 2.0.0)<br/>
3961
	 * Sets the image colorspace
3962
	 * @link https://php.net/manual/en/imagick.setimagecolorspace.php
3963
	 * @param int $colorspace <p>
3964
	 * One of the COLORSPACE constants
3965
	 * </p>
3966
	 * @return bool <b>TRUE</b> on success.
3967
	 */
3968
	public function setImageColorspace ($colorspace) {}
3969
3970
	/**
3971
	 * (PECL imagick 2.0.0)<br/>
3972
	 * Sets the image disposal method
3973
	 * @link https://php.net/manual/en/imagick.setimagedispose.php
3974
	 * @param int $dispose
3975
	 * @return bool <b>TRUE</b> on success.
3976
	 */
3977
	public function setImageDispose ($dispose) {}
3978
3979
	/**
3980
	 * (PECL imagick 2.0.0)<br/>
3981
	 * Sets the image size
3982
	 * @link https://php.net/manual/en/imagick.setimageextent.php
3983
	 * @param int $columns
3984
	 * @param int $rows
3985
	 * @return bool <b>TRUE</b> on success.
3986
	 */
3987
	public function setImageExtent ($columns, $rows) {}
3988
3989
	/**
3990
	 * (PECL imagick 2.0.0)<br/>
3991
	 * Sets the image chromaticity green primary point
3992
	 * @link https://php.net/manual/en/imagick.setimagegreenprimary.php
3993
	 * @param float $x
3994
	 * @param float $y
3995
	 * @return bool <b>TRUE</b> on success.
3996
	 */
3997
	public function setImageGreenPrimary ($x, $y) {}
3998
3999
	/**
4000
	 * (PECL imagick 2.0.0)<br/>
4001
	 * Sets the image compression
4002
	 * @link https://php.net/manual/en/imagick.setimageinterlacescheme.php
4003
	 * @param int $interlace_scheme
4004
	 * @return bool <b>TRUE</b> on success.
4005
	 */
4006
	public function setImageInterlaceScheme ($interlace_scheme) {}
4007
4008
	/**
4009
	 * (PECL imagick 2.0.0)<br/>
4010
	 * Adds a named profile to the Imagick object
4011
	 * @link https://php.net/manual/en/imagick.setimageprofile.php
4012
	 * @param string $name
4013
	 * @param string $profile
4014
	 * @return bool <b>TRUE</b> on success.
4015
	 */
4016
	public function setImageProfile ($name, $profile) {}
4017
4018
	/**
4019
	 * (PECL imagick 2.0.0)<br/>
4020
	 * Sets the image chromaticity red primary point
4021
	 * @link https://php.net/manual/en/imagick.setimageredprimary.php
4022
	 * @param float $x
4023
	 * @param float $y
4024
	 * @return bool <b>TRUE</b> on success.
4025
	 */
4026
	public function setImageRedPrimary ($x, $y) {}
4027
4028
	/**
4029
	 * (PECL imagick 2.0.0)<br/>
4030
	 * Sets the image rendering intent
4031
	 * @link https://php.net/manual/en/imagick.setimagerenderingintent.php
4032
	 * @param int $rendering_intent
4033
	 * @return bool <b>TRUE</b> on success.
4034
	 */
4035
	public function setImageRenderingIntent ($rendering_intent) {}
4036
4037
	/**
4038
	 * (PECL imagick 2.0.0)<br/>
4039
	 * Sets the image virtual pixel method
4040
	 * @link https://php.net/manual/en/imagick.setimagevirtualpixelmethod.php
4041
	 * @param int $method
4042
	 * @return bool <b>TRUE</b> on success.
4043
	 */
4044
	public function setImageVirtualPixelMethod ($method) {}
4045
4046
	/**
4047
	 * (PECL imagick 2.0.0)<br/>
4048
	 * Sets the image chromaticity white point
4049
	 * @link https://php.net/manual/en/imagick.setimagewhitepoint.php
4050
	 * @param float $x
4051
	 * @param float $y
4052
	 * @return bool <b>TRUE</b> on success.
4053
	 */
4054
	public function setImageWhitePoint ($x, $y) {}
4055
4056
	/**
4057
	 * (PECL imagick 2.0.0)<br/>
4058
	 * Adjusts the contrast of an image
4059
	 * @link https://php.net/manual/en/imagick.sigmoidalcontrastimage.php
4060
	 * @param bool $sharpen
4061
	 * @param float $alpha
4062
	 * @param float $beta
4063
	 * @param int $channel [optional]
4064
	 * @return bool <b>TRUE</b> on success.
4065
	 */
4066
	public function sigmoidalContrastImage ($sharpen, $alpha, $beta, $channel = Imagick::CHANNEL_ALL) {}
4067
4068
	/**
4069
	 * (PECL imagick 2.0.0)<br/>
4070
	 * Composites two images
4071
	 * @link https://php.net/manual/en/imagick.stereoimage.php
4072
	 * @param Imagick $offset_wand
4073
	 * @return bool <b>TRUE</b> on success.
4074
	 */
4075
	public function stereoImage (Imagick $offset_wand) {}
4076
4077
	/**
4078
	 * (PECL imagick 2.0.0)<br/>
4079
	 * Repeatedly tiles the texture image
4080
	 * @link https://php.net/manual/en/imagick.textureimage.php
4081
	 * @param Imagick $texture_wand
4082
	 * @return bool <b>TRUE</b> on success.
4083
	 */
4084
	public function textureImage (Imagick $texture_wand) {}
4085
4086
	/**
4087
	 * pplies a color vector to each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
4088
	 * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
4089
	 * @link https://php.net/manual/en/imagick.tintimage.php
4090
	 * @param mixed $tint
4091
	 * @param mixed $opacity
4092
	 * @param bool $legacy [optional]
4093
	 * @return bool <b>TRUE</b> on success.
4094
	 * @throws ImagickException Throws ImagickException on error
4095
	 * @since 2.0.0
4096
	 */
4097
	public function tintImage ($tint, $opacity, $legacy = false) {}
4098
4099
	/**
4100
	 * (PECL imagick 2.0.0)<br/>
4101
	 * Sharpens an image
4102
	 * @link https://php.net/manual/en/imagick.unsharpmaskimage.php
4103
	 * @param float $radius
4104
	 * @param float $sigma
4105
	 * @param float $amount
4106
	 * @param float $threshold
4107
	 * @param int $channel [optional]
4108
	 * @return bool <b>TRUE</b> on success.
4109
	 */
4110
	public function unsharpMaskImage ($radius, $sigma, $amount, $threshold, $channel = Imagick::CHANNEL_ALL) {}
4111
4112
	/**
4113
	 * (PECL imagick 2.0.0)<br/>
4114
	 * Returns a new Imagick object
4115
	 * @link https://php.net/manual/en/imagick.getimage.php
4116
	 * @return Imagick a new Imagick object with the current image sequence.
4117
	 */
4118
	public function getImage () {}
4119
4120
	/**
4121
	 * (PECL imagick 2.0.0)<br/>
4122
	 * Adds new image to Imagick object image list
4123
	 * @link https://php.net/manual/en/imagick.addimage.php
4124
	 * @param Imagick $source <p>
4125
	 * The source Imagick object
4126
	 * </p>
4127
	 * @return bool <b>TRUE</b> on success.
4128
	 */
4129
	public function addImage (Imagick $source) {}
4130
4131
	/**
4132
	 * (PECL imagick 2.0.0)<br/>
4133
	 * Replaces image in the object
4134
	 * @link https://php.net/manual/en/imagick.setimage.php
4135
	 * @param Imagick $replace <p>
4136
	 * The replace Imagick object
4137
	 * </p>
4138
	 * @return bool <b>TRUE</b> on success.
4139
	 */
4140
	public function setImage (Imagick $replace) {}
4141
4142
	/**
4143
	 * (PECL imagick 2.0.0)<br/>
4144
	 * Creates a new image
4145
	 * @link https://php.net/manual/en/imagick.newimage.php
4146
	 * @param int $cols <p>
4147
	 * Columns in the new image
4148
	 * </p>
4149
	 * @param int $rows <p>
4150
	 * Rows in the new image
4151
	 * </p>
4152
	 * @param mixed $background <p>
4153
	 * The background color used for this image
4154
	 * </p>
4155
	 * @param string $format [optional] <p>
4156
	 * Image format. This parameter was added in Imagick version 2.0.1.
4157
	 * </p>
4158
	 * @return bool <b>TRUE</b> on success.
4159
	 */
4160
	public function newImage ($cols, $rows, $background, $format = null) {}
4161
4162
	/**
4163
	 * (PECL imagick 2.0.0)<br/>
4164
	 * Creates a new image
4165
	 * @link https://php.net/manual/en/imagick.newpseudoimage.php
4166
	 * @param int $columns <p>
4167
	 * columns in the new image
4168
	 * </p>
4169
	 * @param int $rows <p>
4170
	 * rows in the new image
4171
	 * </p>
4172
	 * @param string $pseudoString <p>
4173
	 * string containing pseudo image definition.
4174
	 * </p>
4175
	 * @return bool <b>TRUE</b> on success.
4176
	 */
4177
	public function newPseudoImage ($columns, $rows, $pseudoString) {}
4178
4179
	/**
4180
	 * (PECL imagick 2.0.0)<br/>
4181
	 * Gets the object compression type
4182
	 * @link https://php.net/manual/en/imagick.getcompression.php
4183
	 * @return int the compression constant
4184
	 */
4185
	public function getCompression () {}
4186
4187
	/**
4188
	 * (PECL imagick 2.0.0)<br/>
4189
	 * Gets the object compression quality
4190
	 * @link https://php.net/manual/en/imagick.getcompressionquality.php
4191
	 * @return int integer describing the compression quality
4192
	 */
4193
	public function getCompressionQuality () {}
4194
4195
	/**
4196
	 * (PECL imagick 2.0.0)<br/>
4197
	 * Returns the ImageMagick API copyright as a string
4198
	 * @link https://php.net/manual/en/imagick.getcopyright.php
4199
	 * @return string a string containing the copyright notice of Imagemagick and
4200
	 * Magickwand C API.
4201
	 */
4202
	public static function getCopyright () {}
4203
4204
	/**
4205
	 * (PECL imagick 2.0.0)<br/>
4206
	 * The filename associated with an image sequence
4207
	 * @link https://php.net/manual/en/imagick.getfilename.php
4208
	 * @return string a string on success.
4209
	 */
4210
	public function getFilename () {}
4211
4212
	/**
4213
	 * (PECL imagick 2.0.0)<br/>
4214
	 * Returns the format of the Imagick object
4215
	 * @link https://php.net/manual/en/imagick.getformat.php
4216
	 * @return string the format of the image.
4217
	 */
4218
	public function getFormat () {}
4219
4220
	/**
4221
	 * (PECL imagick 2.0.0)<br/>
4222
	 * Returns the ImageMagick home URL
4223
	 * @link https://php.net/manual/en/imagick.gethomeurl.php
4224
	 * @return string a link to the imagemagick homepage.
4225
	 */
4226
	public static function getHomeURL () {}
4227
4228
	/**
4229
	 * (PECL imagick 2.0.0)<br/>
4230
	 * Gets the object interlace scheme
4231
	 * @link https://php.net/manual/en/imagick.getinterlacescheme.php
4232
	 * @return int Gets the wand interlace
4233
	 * scheme.
4234
	 */
4235
	public function getInterlaceScheme () {}
4236
4237
	/**
4238
	 * (PECL imagick 2.0.0)<br/>
4239
	 * Returns a value associated with the specified key
4240
	 * @link https://php.net/manual/en/imagick.getoption.php
4241
	 * @param string $key <p>
4242
	 * The name of the option
4243
	 * </p>
4244
	 * @return string a value associated with a wand and the specified key.
4245
	 */
4246
	public function getOption ($key) {}
4247
4248
	/**
4249
	 * (PECL imagick 2.0.0)<br/>
4250
	 * Returns the ImageMagick package name
4251
	 * @link https://php.net/manual/en/imagick.getpackagename.php
4252
	 * @return string the ImageMagick package name as a string.
4253
	 */
4254
	public static function getPackageName () {}
4255
4256
	/**
4257
	 * (PECL imagick 2.0.0)<br/>
4258
	 * Returns the page geometry
4259
	 * @link https://php.net/manual/en/imagick.getpage.php
4260
	 * @return array the page geometry associated with the Imagick object in
4261
	 * an associative array with the keys "width", "height", "x", and "y",
4262
	 * throwing ImagickException on error.
4263
	 * @throws ImagickException on error
4264
	 */
4265
	public function getPage () {}
4266
4267
	/**
4268
	 * (PECL imagick 2.0.0)<br/>
4269
	 * Gets the quantum depth
4270
	 * @link https://php.net/manual/en/imagick.getquantumdepth.php
4271
	 * @return array the Imagick quantum depth as a string.
4272
	 */
4273
	public static function getQuantumDepth () {}
4274
4275
	/**
4276
	 * (PECL imagick 2.0.0)<br/>
4277
	 * Returns the Imagick quantum range
4278
	 * @link https://php.net/manual/en/imagick.getquantumrange.php
4279
	 * @return array the Imagick quantum range as a string.
4280
	 */
4281
	public static function getQuantumRange () {}
4282
4283
	/**
4284
	 * (PECL imagick 2.0.0)<br/>
4285
	 * Returns the ImageMagick release date
4286
	 * @link https://php.net/manual/en/imagick.getreleasedate.php
4287
	 * @return string the ImageMagick release date as a string.
4288
	 */
4289
	public static function getReleaseDate () {}
4290
4291
	/**
4292
	 * (PECL imagick 2.0.0)<br/>
4293
	 * Returns the specified resource's memory usage
4294
	 * @link https://php.net/manual/en/imagick.getresource.php
4295
	 * @param int $type <p>
4296
	 * Refer to the list of resourcetype constants.
4297
	 * </p>
4298
	 * @return int the specified resource's memory usage in megabytes.
4299
	 */
4300
	public static function getResource ($type) {}
4301
4302
	/**
4303
	 * (PECL imagick 2.0.0)<br/>
4304
	 * Returns the specified resource limit
4305
	 * @link https://php.net/manual/en/imagick.getresourcelimit.php
4306
	 * @param int $type <p>
4307
	 * Refer to the list of resourcetype constants.
4308
	 * </p>
4309
	 * @return int the specified resource limit in megabytes.
4310
	 */
4311
	public static function getResourceLimit ($type) {}
4312
4313
	/**
4314
	 * (PECL imagick 2.0.0)<br/>
4315
	 * Gets the horizontal and vertical sampling factor
4316
	 * @link https://php.net/manual/en/imagick.getsamplingfactors.php
4317
	 * @return array an associative array with the horizontal and vertical sampling
4318
	 * factors of the image.
4319
	 */
4320
	public function getSamplingFactors () {}
4321
4322
	/**
4323
	 * (PECL imagick 2.0.0)<br/>
4324
	 * Returns the size associated with the Imagick object
4325
	 * @link https://php.net/manual/en/imagick.getsize.php
4326
	 * @return array the size associated with the Imagick object as an array with the
4327
	 * keys "columns" and "rows".
4328
	 */
4329
	public function getSize () {}
4330
4331
	/**
4332
	 * (PECL imagick 2.0.0)<br/>
4333
	 * Returns the ImageMagick API version
4334
	 * @link https://php.net/manual/en/imagick.getversion.php
4335
	 * @return array the ImageMagick API version as a string and as a number.
4336
	 */
4337
	public static function getVersion () {}
4338
4339
	/**
4340
	 * (PECL imagick 2.0.0)<br/>
4341
	 * Sets the object's default background color
4342
	 * @link https://php.net/manual/en/imagick.setbackgroundcolor.php
4343
	 * @param mixed $background
4344
	 * @return bool <b>TRUE</b> on success.
4345
	 */
4346
	public function setBackgroundColor ($background) {}
4347
4348
	/**
4349
	 * (PECL imagick 2.0.0)<br/>
4350
	 * Sets the object's default compression type
4351
	 * @link https://php.net/manual/en/imagick.setcompression.php
4352
	 * @param int $compression
4353
	 * @return bool <b>TRUE</b> on success.
4354
	 */
4355
	public function setCompression ($compression) {}
4356
4357
	/**
4358
	 * (PECL imagick 0.9.10-0.9.9)<br/>
4359
	 * Sets the object's default compression quality
4360
	 * @link https://php.net/manual/en/imagick.setcompressionquality.php
4361
	 * @param int $quality
4362
	 * @return bool <b>TRUE</b> on success.
4363
	 */
4364
	public function setCompressionQuality ($quality) {}
4365
4366
	/**
4367
	 * (PECL imagick 2.0.0)<br/>
4368
	 * Sets the filename before you read or write the image
4369
	 * @link https://php.net/manual/en/imagick.setfilename.php
4370
	 * @param string $filename
4371
	 * @return bool <b>TRUE</b> on success.
4372
	 */
4373
	public function setFilename ($filename) {}
4374
4375
	/**
4376
	 * (PECL imagick 2.0.0)<br/>
4377
	 * Sets the format of the Imagick object
4378
	 * @link https://php.net/manual/en/imagick.setformat.php
4379
	 * @param string $format
4380
	 * @return bool <b>TRUE</b> on success.
4381
	 */
4382
	public function setFormat ($format) {}
4383
4384
	/**
4385
	 * (PECL imagick 2.0.0)<br/>
4386
	 * Sets the image compression
4387
	 * @link https://php.net/manual/en/imagick.setinterlacescheme.php
4388
	 * @param int $interlace_scheme
4389
	 * @return bool <b>TRUE</b> on success.
4390
	 */
4391
	public function setInterlaceScheme ($interlace_scheme) {}
4392
4393
	/**
4394
	 * (PECL imagick 2.0.0)<br/>
4395
	 * Set an option
4396
	 * @link https://php.net/manual/en/imagick.setoption.php
4397
	 * @param string $key
4398
	 * @param string $value
4399
	 * @return bool <b>TRUE</b> on success.
4400
	 */
4401
	public function setOption ($key, $value) {}
4402
4403
	/**
4404
	 * (PECL imagick 2.0.0)<br/>
4405
	 * Sets the page geometry of the Imagick object
4406
	 * @link https://php.net/manual/en/imagick.setpage.php
4407
	 * @param int $width
4408
	 * @param int $height
4409
	 * @param int $x
4410
	 * @param int $y
4411
	 * @return bool <b>TRUE</b> on success.
4412
	 */
4413
	public function setPage ($width, $height, $x, $y) {}
4414
4415
	/**
4416
	 * (PECL imagick 2.0.0)<br/>
4417
	 * Sets the limit for a particular resource in megabytes
4418
	 * @link https://php.net/manual/en/imagick.setresourcelimit.php
4419
	 * @param int $type <p>
4420
	 * Refer to the list of resourcetype constants.
4421
	 * </p>
4422
	 * @param int $limit <p>
4423
	 * The resource limit. The unit depends on the type of the resource being limited.
4424
	 * </p>
4425
	 * @return bool <b>TRUE</b> on success.
4426
	 */
4427
	public static function setResourceLimit ($type, $limit) {}
4428
4429
	/**
4430
	 * (PECL imagick 2.0.0)<br/>
4431
	 * Sets the image resolution
4432
	 * @link https://php.net/manual/en/imagick.setresolution.php
4433
	 * @param float $x_resolution <p>
4434
	 * The horizontal resolution.
4435
	 * </p>
4436
	 * @param float $y_resolution <p>
4437
	 * The vertical resolution.
4438
	 * </p>
4439
	 * @return bool <b>TRUE</b> on success.
4440
	 */
4441
	public function setResolution ($x_resolution, $y_resolution) {}
4442
4443
	/**
4444
	 * (PECL imagick 2.0.0)<br/>
4445
	 * Sets the image sampling factors
4446
	 * @link https://php.net/manual/en/imagick.setsamplingfactors.php
4447
	 * @param array $factors
4448
	 * @return bool <b>TRUE</b> on success.
4449
	 */
4450
	public function setSamplingFactors (array $factors) {}
4451
4452
	/**
4453
	 * (PECL imagick 2.0.0)<br/>
4454
	 * Sets the size of the Imagick object
4455
	 * @link https://php.net/manual/en/imagick.setsize.php
4456
	 * @param int $columns
4457
	 * @param int $rows
4458
	 * @return bool <b>TRUE</b> on success.
4459
	 */
4460
	public function setSize ($columns, $rows) {}
4461
4462
	/**
4463
	 * (PECL imagick 2.0.0)<br/>
4464
	 * Sets the image type attribute
4465
	 * @link https://php.net/manual/en/imagick.settype.php
4466
	 * @param int $image_type
4467
	 * @return bool <b>TRUE</b> on success.
4468
	 */
4469
	public function setType ($image_type) {}
4470
4471
	public function key () {}
4472
4473
	public function next () {}
4474
4475
	public function rewind () {}
4476
4477
	/**
4478
	 * (PECL imagick 2.0.0)<br/>
4479
	 * Checks if the current item is valid
4480
	 * @link https://php.net/manual/en/imagick.valid.php
4481
	 * @return bool <b>TRUE</b> on success.
4482
	 */
4483
	public function valid () {}
4484
4485
	/**
4486
	 * (PECL imagick 2.0.0)<br/>
4487
	 * Returns a reference to the current Imagick object
4488
	 * @link https://php.net/manual/en/imagick.current.php
4489
	 * @return Imagick self on success.
4490
	 */
4491
	public function current () {}
4492
4493
	/**
4494
	 * Change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
4495
	 * @link https://php.net/manual/en/imagick.brightnesscontrastimage.php
4496
	 * @param string $brightness
4497
	 * @param string $contrast
4498
	 * @param int $CHANNEL [optional]
4499
	 * @return void
4500
	 * @since 3.3.0
4501
	 */
4502
	public function brightnessContrastImage ($brightness, $contrast, $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
4503
4504
	/**
4505
	 * Applies a user supplied kernel to the image according to the given morphology method.
4506
	 * @link https://php.net/manual/en/imagick.morphology.php
4507
	 * @param int $morphologyMethod Which morphology method to use one of the \Imagick::MORPHOLOGY_* constants.
4508
	 * @param int $iterations The number of iteration to apply the morphology function. A value of -1 means loop until no change found. How this is applied may depend on the morphology method. Typically this is a value of 1.
4509
	 * @param ImagickKernel $ImagickKernel
4510
	 * @param int $CHANNEL [optional]
4511
	 * @return void
4512
	 * @since 3.3.0
4513
	 */
4514
	public function morphology ($morphologyMethod, $iterations, ImagickKernel $ImagickKernel, $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
4515
4516
	/**
4517
	 * Applies a custom convolution kernel to the image.
4518
	 * @link https://php.net/manual/en/imagick.filter.php
4519
	 * @param ImagickKernel $ImagickKernel An instance of ImagickKernel that represents either a single kernel or a linked series of kernels.
4520
	 * @param int $CHANNEL [optional] Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
4521
	 * @return void
4522
	 * @since 3.3.0
4523
	 */
4524
	public function filter (ImagickKernel $ImagickKernel , $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
4525
4526
	/**
4527
	 * Apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).
4528
	 * The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255)
4529
	 * @link https://php.net/manual/en/imagick.colormatriximage.php
4530
	 * @param string $color_matrix
4531
	 * @return void
4532
	 * @since 3.3.0
4533
	 */
4534
	public function colorMatrixImage ($color_matrix = Imagick::CHANNEL_DEFAULT) { }
4535
4536
	/**
4537
	 * Deletes an image property.
4538
	 * @link https://php.net/manual/en/imagick.deleteimageproperty.php
4539
	 * @param string $name The name of the property to delete.
4540
	 * @return void
4541
	 * @since 3.3.0
4542
	 */
4543
	public function deleteImageProperty ($name) { }
4544
4545
	/**
4546
	 * Implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
4547
	 * @link https://php.net/manual/en/imagick.forwardfouriertransformimage.php
4548
	 * @param bool $magnitude If true, return as magnitude / phase pair otherwise a real / imaginary image pair.
4549
	 * @return void
4550
	 * @since 3.3.0
4551
	 */
4552
	public function forwardFourierTransformimage ($magnitude) { }
4553
4554
	/**
4555
	 * Gets the current image's compression type.
4556
	 * @link https://php.net/manual/en/imagick.getimagecompression.php
4557
	 * @return int
4558
	 * @since 3.3.0
4559
	 */
4560
	public function getImageCompression () { }
4561
4562
	/**
4563
	 * Get the StringRegistry entry for the named key or false if not set.
4564
	 * @link https://php.net/manual/en/imagick.getregistry.php
4565
	 * @param string $key
4566
	 * @return string|false
4567
	 * @throws Exception Since version >=3.4.3. Throws an exception if the key does not exist, rather than terminating the program.
4568
	 * @since 3.3.0
4569
	 */
4570
	public static function getRegistry ($key) { }
4571
4572
	/**
4573
	 * Returns the ImageMagick quantum range as an integer.
4574
	 * @link https://php.net/manual/en/imagick.getquantum.php
4575
	 * @return int
4576
	 * @since 3.3.0
4577
	 */
4578
	public static function getQuantum () { }
4579
4580
	/**
4581
	 * Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text. See https://www.imagemagick.org/script/escape.php for escape sequences.
4582
	 * @link https://php.net/manual/en/imagick.identifyformat.php
4583
	 * @see https://www.imagemagick.org/script/escape.php
4584
	 * @param string $embedText A string containing formatting sequences e.g. "Trim box: %@ number of unique colors: %k".
4585
	 * @return bool
4586
	 * @since 3.3.0
4587
	 */
4588
	public function identifyFormat ($embedText) { }
4589
4590
	/**
4591
	 * Implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
4592
	 * @link https://php.net/manual/en/imagick.inversefouriertransformimage.php
4593
	 * @param Imagick $complement The second image to combine with this one to form either the magnitude / phase or real / imaginary image pair.
4594
	 * @param bool $magnitude If true, combine as magnitude / phase pair otherwise a real / imaginary image pair.
4595
	 * @return void
4596
	 * @since 3.3.0
4597
	 */
4598
	public function inverseFourierTransformImage ($complement, $magnitude) { }
4599
4600
	/**
4601
	 * List all the registry settings. Returns an array of all the key/value pairs in the registry
4602
	 * @link https://php.net/manual/en/imagick.listregistry.php
4603
	 * @return array An array containing the key/values from the registry.
4604
	 * @since 3.3.0
4605
	 */
4606
	public static function listRegistry () { }
4607
4608
	/**
4609
	 * Rotational blurs an image.
4610
	 * @link https://php.net/manual/en/imagick.rotationalblurimage.php
4611
	 * @param string $angle
4612
	 * @param string $CHANNEL
4613
	 * @return void
4614
	 * @since 3.3.0
4615
	 */
4616
	public function rotationalBlurImage ($angle, $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
4617
4618
	/**
4619
	 * Selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.
4620
	 * @link https://php.net/manual/en/imagick.selectiveblurimage.php
4621
	 * @param float $radius
4622
	 * @param float $sigma
4623
	 * @param float $threshold
4624
	 * @param int $CHANNEL Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
4625
	 * @return void
4626
	 * @since 3.3.0
4627
	 */
4628
	public function selectiveBlurImage ($radius, $sigma, $threshold, $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
4629
4630
	/**
4631
	 * Set whether antialiasing should be used for operations. On by default.
4632
	 * @param bool $antialias
4633
	 * @return int
4634
	 * @since 3.3.0
4635
	 */
4636
	public function setAntiAlias ($antialias) { }
4637
4638
	/**
4639
	 * @link https://php.net/manual/en/imagick.setimagebiasquantum.php
4640
	 * @param string $bias
4641
	 * @return void
4642
	 * @since 3.3.0
4643
	 */
4644
	public function setImageBiasQuantum ($bias) { }
4645
4646
	/**
4647
	 * Set a callback that will be called during the processing of the Imagick image.
4648
	 * @link https://php.net/manual/en/imagick.setprogressmonitor.php
4649
	 * @param callable $callback The progress function to call. It should return true if image processing should continue, or false if it should be cancelled.
4650
	 * The offset parameter indicates the progress and the span parameter indicates the total amount of work needed to be done.
4651
	 * <pre> bool callback ( mixed $offset , mixed $span ) </pre>
4652
	 * <b>Caution</b>
4653
	 * The values passed to the callback function are not consistent. In particular the span parameter can increase during image processing. Because of this calculating the percentage complete of an image operation is not trivial.
4654
	 * @return void
4655
	 * @since 3.3.0
4656
	 */
4657
	public function setProgressMonitor ($callback) { }
4658
4659
	/**
4660
	 * Sets the ImageMagick registry entry named key to value. This is most useful for setting "temporary-path" which controls where ImageMagick creates temporary images e.g. while processing PDFs.
4661
	 * @link https://php.net/manual/en/imagick.setregistry.php
4662
	 * @param string $key
4663
	 * @param string $value
4664
	 * @return void
4665
	 * @since 3.3.0
4666
	 */
4667
	public static function setRegistry ($key, $value) { }
4668
4669
	/**
4670
	 * Replace each pixel with corresponding statistic from the neighborhood of the specified width and height.
4671
	 * @link https://php.net/manual/en/imagick.statisticimage.php
4672
	 * @param int $type
4673
	 * @param int $width
4674
	 * @param int $height
4675
	 * @param int $channel [optional]
4676
	 * @return void
4677
	 * @since 3.3.0
4678
	 */
4679
	public function statisticImage ($type, $width, $height, $channel = Imagick::CHANNEL_DEFAULT ) { }
4680
4681
	/**
4682
	 * Searches for a subimage in the current image and returns a similarity image such that an exact match location is
4683
	 * completely white and if none of the pixels match, black, otherwise some gray level in-between.
4684
	 * You can also pass in the optional parameters bestMatch and similarity. After calling the function similarity will
4685
	 * be set to the 'score' of the similarity between the subimage and the matching position in the larger image,
4686
	 * bestMatch will contain an associative array with elements x, y, width, height that describe the matching region.
4687
	 *
4688
	 * @link https://php.net/manual/en/imagick.subimagematch.php
4689
	 * @param Imagick $imagick
4690
	 * @param array &$bestMatch [optional]
4691
	 * @param float &$similarity [optional] A new image that displays the amount of similarity at each pixel.
4692
	 * @param float $similarity_threshold [optional] Only used if compiled with ImageMagick (library) > 7
4693
	 * @param int $metric [optional] Only used if compiled with ImageMagick (library) > 7
4694
	 * @return Imagick
4695
	 * @since 3.3.0
4696
	 */
4697
	public function subImageMatch (Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) { }
4698
4699
	/**
4700
	 * Is an alias of Imagick::subImageMatch
4701
	 *
4702
	 * @param Imagick $imagick
4703
	 * @param array $bestMatch [optional]
4704
	 * @param float $similarity [optional] A new image that displays the amount of similarity at each pixel.
4705
	 * @param float $similarity_threshold [optional]
4706
	 * @param int $metric [optional]
4707
	 * @return Imagick
4708
	 * @see Imagick::subImageMatch() This function is an alias of subImageMatch()
4709
	 * @since 3.4.0
4710
	 */
4711
	public function similarityImage (Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) { }
4712
4713
	/**
4714
	 * Returns any ImageMagick  configure options that match the specified pattern (e.g. "*" for all). Options include NAME, VERSION, LIB_VERSION, etc.
4715
	 * @return string
4716
	 * @since 3.4.0
4717
	 */
4718
	public function getConfigureOptions () { }
4719
4720
	/**
4721
	 * GetFeatures() returns the ImageMagick features that have been compiled into the runtime.
4722
	 * @return string
4723
	 * @since 3.4.0
4724
	 */
4725
	public function getFeatures () { }
4726
4727
	/**
4728
	 * @return int
4729
	 * @since 3.4.0
4730
	 */
4731
	public function getHDRIEnabled () { }
4732
4733
	/**
4734
	 * Sets the image channel mask. Returns the previous set channel mask.
4735
	 * Only works with Imagick >=7
4736
	 * @param int $channel
4737
	 * @since 3.4.0
4738
	 */
4739
	public function setImageChannelMask ($channel) {}
4740
4741
	/**
4742
	 * Merge multiple images of the same size together with the selected operator. https://www.imagemagick.org/Usage/layers/#evaluate-sequence
4743
	 * @param int $EVALUATE_CONSTANT
4744
	 * @return bool
4745
	 * @see https://www.imagemagick.org/Usage/layers/#evaluate-sequence
4746
	 * @since 3.4.0
4747
	 */
4748
	public function evaluateImages ($EVALUATE_CONSTANT) { }
4749
4750
	/**
4751
	 * Extracts the 'mean' from the image and adjust the image to try make set its gamma appropriately.
4752
	 * @param int $channel [optional] Default value Imagick::CHANNEL_ALL
4753
	 * @return bool
4754
	 * @since 3.4.1
4755
	 */
4756
	public function autoGammaImage ($channel = Imagick::CHANNEL_ALL) { }
4757
4758
	/**
4759
	 * Adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).
4760
	 * @return bool
4761
	 * @since 3.4.1
4762
	 */
4763
	public function autoOrient () { }
4764
4765
	/**
4766
	 * Composite one image onto another using the specified gravity.
4767
	 *
4768
	 * @param Imagick $imagick
4769
	 * @param int $COMPOSITE_CONSTANT
4770
	 * @param int $GRAVITY_CONSTANT
4771
	 * @return bool
4772
	 * @since 3.4.1
4773
	 */
4774
	public function compositeImageGravity(Imagick $imagick, $COMPOSITE_CONSTANT, $GRAVITY_CONSTANT) { }
4775
4776
	/**
4777
	 * Attempts to increase the appearance of large-scale light-dark transitions.
4778
	 *
4779
	 * @param float $radius
4780
	 * @param float $strength
4781
	 * @return bool
4782
	 * @since 3.4.1
4783
	 */
4784
	public function localContrastImage($radius, $strength) { }
4785
4786
	/**
4787
	 * Identifies the potential image type, returns one of the Imagick::IMGTYPE_* constants
4788
	 * @return int
4789
	 * @since 3.4.3
4790
	 */
4791
	public function identifyImageType() { }
4792
4793
	/**
4794
	 * Sets the image to the specified alpha level. Will replace ImagickDraw::setOpacity()
4795
	 *
4796
	 * @param float $alpha
4797
	 * @return bool
4798
	 * @since 3.4.3
4799
	 */
4800
	public function setImageAlpha($alpha) { }
4801
}
4802
4803
/**
4804
 * @method ImagickDraw clone() (PECL imagick 2.0.0)<br/>Makes an exact copy of the specified ImagickDraw object
4805
 * @link https://php.net/manual/en/class.imagickdraw.php
4806
 */
4807
class ImagickDraw  {
4808
4809
	public function resetVectorGraphics () {}
4810
4811
	public function getTextKerning () {}
4812
4813
	/**
4814
	 * @param $kerning
4815
	 */
4816
	public function setTextKerning ($kerning) {}
4817
4818
	public function getTextInterWordSpacing () {}
4819
4820
	/**
4821
	 * @param $spacing
4822
	 */
4823
	public function setTextInterWordSpacing ($spacing) {}
4824
4825
	public function getTextInterLineSpacing () {}
4826
4827
	/**
4828
	 * @param $spacing
4829
	 */
4830
	public function setTextInterLineSpacing ($spacing) {}
4831
4832
	/**
4833
	 * (PECL imagick 2.0.0)<br/>
4834
	 * The ImagickDraw constructor
4835
	 * @link https://php.net/manual/en/imagickdraw.construct.php
4836
	 */
4837
	public function __construct () {}
4838
4839
	/**
4840
	 * (PECL imagick 2.0.0)<br/>
4841
	 * Sets the fill color to be used for drawing filled objects
4842
	 * @link https://php.net/manual/en/imagickdraw.setfillcolor.php
4843
	 * @param ImagickPixel $fill_pixel <p>
4844
	 * ImagickPixel to use to set the color
4845
	 * </p>
4846
	 * @return bool No value is returned.
4847
	 */
4848
	public function setFillColor (ImagickPixel $fill_pixel) {}
4849
4850
	/**
4851
	 * (PECL imagick 2.0.0)<br/>
4852
	 * Sets the opacity to use when drawing using the fill color or fill texture
4853
	 * @link https://php.net/manual/en/imagickdraw.setfillalpha.php
4854
	 * @param float $opacity <p>
4855
	 * fill alpha
4856
	 * </p>
4857
	 * @return bool No value is returned.
4858
	 */
4859
	public function setFillAlpha ($opacity) {}
4860
4861
	/**
4862
	 * @param $x_resolution
4863
	 * @param $y_resolution
4864
	 */
4865
	public function setResolution ($x_resolution, $y_resolution) {}
4866
4867
	/**
4868
	 * (PECL imagick 2.0.0)<br/>
4869
	 * Sets the color used for stroking object outlines
4870
	 * @link https://php.net/manual/en/imagickdraw.setstrokecolor.php
4871
	 * @param ImagickPixel $stroke_pixel <p>
4872
	 * the stroke color
4873
	 * </p>
4874
	 * @return bool No value is returned.
4875
	 */
4876
	public function setStrokeColor (ImagickPixel $stroke_pixel) {}
4877
4878
	/**
4879
	 * (PECL imagick 2.0.0)<br/>
4880
	 * Specifies the opacity of stroked object outlines
4881
	 * @link https://php.net/manual/en/imagickdraw.setstrokealpha.php
4882
	 * @param float $opacity <p>
4883
	 * opacity
4884
	 * </p>
4885
	 * @return bool No value is returned.
4886
	 */
4887
	public function setStrokeAlpha ($opacity) {}
4888
4889
	/**
4890
	 * (PECL imagick 2.0.0)<br/>
4891
	 * Sets the width of the stroke used to draw object outlines
4892
	 * @link https://php.net/manual/en/imagickdraw.setstrokewidth.php
4893
	 * @param float $stroke_width <p>
4894
	 * stroke width
4895
	 * </p>
4896
	 * @return bool No value is returned.
4897
	 */
4898
	public function setStrokeWidth ($stroke_width) {}
4899
4900
	/**
4901
	 * (PECL imagick 2.0.0)<br/>
4902
	 * Clears the ImagickDraw
4903
	 * @link https://php.net/manual/en/imagickdraw.clear.php
4904
	 * @return bool an ImagickDraw object.
4905
	 */
4906
	public function clear () {}
4907
4908
	/**
4909
	 * (PECL imagick 2.0.0)<br/>
4910
	 * Draws a circle
4911
	 * @link https://php.net/manual/en/imagickdraw.circle.php
4912
	 * @param float $ox <p>
4913
	 * origin x coordinate
4914
	 * </p>
4915
	 * @param float $oy <p>
4916
	 * origin y coordinate
4917
	 * </p>
4918
	 * @param float $px <p>
4919
	 * perimeter x coordinate
4920
	 * </p>
4921
	 * @param float $py <p>
4922
	 * perimeter y coordinate
4923
	 * </p>
4924
	 * @return bool No value is returned.
4925
	 */
4926
	public function circle ($ox, $oy, $px, $py) {}
4927
4928
	/**
4929
	 * (PECL imagick 2.0.0)<br/>
4930
	 * Draws text on the image
4931
	 * @link https://php.net/manual/en/imagickdraw.annotation.php
4932
	 * @param float $x <p>
4933
	 * The x coordinate where text is drawn
4934
	 * </p>
4935
	 * @param float $y <p>
4936
	 * The y coordinate where text is drawn
4937
	 * </p>
4938
	 * @param string $text <p>
4939
	 * The text to draw on the image
4940
	 * </p>
4941
	 * @return bool No value is returned.
4942
	 */
4943
	public function annotation ($x, $y, $text) {}
4944
4945
	/**
4946
	 * (PECL imagick 2.0.0)<br/>
4947
	 * Controls whether text is antialiased
4948
	 * @link https://php.net/manual/en/imagickdraw.settextantialias.php
4949
	 * @param bool $antiAlias
4950
	 * @return bool No value is returned.
4951
	 */
4952
	public function setTextAntialias ($antiAlias) {}
4953
4954
	/**
4955
	 * (PECL imagick 2.0.0)<br/>
4956
	 * Specifies specifies the text code set
4957
	 * @link https://php.net/manual/en/imagickdraw.settextencoding.php
4958
	 * @param string $encoding <p>
4959
	 * the encoding name
4960
	 * </p>
4961
	 * @return bool No value is returned.
4962
	 */
4963
	public function setTextEncoding ($encoding) {}
4964
4965
	/**
4966
	 * (PECL imagick 2.0.0)<br/>
4967
	 * Sets the fully-specified font to use when annotating with text
4968
	 * @link https://php.net/manual/en/imagickdraw.setfont.php
4969
	 * @param string $font_name
4970
	 * @return bool <b>TRUE</b> on success.
4971
	 */
4972
	public function setFont ($font_name) {}
4973
4974
	/**
4975
	 * (PECL imagick 2.0.0)<br/>
4976
	 * Sets the font family to use when annotating with text
4977
	 * @link https://php.net/manual/en/imagickdraw.setfontfamily.php
4978
	 * @param string $font_family <p>
4979
	 * the font family
4980
	 * </p>
4981
	 * @return bool <b>TRUE</b> on success.
4982
	 */
4983
	public function setFontFamily ($font_family) {}
4984
4985
	/**
4986
	 * (PECL imagick 2.0.0)<br/>
4987
	 * Sets the font pointsize to use when annotating with text
4988
	 * @link https://php.net/manual/en/imagickdraw.setfontsize.php
4989
	 * @param float $pointsize <p>
4990
	 * the point size
4991
	 * </p>
4992
	 * @return bool No value is returned.
4993
	 */
4994
	public function setFontSize ($pointsize) {}
4995
4996
	/**
4997
	 * (PECL imagick 2.0.0)<br/>
4998
	 * Sets the font style to use when annotating with text
4999
	 * @link https://php.net/manual/en/imagickdraw.setfontstyle.php
5000
	 * @param int $style <p>
5001
	 * STYLETYPE_ constant
5002
	 * </p>
5003
	 * @return bool No value is returned.
5004
	 */
5005
	public function setFontStyle ($style) {}
5006
5007
	/**
5008
	 * (PECL imagick 2.0.0)<br/>
5009
	 * Sets the font weight
5010
	 * @link https://php.net/manual/en/imagickdraw.setfontweight.php
5011
	 * @param int $font_weight
5012
	 * @return bool
5013
	 */
5014
	public function setFontWeight ($font_weight) {}
5015
5016
	/**
5017
	 * (PECL imagick 2.0.0)<br/>
5018
	 * Returns the font
5019
	 * @link https://php.net/manual/en/imagickdraw.getfont.php
5020
	 * @return string|false a string on success and false if no font is set.
5021
	 */
5022
	public function getFont () {}
5023
5024
	/**
5025
	 * (PECL imagick 2.0.0)<br/>
5026
	 * Returns the font family
5027
	 * @link https://php.net/manual/en/imagickdraw.getfontfamily.php
5028
	 * @return string|false the font family currently selected or false if font family is not set.
5029
	 */
5030
	public function getFontFamily () {}
5031
5032
	/**
5033
	 * (PECL imagick 2.0.0)<br/>
5034
	 * Returns the font pointsize
5035
	 * @link https://php.net/manual/en/imagickdraw.getfontsize.php
5036
	 * @return float the font size associated with the current ImagickDraw object.
5037
	 */
5038
	public function getFontSize () {}
5039
5040
	/**
5041
	 * (PECL imagick 2.0.0)<br/>
5042
	 * Returns the font style
5043
	 * @link https://php.net/manual/en/imagickdraw.getfontstyle.php
5044
	 * @return int the font style constant (STYLE_) associated with the ImagickDraw object
5045
	 * or 0 if no style is set.
5046
	 */
5047
	public function getFontStyle () {}
5048
5049
	/**
5050
	 * (PECL imagick 2.0.0)<br/>
5051
	 * Returns the font weight
5052
	 * @link https://php.net/manual/en/imagickdraw.getfontweight.php
5053
	 * @return int an int on success and 0 if no weight is set.
5054
	 */
5055
	public function getFontWeight () {}
5056
5057
	/**
5058
	 * (PECL imagick 2.0.0)<br/>
5059
	 * Frees all associated resources
5060
	 * @link https://php.net/manual/en/imagickdraw.destroy.php
5061
	 * @return bool No value is returned.
5062
	 */
5063
	public function destroy () {}
5064
5065
	/**
5066
	 * (PECL imagick 2.0.0)<br/>
5067
	 * Draws a rectangle
5068
	 * @link https://php.net/manual/en/imagickdraw.rectangle.php
5069
	 * @param float $x1 <p>
5070
	 * x coordinate of the top left corner
5071
	 * </p>
5072
	 * @param float $y1 <p>
5073
	 * y coordinate of the top left corner
5074
	 * </p>
5075
	 * @param float $x2 <p>
5076
	 * x coordinate of the bottom right corner
5077
	 * </p>
5078
	 * @param float $y2 <p>
5079
	 * y coordinate of the bottom right corner
5080
	 * </p>
5081
	 * @return bool No value is returned.
5082
	 */
5083
	public function rectangle ($x1, $y1, $x2, $y2) {}
5084
5085
	/**
5086
	 * (PECL imagick 2.0.0)<br/>
5087
	 * Draws a rounded rectangle
5088
	 * @link https://php.net/manual/en/imagickdraw.roundrectangle.php
5089
	 * @param float $x1 <p>
5090
	 * x coordinate of the top left corner
5091
	 * </p>
5092
	 * @param float $y1 <p>
5093
	 * y coordinate of the top left corner
5094
	 * </p>
5095
	 * @param float $x2 <p>
5096
	 * x coordinate of the bottom right
5097
	 * </p>
5098
	 * @param float $y2 <p>
5099
	 * y coordinate of the bottom right
5100
	 * </p>
5101
	 * @param float $rx <p>
5102
	 * x rounding
5103
	 * </p>
5104
	 * @param float $ry <p>
5105
	 * y rounding
5106
	 * </p>
5107
	 * @return bool No value is returned.
5108
	 */
5109
	public function roundRectangle ($x1, $y1, $x2, $y2, $rx, $ry) {}
5110
5111
	/**
5112
	 * (PECL imagick 2.0.0)<br/>
5113
	 * Draws an ellipse on the image
5114
	 * @link https://php.net/manual/en/imagickdraw.ellipse.php
5115
	 * @param float $ox
5116
	 * @param float $oy
5117
	 * @param float $rx
5118
	 * @param float $ry
5119
	 * @param float $start
5120
	 * @param float $end
5121
	 * @return bool No value is returned.
5122
	 */
5123
	public function ellipse ($ox, $oy, $rx, $ry, $start, $end) {}
5124
5125
	/**
5126
	 * (PECL imagick 2.0.0)<br/>
5127
	 * Skews the current coordinate system in the horizontal direction
5128
	 * @link https://php.net/manual/en/imagickdraw.skewx.php
5129
	 * @param float $degrees <p>
5130
	 * degrees to skew
5131
	 * </p>
5132
	 * @return bool No value is returned.
5133
	 */
5134
	public function skewX ($degrees) {}
5135
5136
	/**
5137
	 * (PECL imagick 2.0.0)<br/>
5138
	 * Skews the current coordinate system in the vertical direction
5139
	 * @link https://php.net/manual/en/imagickdraw.skewy.php
5140
	 * @param float $degrees <p>
5141
	 * degrees to skew
5142
	 * </p>
5143
	 * @return bool No value is returned.
5144
	 */
5145
	public function skewY ($degrees) {}
5146
5147
	/**
5148
	 * (PECL imagick 2.0.0)<br/>
5149
	 * Applies a translation to the current coordinate system
5150
	 * @link https://php.net/manual/en/imagickdraw.translate.php
5151
	 * @param float $x <p>
5152
	 * horizontal translation
5153
	 * </p>
5154
	 * @param float $y <p>
5155
	 * vertical translation
5156
	 * </p>
5157
	 * @return bool No value is returned.
5158
	 */
5159
	public function translate ($x, $y) {}
5160
5161
	/**
5162
	 * (PECL imagick 2.0.0)<br/>
5163
	 * Draws a line
5164
	 * @link https://php.net/manual/en/imagickdraw.line.php
5165
	 * @param float $sx <p>
5166
	 * starting x coordinate
5167
	 * </p>
5168
	 * @param float $sy <p>
5169
	 * starting y coordinate
5170
	 * </p>
5171
	 * @param float $ex <p>
5172
	 * ending x coordinate
5173
	 * </p>
5174
	 * @param float $ey <p>
5175
	 * ending y coordinate
5176
	 * </p>
5177
	 * @return bool No value is returned.
5178
	 */
5179
	public function line ($sx, $sy, $ex, $ey) {}
5180
5181
	/**
5182
	 * (PECL imagick 2.0.0)<br/>
5183
	 * Draws an arc
5184
	 * @link https://php.net/manual/en/imagickdraw.arc.php
5185
	 * @param float $sx <p>
5186
	 * Starting x ordinate of bounding rectangle
5187
	 * </p>
5188
	 * @param float $sy <p>
5189
	 * starting y ordinate of bounding rectangle
5190
	 * </p>
5191
	 * @param float $ex <p>
5192
	 * ending x ordinate of bounding rectangle
5193
	 * </p>
5194
	 * @param float $ey <p>
5195
	 * ending y ordinate of bounding rectangle
5196
	 * </p>
5197
	 * @param float $sd <p>
5198
	 * starting degrees of rotation
5199
	 * </p>
5200
	 * @param float $ed <p>
5201
	 * ending degrees of rotation
5202
	 * </p>
5203
	 * @return bool No value is returned.
5204
	 */
5205
	public function arc ($sx, $sy, $ex, $ey, $sd, $ed) {}
5206
5207
	/**
5208
	 * (PECL imagick 2.0.0)<br/>
5209
	 * Paints on the image's opacity channel
5210
	 * @link https://php.net/manual/en/imagickdraw.matte.php
5211
	 * @param float $x <p>
5212
	 * x coordinate of the matte
5213
	 * </p>
5214
	 * @param float $y <p>
5215
	 * y coordinate of the matte
5216
	 * </p>
5217
	 * @param int $paintMethod <p>
5218
	 * PAINT_ constant
5219
	 * </p>
5220
	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
5221
	 */
5222
	public function matte ($x, $y, $paintMethod) {}
5223
5224
	/**
5225
	 * (PECL imagick 2.0.0)<br/>
5226
	 * Draws a polygon
5227
	 * @link https://php.net/manual/en/imagickdraw.polygon.php
5228
	 * @param array $coordinates <p>
5229
	 * multidimensional array like array( array( 'x' => 3, 'y' => 4 ), array( 'x' => 2, 'y' => 6 ) );
5230
	 * </p>
5231
	 * @return bool <b>TRUE</b> on success.
5232
	 */
5233
	public function polygon (array $coordinates) {}
5234
5235
	/**
5236
	 * (PECL imagick 2.0.0)<br/>
5237
	 * Draws a point
5238
	 * @link https://php.net/manual/en/imagickdraw.point.php
5239
	 * @param float $x <p>
5240
	 * point's x coordinate
5241
	 * </p>
5242
	 * @param float $y <p>
5243
	 * point's y coordinate
5244
	 * </p>
5245
	 * @return bool No value is returned.
5246
	 */
5247
	public function point ($x, $y) {}
5248
5249
	/**
5250
	 * (PECL imagick 2.0.0)<br/>
5251
	 * Returns the text decoration
5252
	 * @link https://php.net/manual/en/imagickdraw.gettextdecoration.php
5253
	 * @return int one of the DECORATION_ constants
5254
	 * and 0 if no decoration is set.
5255
	 */
5256
	public function getTextDecoration () {}
5257
5258
	/**
5259
	 * (PECL imagick 2.0.0)<br/>
5260
	 * Returns the code set used for text annotations
5261
	 * @link https://php.net/manual/en/imagickdraw.gettextencoding.php
5262
	 * @return string a string specifying the code set
5263
	 * or false if text encoding is not set.
5264
	 */
5265
	public function getTextEncoding () {}
5266
5267
	public function getFontStretch () {}
5268
5269
	/**
5270
	 * (PECL imagick 2.0.0)<br/>
5271
	 * Sets the font stretch to use when annotating with text
5272
	 * @link https://php.net/manual/en/imagickdraw.setfontstretch.php
5273
	 * @param int $fontStretch <p>
5274
	 * STRETCH_ constant
5275
	 * </p>
5276
	 * @return bool No value is returned.
5277
	 */
5278
	public function setFontStretch ($fontStretch) {}
5279
5280
	/**
5281
	 * (PECL imagick 2.0.0)<br/>
5282
	 * Controls whether stroked outlines are antialiased
5283
	 * @link https://php.net/manual/en/imagickdraw.setstrokeantialias.php
5284
	 * @param bool $stroke_antialias <p>
5285
	 * the antialias setting
5286
	 * </p>
5287
	 * @return bool No value is returned.
5288
	 */
5289
	public function setStrokeAntialias ($stroke_antialias) {}
5290
5291
	/**
5292
	 * (PECL imagick 2.0.0)<br/>
5293
	 * Specifies a text alignment
5294
	 * @link https://php.net/manual/en/imagickdraw.settextalignment.php
5295
	 * @param int $alignment <p>
5296
	 * ALIGN_ constant
5297
	 * </p>
5298
	 * @return bool No value is returned.
5299
	 */
5300
	public function setTextAlignment ($alignment) {}
5301
5302
	/**
5303
	 * (PECL imagick 2.0.0)<br/>
5304
	 * Specifies a decoration
5305
	 * @link https://php.net/manual/en/imagickdraw.settextdecoration.php
5306
	 * @param int $decoration <p>
5307
	 * DECORATION_ constant
5308
	 * </p>
5309
	 * @return bool No value is returned.
5310
	 */
5311
	public function setTextDecoration ($decoration) {}
5312
5313
	/**
5314
	 * (PECL imagick 2.0.0)<br/>
5315
	 * Specifies the color of a background rectangle
5316
	 * @link https://php.net/manual/en/imagickdraw.settextundercolor.php
5317
	 * @param ImagickPixel $under_color <p>
5318
	 * the under color
5319
	 * </p>
5320
	 * @return bool No value is returned.
5321
	 */
5322
	public function setTextUnderColor (ImagickPixel $under_color) {}
5323
5324
	/**
5325
	 * (PECL imagick 2.0.0)<br/>
5326
	 * Sets the overall canvas size
5327
	 * @link https://php.net/manual/en/imagickdraw.setviewbox.php
5328
	 * @param int $x1 <p>
5329
	 * left x coordinate
5330
	 * </p>
5331
	 * @param int $y1 <p>
5332
	 * left y coordinate
5333
	 * </p>
5334
	 * @param int $x2 <p>
5335
	 * right x coordinate
5336
	 * </p>
5337
	 * @param int $y2 <p>
5338
	 * right y coordinate
5339
	 * </p>
5340
	 * @return bool No value is returned.
5341
	 */
5342
	public function setViewbox ($x1, $y1, $x2, $y2) {}
5343
5344
	/**
5345
	 * (PECL imagick 2.0.0)<br/>
5346
	 * Adjusts the current affine transformation matrix
5347
	 * @link https://php.net/manual/en/imagickdraw.affine.php
5348
	 * @param array $affine <p>
5349
	 * Affine matrix parameters
5350
	 * </p>
5351
	 * @return bool No value is returned.
5352
	 */
5353
	public function affine (array $affine) {}
5354
5355
	/**
5356
	 * (PECL imagick 2.0.0)<br/>
5357
	 * Draws a bezier curve
5358
	 * @link https://php.net/manual/en/imagickdraw.bezier.php
5359
	 * @param array $coordinates <p>
5360
	 * Multidimensional array like array( array( 'x' => 1, 'y' => 2 ),
5361
	 * array( 'x' => 3, 'y' => 4 ) )
5362
	 * </p>
5363
	 * @return bool No value is returned.
5364
	 */
5365
	public function bezier (array $coordinates) {}
5366
5367
	/**
5368
	 * (PECL imagick 2.0.0)<br/>
5369
	 * Composites an image onto the current image
5370
	 * @link https://php.net/manual/en/imagickdraw.composite.php
5371
	 * @param int $compose <p>
5372
	 * composition operator. One of COMPOSITE_ constants
5373
	 * </p>
5374
	 * @param float $x <p>
5375
	 * x coordinate of the top left corner
5376
	 * </p>
5377
	 * @param float $y <p>
5378
	 * y coordinate of the top left corner
5379
	 * </p>
5380
	 * @param float $width <p>
5381
	 * width of the composition image
5382
	 * </p>
5383
	 * @param float $height <p>
5384
	 * height of the composition image
5385
	 * </p>
5386
	 * @param Imagick $compositeWand <p>
5387
	 * the Imagick object where composition image is taken from
5388
	 * </p>
5389
	 * @return bool <b>TRUE</b> on success.
5390
	 */
5391
	public function composite ($compose, $x, $y, $width, $height, Imagick $compositeWand) {}
5392
5393
	/**
5394
	 * (PECL imagick 2.0.0)<br/>
5395
	 * Draws color on image
5396
	 * @link https://php.net/manual/en/imagickdraw.color.php
5397
	 * @param float $x <p>
5398
	 * x coordinate of the paint
5399
	 * </p>
5400
	 * @param float $y <p>
5401
	 * y coordinate of the paint
5402
	 * </p>
5403
	 * @param int $paintMethod <p>
5404
	 * one of the PAINT_ constants
5405
	 * </p>
5406
	 * @return bool No value is returned.
5407
	 */
5408
	public function color ($x, $y, $paintMethod) {}
5409
5410
	/**
5411
	 * (PECL imagick 2.0.0)<br/>
5412
	 * Adds a comment
5413
	 * @link https://php.net/manual/en/imagickdraw.comment.php
5414
	 * @param string $comment <p>
5415
	 * The comment string to add to vector output stream
5416
	 * </p>
5417
	 * @return bool No value is returned.
5418
	 */
5419
	public function comment ($comment) {}
5420
5421
	/**
5422
	 * (PECL imagick 2.0.0)<br/>
5423
	 * Obtains the current clipping path ID
5424
	 * @link https://php.net/manual/en/imagickdraw.getclippath.php
5425
	 * @return string|false a string containing the clip path ID or false if no clip path exists.
5426
	 */
5427
	public function getClipPath () {}
5428
5429
	/**
5430
	 * (PECL imagick 2.0.0)<br/>
5431
	 * Returns the current polygon fill rule
5432
	 * @link https://php.net/manual/en/imagickdraw.getcliprule.php
5433
	 * @return int one of the FILLRULE_ constants.
5434
	 */
5435
	public function getClipRule () {}
5436
5437
	/**
5438
	 * (PECL imagick 2.0.0)<br/>
5439
	 * Returns the interpretation of clip path units
5440
	 * @link https://php.net/manual/en/imagickdraw.getclipunits.php
5441
	 * @return int an int on success.
5442
	 */
5443
	public function getClipUnits () {}
5444
5445
	/**
5446
	 * (PECL imagick 2.0.0)<br/>
5447
	 * Returns the fill color
5448
	 * @link https://php.net/manual/en/imagickdraw.getfillcolor.php
5449
	 * @return ImagickPixel an ImagickPixel object.
5450
	 */
5451
	public function getFillColor () {}
5452
5453
	/**
5454
	 * (PECL imagick 2.0.0)<br/>
5455
	 * Returns the opacity used when drawing
5456
	 * @link https://php.net/manual/en/imagickdraw.getfillopacity.php
5457
	 * @return float The opacity.
5458
	 */
5459
	public function getFillOpacity () {}
5460
5461
	/**
5462
	 * (PECL imagick 2.0.0)<br/>
5463
	 * Returns the fill rule
5464
	 * @link https://php.net/manual/en/imagickdraw.getfillrule.php
5465
	 * @return int a FILLRULE_ constant
5466
	 */
5467
	public function getFillRule () {}
5468
5469
	/**
5470
	 * (PECL imagick 2.0.0)<br/>
5471
	 * Returns the text placement gravity
5472
	 * @link https://php.net/manual/en/imagickdraw.getgravity.php
5473
	 * @return int a GRAVITY_ constant on success and 0 if no gravity is set.
5474
	 */
5475
	public function getGravity () {}
5476
5477
	/**
5478
	 * (PECL imagick 2.0.0)<br/>
5479
	 * Returns the current stroke antialias setting
5480
	 * @link https://php.net/manual/en/imagickdraw.getstrokeantialias.php
5481
	 * @return bool <b>TRUE</b> if antialiasing is on and false if it is off.
5482
	 */
5483
	public function getStrokeAntialias () {}
5484
5485
	/**
5486
	 * (PECL imagick 2.0.0)<br/>
5487
	 * Returns the color used for stroking object outlines
5488
	 * @link https://php.net/manual/en/imagickdraw.getstrokecolor.php
5489
	 * @return ImagickPixel an ImagickPixel object which describes the color.
5490
	 */
5491
	public function getStrokeColor () {}
5492
5493
	/**
5494
	 * (PECL imagick 2.0.0)<br/>
5495
	 * Returns an array representing the pattern of dashes and gaps used to stroke paths
5496
	 * @link https://php.net/manual/en/imagickdraw.getstrokedasharray.php
5497
	 * @return array an array on success and empty array if not set.
5498
	 */
5499
	public function getStrokeDashArray () {}
5500
5501
	/**
5502
	 * (PECL imagick 2.0.0)<br/>
5503
	 * Returns the offset into the dash pattern to start the dash
5504
	 * @link https://php.net/manual/en/imagickdraw.getstrokedashoffset.php
5505
	 * @return float a float representing the offset and 0 if it's not set.
5506
	 */
5507
	public function getStrokeDashOffset () {}
5508
5509
	/**
5510
	 * (PECL imagick 2.0.0)<br/>
5511
	 * Returns the shape to be used at the end of open subpaths when they are stroked
5512
	 * @link https://php.net/manual/en/imagickdraw.getstrokelinecap.php
5513
	 * @return int one of the LINECAP_ constants or 0 if stroke linecap is not set.
5514
	 */
5515
	public function getStrokeLineCap () {}
5516
5517
	/**
5518
	 * (PECL imagick 2.0.0)<br/>
5519
	 * Returns the shape to be used at the corners of paths when they are stroked
5520
	 * @link https://php.net/manual/en/imagickdraw.getstrokelinejoin.php
5521
	 * @return int one of the LINEJOIN_ constants or 0 if stroke line join is not set.
5522
	 */
5523
	public function getStrokeLineJoin () {}
5524
5525
	/**
5526
	 * (PECL imagick 2.0.0)<br/>
5527
	 * Returns the stroke miter limit
5528
	 * @link https://php.net/manual/en/imagickdraw.getstrokemiterlimit.php
5529
	 * @return int an int describing the miter limit
5530
	 * and 0 if no miter limit is set.
5531
	 */
5532
	public function getStrokeMiterLimit () {}
5533
5534
	/**
5535
	 * (PECL imagick 2.0.0)<br/>
5536
	 * Returns the opacity of stroked object outlines
5537
	 * @link https://php.net/manual/en/imagickdraw.getstrokeopacity.php
5538
	 * @return float a float describing the opacity.
5539
	 */
5540
	public function getStrokeOpacity () {}
5541
5542
	/**
5543
	 * (PECL imagick 2.0.0)<br/>
5544
	 * Returns the width of the stroke used to draw object outlines
5545
	 * @link https://php.net/manual/en/imagickdraw.getstrokewidth.php
5546
	 * @return float a float describing the stroke width.
5547
	 */
5548
	public function getStrokeWidth () {}
5549
5550
	/**
5551
	 * (PECL imagick 2.0.0)<br/>
5552
	 * Returns the text alignment
5553
	 * @link https://php.net/manual/en/imagickdraw.gettextalignment.php
5554
	 * @return int one of the ALIGN_ constants and 0 if no align is set.
5555
	 */
5556
	public function getTextAlignment () {}
5557
5558
	/**
5559
	 * (PECL imagick 2.0.0)<br/>
5560
	 * Returns the current text antialias setting
5561
	 * @link https://php.net/manual/en/imagickdraw.gettextantialias.php
5562
	 * @return bool <b>TRUE</b> if text is antialiased and false if not.
5563
	 */
5564
	public function getTextAntialias () {}
5565
5566
	/**
5567
	 * (PECL imagick 2.0.0)<br/>
5568
	 * Returns a string containing vector graphics
5569
	 * @link https://php.net/manual/en/imagickdraw.getvectorgraphics.php
5570
	 * @return string a string containing the vector graphics.
5571
	 */
5572
	public function getVectorGraphics () {}
5573
5574
	/**
5575
	 * (PECL imagick 2.0.0)<br/>
5576
	 * Returns the text under color
5577
	 * @link https://php.net/manual/en/imagickdraw.gettextundercolor.php
5578
	 * @return ImagickPixel an ImagickPixel object describing the color.
5579
	 */
5580
	public function getTextUnderColor () {}
5581
5582
	/**
5583
	 * (PECL imagick 2.0.0)<br/>
5584
	 * Adds a path element to the current path
5585
	 * @link https://php.net/manual/en/imagickdraw.pathclose.php
5586
	 * @return bool No value is returned.
5587
	 */
5588
	public function pathClose () {}
5589
5590
	/**
5591
	 * (PECL imagick 2.0.0)<br/>
5592
	 * Draws a cubic Bezier curve
5593
	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoabsolute.php
5594
	 * @param float $x1 <p>
5595
	 * x coordinate of the first control point
5596
	 * </p>
5597
	 * @param float $y1 <p>
5598
	 * y coordinate of the first control point
5599
	 * </p>
5600
	 * @param float $x2 <p>
5601
	 * x coordinate of the second control point
5602
	 * </p>
5603
	 * @param float $y2 <p>
5604
	 * y coordinate of the first control point
5605
	 * </p>
5606
	 * @param float $x <p>
5607
	 * x coordinate of the curve end
5608
	 * </p>
5609
	 * @param float $y <p>
5610
	 * y coordinate of the curve end
5611
	 * </p>
5612
	 * @return bool No value is returned.
5613
	 */
5614
	public function pathCurveToAbsolute ($x1, $y1, $x2, $y2, $x, $y) {}
5615
5616
	/**
5617
	 * (PECL imagick 2.0.0)<br/>
5618
	 * Draws a cubic Bezier curve
5619
	 * @link https://php.net/manual/en/imagickdraw.pathcurvetorelative.php
5620
	 * @param float $x1 <p>
5621
	 * x coordinate of starting control point
5622
	 * </p>
5623
	 * @param float $y1 <p>
5624
	 * y coordinate of starting control point
5625
	 * </p>
5626
	 * @param float $x2 <p>
5627
	 * x coordinate of ending control point
5628
	 * </p>
5629
	 * @param float $y2 <p>
5630
	 * y coordinate of ending control point
5631
	 * </p>
5632
	 * @param float $x <p>
5633
	 * ending x coordinate
5634
	 * </p>
5635
	 * @param float $y <p>
5636
	 * ending y coordinate
5637
	 * </p>
5638
	 * @return bool No value is returned.
5639
	 */
5640
	public function pathCurveToRelative ($x1, $y1, $x2, $y2, $x, $y) {}
5641
5642
	/**
5643
	 * (PECL imagick 2.0.0)<br/>
5644
	 * Draws a quadratic Bezier curve
5645
	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierabsolute.php
5646
	 * @param float $x1 <p>
5647
	 * x coordinate of the control point
5648
	 * </p>
5649
	 * @param float $y1 <p>
5650
	 * y coordinate of the control point
5651
	 * </p>
5652
	 * @param float $x <p>
5653
	 * x coordinate of the end point
5654
	 * </p>
5655
	 * @param float $y <p>
5656
	 * y coordinate of the end point
5657
	 * </p>
5658
	 * @return bool No value is returned.
5659
	 */
5660
	public function pathCurveToQuadraticBezierAbsolute ($x1, $y1, $x, $y) {}
5661
5662
	/**
5663
	 * (PECL imagick 2.0.0)<br/>
5664
	 * Draws a quadratic Bezier curve
5665
	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierrelative.php
5666
	 * @param float $x1 <p>
5667
	 * starting x coordinate
5668
	 * </p>
5669
	 * @param float $y1 <p>
5670
	 * starting y coordinate
5671
	 * </p>
5672
	 * @param float $x <p>
5673
	 * ending x coordinate
5674
	 * </p>
5675
	 * @param float $y <p>
5676
	 * ending y coordinate
5677
	 * </p>
5678
	 * @return bool No value is returned.
5679
	 */
5680
	public function pathCurveToQuadraticBezierRelative ($x1, $y1, $x, $y) {}
5681
5682
	/**
5683
	 * (PECL imagick 2.0.0)<br/>
5684
	 * Draws a quadratic Bezier curve
5685
	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothabsolute.php
5686
	 * @param float $x <p>
5687
	 * ending x coordinate
5688
	 * </p>
5689
	 * @param float $y <p>
5690
	 * ending y coordinate
5691
	 * </p>
5692
	 * @return bool No value is returned.
5693
	 */
5694
	public function pathCurveToQuadraticBezierSmoothAbsolute ($x, $y) {}
5695
5696
	/**
5697
	 * (PECL imagick 2.0.0)<br/>
5698
	 * Draws a quadratic Bezier curve
5699
	 * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothrelative.php
5700
	 * @param float $x <p>
5701
	 * ending x coordinate
5702
	 * </p>
5703
	 * @param float $y <p>
5704
	 * ending y coordinate
5705
	 * </p>
5706
	 * @return bool No value is returned.
5707
	 */
5708
	public function pathCurveToQuadraticBezierSmoothRelative ($x, $y) {}
5709
5710
	/**
5711
	 * (PECL imagick 2.0.0)<br/>
5712
	 * Draws a cubic Bezier curve
5713
	 * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothabsolute.php
5714
	 * @param float $x2 <p>
5715
	 * x coordinate of the second control point
5716
	 * </p>
5717
	 * @param float $y2 <p>
5718
	 * y coordinate of the second control point
5719
	 * </p>
5720
	 * @param float $x <p>
5721
	 * x coordinate of the ending point
5722
	 * </p>
5723
	 * @param float $y <p>
5724
	 * y coordinate of the ending point
5725
	 * </p>
5726
	 * @return bool No value is returned.
5727
	 */
5728
	public function pathCurveToSmoothAbsolute ($x2, $y2, $x, $y) {}
5729
5730
	/**
5731
	 * (PECL imagick 2.0.0)<br/>
5732
	 * Draws a cubic Bezier curve
5733
	 * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothrelative.php
5734
	 * @param float $x2 <p>
5735
	 * x coordinate of the second control point
5736
	 * </p>
5737
	 * @param float $y2 <p>
5738
	 * y coordinate of the second control point
5739
	 * </p>
5740
	 * @param float $x <p>
5741
	 * x coordinate of the ending point
5742
	 * </p>
5743
	 * @param float $y <p>
5744
	 * y coordinate of the ending point
5745
	 * </p>
5746
	 * @return bool No value is returned.
5747
	 */
5748
	public function pathCurveToSmoothRelative ($x2, $y2, $x, $y) {}
5749
5750
	/**
5751
	 * (PECL imagick 2.0.0)<br/>
5752
	 * Draws an elliptical arc
5753
	 * @link https://php.net/manual/en/imagickdraw.pathellipticarcabsolute.php
5754
	 * @param float $rx <p>
5755
	 * x radius
5756
	 * </p>
5757
	 * @param float $ry <p>
5758
	 * y radius
5759
	 * </p>
5760
	 * @param float $x_axis_rotation <p>
5761
	 * x axis rotation
5762
	 * </p>
5763
	 * @param bool $large_arc_flag <p>
5764
	 * large arc flag
5765
	 * </p>
5766
	 * @param bool $sweep_flag <p>
5767
	 * sweep flag
5768
	 * </p>
5769
	 * @param float $x <p>
5770
	 * x coordinate
5771
	 * </p>
5772
	 * @param float $y <p>
5773
	 * y coordinate
5774
	 * </p>
5775
	 * @return bool No value is returned.
5776
	 */
5777
	public function pathEllipticArcAbsolute ($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}
5778
5779
	/**
5780
	 * (PECL imagick 2.0.0)<br/>
5781
	 * Draws an elliptical arc
5782
	 * @link https://php.net/manual/en/imagickdraw.pathellipticarcrelative.php
5783
	 * @param float $rx <p>
5784
	 * x radius
5785
	 * </p>
5786
	 * @param float $ry <p>
5787
	 * y radius
5788
	 * </p>
5789
	 * @param float $x_axis_rotation <p>
5790
	 * x axis rotation
5791
	 * </p>
5792
	 * @param bool $large_arc_flag <p>
5793
	 * large arc flag
5794
	 * </p>
5795
	 * @param bool $sweep_flag <p>
5796
	 * sweep flag
5797
	 * </p>
5798
	 * @param float $x <p>
5799
	 * x coordinate
5800
	 * </p>
5801
	 * @param float $y <p>
5802
	 * y coordinate
5803
	 * </p>
5804
	 * @return bool No value is returned.
5805
	 */
5806
	public function pathEllipticArcRelative ($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}
5807
5808
	/**
5809
	 * (PECL imagick 2.0.0)<br/>
5810
	 * Terminates the current path
5811
	 * @link https://php.net/manual/en/imagickdraw.pathfinish.php
5812
	 * @return bool No value is returned.
5813
	 */
5814
	public function pathFinish () {}
5815
5816
	/**
5817
	 * (PECL imagick 2.0.0)<br/>
5818
	 * Draws a line path
5819
	 * @link https://php.net/manual/en/imagickdraw.pathlinetoabsolute.php
5820
	 * @param float $x <p>
5821
	 * starting x coordinate
5822
	 * </p>
5823
	 * @param float $y <p>
5824
	 * ending x coordinate
5825
	 * </p>
5826
	 * @return bool No value is returned.
5827
	 */
5828
	public function pathLineToAbsolute ($x, $y) {}
5829
5830
	/**
5831
	 * (PECL imagick 2.0.0)<br/>
5832
	 * Draws a line path
5833
	 * @link https://php.net/manual/en/imagickdraw.pathlinetorelative.php
5834
	 * @param float $x <p>
5835
	 * starting x coordinate
5836
	 * </p>
5837
	 * @param float $y <p>
5838
	 * starting y coordinate
5839
	 * </p>
5840
	 * @return bool No value is returned.
5841
	 */
5842
	public function pathLineToRelative ($x, $y) {}
5843
5844
	/**
5845
	 * (PECL imagick 2.0.0)<br/>
5846
	 * Draws a horizontal line path
5847
	 * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalabsolute.php
5848
	 * @param float $x <p>
5849
	 * x coordinate
5850
	 * </p>
5851
	 * @return bool No value is returned.
5852
	 */
5853
	public function pathLineToHorizontalAbsolute ($x) {}
5854
5855
	/**
5856
	 * (PECL imagick 2.0.0)<br/>
5857
	 * Draws a horizontal line
5858
	 * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalrelative.php
5859
	 * @param float $x <p>
5860
	 * x coordinate
5861
	 * </p>
5862
	 * @return bool No value is returned.
5863
	 */
5864
	public function pathLineToHorizontalRelative ($x) {}
5865
5866
	/**
5867
	 * (PECL imagick 2.0.0)<br/>
5868
	 * Draws a vertical line
5869
	 * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalabsolute.php
5870
	 * @param float $y <p>
5871
	 * y coordinate
5872
	 * </p>
5873
	 * @return bool No value is returned.
5874
	 */
5875
	public function pathLineToVerticalAbsolute ($y) {}
5876
5877
	/**
5878
	 * (PECL imagick 2.0.0)<br/>
5879
	 * Draws a vertical line path
5880
	 * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalrelative.php
5881
	 * @param float $y <p>
5882
	 * y coordinate
5883
	 * </p>
5884
	 * @return bool No value is returned.
5885
	 */
5886
	public function pathLineToVerticalRelative ($y) {}
5887
5888
	/**
5889
	 * (PECL imagick 2.0.0)<br/>
5890
	 * Starts a new sub-path
5891
	 * @link https://php.net/manual/en/imagickdraw.pathmovetoabsolute.php
5892
	 * @param float $x <p>
5893
	 * x coordinate of the starting point
5894
	 * </p>
5895
	 * @param float $y <p>
5896
	 * y coordinate of the starting point
5897
	 * </p>
5898
	 * @return bool No value is returned.
5899
	 */
5900
	public function pathMoveToAbsolute ($x, $y) {}
5901
5902
	/**
5903
	 * (PECL imagick 2.0.0)<br/>
5904
	 * Starts a new sub-path
5905
	 * @link https://php.net/manual/en/imagickdraw.pathmovetorelative.php
5906
	 * @param float $x <p>
5907
	 * target x coordinate
5908
	 * </p>
5909
	 * @param float $y <p>
5910
	 * target y coordinate
5911
	 * </p>
5912
	 * @return bool No value is returned.
5913
	 */
5914
	public function pathMoveToRelative ($x, $y) {}
5915
5916
	/**
5917
	 * (PECL imagick 2.0.0)<br/>
5918
	 * Declares the start of a path drawing list
5919
	 * @link https://php.net/manual/en/imagickdraw.pathstart.php
5920
	 * @return bool No value is returned.
5921
	 */
5922
	public function pathStart () {}
5923
5924
	/**
5925
	 * (PECL imagick 2.0.0)<br/>
5926
	 * Draws a polyline
5927
	 * @link https://php.net/manual/en/imagickdraw.polyline.php
5928
	 * @param array $coordinates <p>
5929
	 * array of x and y coordinates: array( array( 'x' => 4, 'y' => 6 ), array( 'x' => 8, 'y' => 10 ) )
5930
	 * </p>
5931
	 * @return bool <b>TRUE</b> on success.
5932
	 */
5933
	public function polyline (array $coordinates) {}
5934
5935
	/**
5936
	 * (PECL imagick 2.0.0)<br/>
5937
	 * Terminates a clip path definition
5938
	 * @link https://php.net/manual/en/imagickdraw.popclippath.php
5939
	 * @return bool No value is returned.
5940
	 */
5941
	public function popClipPath () {}
5942
5943
	/**
5944
	 * (PECL imagick 2.0.0)<br/>
5945
	 * Terminates a definition list
5946
	 * @link https://php.net/manual/en/imagickdraw.popdefs.php
5947
	 * @return bool No value is returned.
5948
	 */
5949
	public function popDefs () {}
5950
5951
	/**
5952
	 * (PECL imagick 2.0.0)<br/>
5953
	 * Terminates a pattern definition
5954
	 * @link https://php.net/manual/en/imagickdraw.poppattern.php
5955
	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
5956
	 */
5957
	public function popPattern () {}
5958
5959
	/**
5960
	 * (PECL imagick 2.0.0)<br/>
5961
	 * Starts a clip path definition
5962
	 * @link https://php.net/manual/en/imagickdraw.pushclippath.php
5963
	 * @param string $clip_mask_id <p>
5964
	 * Clip mask Id
5965
	 * </p>
5966
	 * @return bool No value is returned.
5967
	 */
5968
	public function pushClipPath ($clip_mask_id) {}
5969
5970
	/**
5971
	 * (PECL imagick 2.0.0)<br/>
5972
	 * Indicates that following commands create named elements for early processing
5973
	 * @link https://php.net/manual/en/imagickdraw.pushdefs.php
5974
	 * @return bool No value is returned.
5975
	 */
5976
	public function pushDefs () {}
5977
5978
	/**
5979
	 * (PECL imagick 2.0.0)<br/>
5980
	 * Indicates that subsequent commands up to a ImagickDraw::opPattern() command comprise the definition of a named pattern
5981
	 * @link https://php.net/manual/en/imagickdraw.pushpattern.php
5982
	 * @param string $pattern_id <p>
5983
	 * the pattern Id
5984
	 * </p>
5985
	 * @param float $x <p>
5986
	 * x coordinate of the top-left corner
5987
	 * </p>
5988
	 * @param float $y <p>
5989
	 * y coordinate of the top-left corner
5990
	 * </p>
5991
	 * @param float $width <p>
5992
	 * width of the pattern
5993
	 * </p>
5994
	 * @param float $height <p>
5995
	 * height of the pattern
5996
	 * </p>
5997
	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
5998
	 */
5999
	public function pushPattern ($pattern_id, $x, $y, $width, $height) {}
6000
6001
	/**
6002
	 * (PECL imagick 2.0.0)<br/>
6003
	 * Renders all preceding drawing commands onto the image
6004
	 * @link https://php.net/manual/en/imagickdraw.render.php
6005
	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6006
	 */
6007
	public function render () {}
6008
6009
	/**
6010
	 * (PECL imagick 2.0.0)<br/>
6011
	 * Applies the specified rotation to the current coordinate space
6012
	 * @link https://php.net/manual/en/imagickdraw.rotate.php
6013
	 * @param float $degrees <p>
6014
	 * degrees to rotate
6015
	 * </p>
6016
	 * @return bool No value is returned.
6017
	 */
6018
	public function rotate ($degrees) {}
6019
6020
	/**
6021
	 * (PECL imagick 2.0.0)<br/>
6022
	 * Adjusts the scaling factor
6023
	 * @link https://php.net/manual/en/imagickdraw.scale.php
6024
	 * @param float $x <p>
6025
	 * horizontal factor
6026
	 * </p>
6027
	 * @param float $y <p>
6028
	 * vertical factor
6029
	 * </p>
6030
	 * @return bool No value is returned.
6031
	 */
6032
	public function scale ($x, $y) {}
6033
6034
	/**
6035
	 * (PECL imagick 2.0.0)<br/>
6036
	 * Associates a named clipping path with the image
6037
	 * @link https://php.net/manual/en/imagickdraw.setclippath.php
6038
	 * @param string $clip_mask <p>
6039
	 * the clipping path name
6040
	 * </p>
6041
	 * @return bool No value is returned.
6042
	 */
6043
	public function setClipPath ($clip_mask) {}
6044
6045
	/**
6046
	 * (PECL imagick 2.0.0)<br/>
6047
	 * Set the polygon fill rule to be used by the clipping path
6048
	 * @link https://php.net/manual/en/imagickdraw.setcliprule.php
6049
	 * @param int $fill_rule <p>
6050
	 * FILLRULE_ constant
6051
	 * </p>
6052
	 * @return bool No value is returned.
6053
	 */
6054
	public function setClipRule ($fill_rule) {}
6055
6056
	/**
6057
	 * (PECL imagick 2.0.0)<br/>
6058
	 * Sets the interpretation of clip path units
6059
	 * @link https://php.net/manual/en/imagickdraw.setclipunits.php
6060
	 * @param int $clip_units <p>
6061
	 * the number of clip units
6062
	 * </p>
6063
	 * @return bool No value is returned.
6064
	 */
6065
	public function setClipUnits ($clip_units) {}
6066
6067
	/**
6068
	 * (PECL imagick 2.0.0)<br/>
6069
	 * Sets the opacity to use when drawing using the fill color or fill texture
6070
	 * @link https://php.net/manual/en/imagickdraw.setfillopacity.php
6071
	 * @param float $fillOpacity <p>
6072
	 * the fill opacity
6073
	 * </p>
6074
	 * @return bool No value is returned.
6075
	 */
6076
	public function setFillOpacity ($fillOpacity) {}
6077
6078
	/**
6079
	 * (PECL imagick 2.0.0)<br/>
6080
	 * Sets the URL to use as a fill pattern for filling objects
6081
	 * @link https://php.net/manual/en/imagickdraw.setfillpatternurl.php
6082
	 * @param string $fill_url <p>
6083
	 * URL to use to obtain fill pattern.
6084
	 * </p>
6085
	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6086
	 */
6087
	public function setFillPatternURL ($fill_url) {}
6088
6089
	/**
6090
	 * (PECL imagick 2.0.0)<br/>
6091
	 * Sets the fill rule to use while drawing polygons
6092
	 * @link https://php.net/manual/en/imagickdraw.setfillrule.php
6093
	 * @param int $fill_rule <p>
6094
	 * FILLRULE_ constant
6095
	 * </p>
6096
	 * @return bool No value is returned.
6097
	 */
6098
	public function setFillRule ($fill_rule) {}
6099
6100
	/**
6101
	 * (PECL imagick 2.0.0)<br/>
6102
	 * Sets the text placement gravity
6103
	 * @link https://php.net/manual/en/imagickdraw.setgravity.php
6104
	 * @param int $gravity <p>
6105
	 * GRAVITY_ constant
6106
	 * </p>
6107
	 * @return bool No value is returned.
6108
	 */
6109
	public function setGravity ($gravity) {}
6110
6111
	/**
6112
	 * (PECL imagick 2.0.0)<br/>
6113
	 * Sets the pattern used for stroking object outlines
6114
	 * @link https://php.net/manual/en/imagickdraw.setstrokepatternurl.php
6115
	 * @param string $stroke_url <p>
6116
	 * stroke URL
6117
	 * </p>
6118
	 * @return bool imagick.imagickdraw.return.success;
6119
	 */
6120
	public function setStrokePatternURL ($stroke_url) {}
6121
6122
	/**
6123
	 * (PECL imagick 2.0.0)<br/>
6124
	 * Specifies the offset into the dash pattern to start the dash
6125
	 * @link https://php.net/manual/en/imagickdraw.setstrokedashoffset.php
6126
	 * @param float $dash_offset <p>
6127
	 * dash offset
6128
	 * </p>
6129
	 * @return bool No value is returned.
6130
	 */
6131
	public function setStrokeDashOffset ($dash_offset) {}
6132
6133
	/**
6134
	 * (PECL imagick 2.0.0)<br/>
6135
	 * Specifies the shape to be used at the end of open subpaths when they are stroked
6136
	 * @link https://php.net/manual/en/imagickdraw.setstrokelinecap.php
6137
	 * @param int $linecap <p>
6138
	 * LINECAP_ constant
6139
	 * </p>
6140
	 * @return bool No value is returned.
6141
	 */
6142
	public function setStrokeLineCap ($linecap) {}
6143
6144
	/**
6145
	 * (PECL imagick 2.0.0)<br/>
6146
	 * Specifies the shape to be used at the corners of paths when they are stroked
6147
	 * @link https://php.net/manual/en/imagickdraw.setstrokelinejoin.php
6148
	 * @param int $linejoin <p>
6149
	 * LINEJOIN_ constant
6150
	 * </p>
6151
	 * @return bool No value is returned.
6152
	 */
6153
	public function setStrokeLineJoin ($linejoin) {}
6154
6155
	/**
6156
	 * (PECL imagick 2.0.0)<br/>
6157
	 * Specifies the miter limit
6158
	 * @link https://php.net/manual/en/imagickdraw.setstrokemiterlimit.php
6159
	 * @param int $miterlimit <p>
6160
	 * the miter limit
6161
	 * </p>
6162
	 * @return bool No value is returned.
6163
	 */
6164
	public function setStrokeMiterLimit ($miterlimit) {}
6165
6166
	/**
6167
	 * (PECL imagick 2.0.0)<br/>
6168
	 * Specifies the opacity of stroked object outlines
6169
	 * @link https://php.net/manual/en/imagickdraw.setstrokeopacity.php
6170
	 * @param float $stroke_opacity <p>
6171
	 * stroke opacity. 1.0 is fully opaque
6172
	 * </p>
6173
	 * @return bool No value is returned.
6174
	 */
6175
	public function setStrokeOpacity ($stroke_opacity) {}
6176
6177
	/**
6178
	 * (PECL imagick 2.0.0)<br/>
6179
	 * Sets the vector graphics
6180
	 * @link https://php.net/manual/en/imagickdraw.setvectorgraphics.php
6181
	 * @param string $xml <p>
6182
	 * xml containing the vector graphics
6183
	 * </p>
6184
	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6185
	 */
6186
	public function setVectorGraphics ($xml) {}
6187
6188
	/**
6189
	 * (PECL imagick 2.0.0)<br/>
6190
	 * Destroys the current ImagickDraw in the stack, and returns to the previously pushed ImagickDraw
6191
	 * @link https://php.net/manual/en/imagickdraw.pop.php
6192
	 * @return bool <b>TRUE</b> on success and false on failure.
6193
	 */
6194
	public function pop () {}
6195
6196
	/**
6197
	 * (PECL imagick 2.0.0)<br/>
6198
	 * Clones the current ImagickDraw and pushes it to the stack
6199
	 * @link https://php.net/manual/en/imagickdraw.push.php
6200
	 * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
6201
	 */
6202
	public function push () {}
6203
6204
	/**
6205
	 * (PECL imagick 2.0.0)<br/>
6206
	 * Specifies the pattern of dashes and gaps used to stroke paths
6207
	 * @link https://php.net/manual/en/imagickdraw.setstrokedasharray.php
6208
	 * @param array $dashArray <p>
6209
	 * array of floats
6210
	 * </p>
6211
	 * @return bool <b>TRUE</b> on success.
6212
	 */
6213
	public function setStrokeDashArray (array $dashArray) {}
6214
6215
    /**
6216
     * Sets the opacity to use when drawing using the fill or stroke color or texture. Fully opaque is 1.0.
6217
     *
6218
     * @param float $opacity
6219
     * @return void
6220
     * @since 3.4.1
6221
     */
6222
	public function setOpacity($opacity) { }
6223
6224
	/**
6225
	 * Returns the opacity used when drawing with the fill or stroke color or texture. Fully opaque is 1.0.
6226
	 *
6227
	 * @return float
6228
	 * @since 3.4.1
6229
	 */
6230
	public function getOpacity() { }
6231
6232
	/**
6233
	 * Sets the image font resolution.
6234
	 *
6235
	 * @param float $x
6236
	 * @param float $y
6237
	 * @return bool
6238
	 * @since 3.4.1
6239
	 */
6240
	public function setFontResolution($x, $y) { }
6241
6242
	/**
6243
	 * Gets the image X and Y resolution.
6244
	 *
6245
	 * @return array
6246
	 * @since 3.4.1
6247
	 */
6248
	public function getFontResolution() { }
6249
6250
	/**
6251
	 * Returns the direction that will be used when annotating with text.
6252
	 * @return bool
6253
	 * @since 3.4.1
6254
	 */
6255
	public function getTextDirection() { }
6256
6257
	/**
6258
	 * Sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.
6259
	 *
6260
	 * @param int $direction
6261
	 * @return bool
6262
	 * @since 3.4.1
6263
	 */
6264
	public function setTextDirection($direction) { }
6265
6266
	/**
6267
	 * Returns the border color used for drawing bordered objects.
6268
	 *
6269
	 * @return ImagickPixel
6270
	 * @since 3.4.1
6271
	 */
6272
	public function getBorderColor() { }
6273
6274
	/**
6275
	 * Sets the border color to be used for drawing bordered objects.
6276
	 * @param ImagickPixel $color
6277
	 * @return bool
6278
	 * @since 3.4.1
6279
	 */
6280
	public function setBorderColor(ImagickPixel $color) { }
6281
6282
	/**
6283
	 * Obtains the vertical and horizontal resolution.
6284
	 *
6285
	 * @return string|null
6286
	 * @since 3.4.1
6287
	 */
6288
	public function getDensity() { }
6289
6290
	/**
6291
	 * Sets the vertical and horizontal resolution.
6292
	 * @param string $density_string
6293
	 * @return bool
6294
	 * @since 3.4.1
6295
	 */
6296
	public function setDensity($density_string) { }
6297
}
6298
6299
/**
6300
 * @link https://php.net/manual/en/class.imagickpixeliterator.php
6301
 */
6302
class ImagickPixelIterator implements Iterator {
6303
6304
	/**
6305
	 * (PECL imagick 2.0.0)<br/>
6306
	 * The ImagickPixelIterator constructor
6307
	 * @link https://php.net/manual/en/imagickpixeliterator.construct.php
6308
	 * @param Imagick $wand
6309
	 */
6310
	public function __construct (Imagick $wand) {}
6311
6312
	/**
6313
	 * (PECL imagick 2.0.0)<br/>
6314
	 * Returns a new pixel iterator
6315
	 * @link https://php.net/manual/en/imagickpixeliterator.newpixeliterator.php
6316
	 * @param Imagick $wand
6317
	 * @return bool <b>TRUE</b> on success. Throwing ImagickPixelIteratorException.
6318
	 * @throws ImagickPixelIteratorException
6319
	 */
6320
	public function newPixelIterator (Imagick $wand) {}
6321
6322
	/**
6323
	 * (PECL imagick 2.0.0)<br/>
6324
	 * Returns a new pixel iterator
6325
	 * @link https://php.net/manual/en/imagickpixeliterator.newpixelregioniterator.php
6326
	 * @param Imagick $wand
6327
	 * @param int $x
6328
	 * @param int $y
6329
	 * @param int $columns
6330
	 * @param int $rows
6331
	 * @return bool a new ImagickPixelIterator on success; on failure, throws ImagickPixelIteratorException
6332
	 * @throws ImagickPixelIteratorException
6333
	 */
6334
	public function newPixelRegionIterator (Imagick $wand, $x, $y, $columns, $rows) {}
6335
6336
	/**
6337
	 * (PECL imagick 2.0.0)<br/>
6338
	 * Returns the current pixel iterator row
6339
	 * @link https://php.net/manual/en/imagickpixeliterator.getiteratorrow.php
6340
	 * @return int the integer offset of the row, throwing ImagickPixelIteratorException on error.
6341
	 * @throws ImagickPixelIteratorException on error
6342
	 */
6343
	public function getIteratorRow () {}
6344
6345
	/**
6346
	 * (PECL imagick 2.0.0)<br/>
6347
	 * Set the pixel iterator row
6348
	 * @link https://php.net/manual/en/imagickpixeliterator.setiteratorrow.php
6349
	 * @param int $row
6350
	 * @return bool <b>TRUE</b> on success.
6351
	 */
6352
	public function setIteratorRow ($row) {}
6353
6354
	/**
6355
	 * (PECL imagick 2.0.0)<br/>
6356
	 * Sets the pixel iterator to the first pixel row
6357
	 * @link https://php.net/manual/en/imagickpixeliterator.setiteratorfirstrow.php
6358
	 * @return bool <b>TRUE</b> on success.
6359
	 */
6360
	public function setIteratorFirstRow () {}
6361
6362
	/**
6363
	 * (PECL imagick 2.0.0)<br/>
6364
	 * Sets the pixel iterator to the last pixel row
6365
	 * @link https://php.net/manual/en/imagickpixeliterator.setiteratorlastrow.php
6366
	 * @return bool <b>TRUE</b> on success.
6367
	 */
6368
	public function setIteratorLastRow () {}
6369
6370
	/**
6371
	 * (PECL imagick 2.0.0)<br/>
6372
	 * Returns the previous row
6373
	 * @link https://php.net/manual/en/imagickpixeliterator.getpreviousiteratorrow.php
6374
	 * @return array the previous row as an array of ImagickPixelWand objects from the
6375
	 * ImagickPixelIterator, throwing ImagickPixelIteratorException on error.
6376
	 * @throws ImagickPixelIteratorException on error
6377
	 */
6378
	public function getPreviousIteratorRow () {}
6379
6380
	/**
6381
	 * (PECL imagick 2.0.0)<br/>
6382
	 * Returns the current row of ImagickPixel objects
6383
	 * @link https://php.net/manual/en/imagickpixeliterator.getcurrentiteratorrow.php
6384
	 * @return array a row as an array of ImagickPixel objects that can themselves be iterated.
6385
	 */
6386
	public function getCurrentIteratorRow () {}
6387
6388
	/**
6389
	 * (PECL imagick 2.0.0)<br/>
6390
	 * Returns the next row of the pixel iterator
6391
	 * @link https://php.net/manual/en/imagickpixeliterator.getnextiteratorrow.php
6392
	 * @return array the next row as an array of ImagickPixel objects, throwing
6393
	 * ImagickPixelIteratorException on error.
6394
	 * @throws ImagickPixelIteratorException on error
6395
	 */
6396
	public function getNextIteratorRow () {}
6397
6398
	/**
6399
	 * (PECL imagick 2.0.0)<br/>
6400
	 * Resets the pixel iterator
6401
	 * @link https://php.net/manual/en/imagickpixeliterator.resetiterator.php
6402
	 * @return bool <b>TRUE</b> on success.
6403
	 */
6404
	public function resetIterator () {}
6405
6406
	/**
6407
	 * (PECL imagick 2.0.0)<br/>
6408
	 * Syncs the pixel iterator
6409
	 * @link https://php.net/manual/en/imagickpixeliterator.synciterator.php
6410
	 * @return bool <b>TRUE</b> on success.
6411
	 */
6412
	public function syncIterator () {}
6413
6414
	/**
6415
	 * (PECL imagick 2.0.0)<br/>
6416
	 * Deallocates resources associated with a PixelIterator
6417
	 * @link https://php.net/manual/en/imagickpixeliterator.destroy.php
6418
	 * @return bool <b>TRUE</b> on success.
6419
	 */
6420
	public function destroy () {}
6421
6422
	/**
6423
	 * (PECL imagick 2.0.0)<br/>
6424
	 * Clear resources associated with a PixelIterator
6425
	 * @link https://php.net/manual/en/imagickpixeliterator.clear.php
6426
	 * @return bool <b>TRUE</b> on success.
6427
	 */
6428
	public function clear () {}
6429
6430
	/**
6431
	 * @param Imagick $Imagick
6432
	 */
6433
	public static function getpixeliterator (Imagick $Imagick) {}
6434
6435
	/**
6436
	 * @param Imagick $Imagick
6437
	 * @param $x
6438
	 * @param $y
6439
	 * @param $columns
6440
	 * @param $rows
6441
	 */
6442
	public static function getpixelregioniterator (Imagick $Imagick, $x, $y, $columns, $rows) {}
6443
6444
	public function key () {}
6445
6446
	public function next () {}
6447
6448
	public function rewind () {}
6449
6450
	public function current () {}
6451
6452
	public function valid () {}
6453
6454
}
6455
6456
/**
6457
 * @method clone()
6458
 * @link https://php.net/manual/en/class.imagickpixel.php
6459
 */
6460
class ImagickPixel  {
6461
6462
	/**
6463
	 * (PECL imagick 2.0.0)<br/>
6464
	 * Returns the normalized HSL color of the ImagickPixel object
6465
	 * @link https://php.net/manual/en/imagickpixel.gethsl.php
6466
	 * @return array the HSL value in an array with the keys "hue",
6467
	 * "saturation", and "luminosity". Throws ImagickPixelException on failure.
6468
	 * @throws ImagickPixelException on failure
6469
	 */
6470
	public function getHSL () {}
6471
6472
	/**
6473
	 * (PECL imagick 2.0.0)<br/>
6474
	 * Sets the normalized HSL color
6475
	 * @link https://php.net/manual/en/imagickpixel.sethsl.php
6476
	 * @param float $hue <p>
6477
	 * The normalized value for hue, described as a fractional arc
6478
	 * (between 0 and 1) of the hue circle, where the zero value is
6479
	 * red.
6480
	 * </p>
6481
	 * @param float $saturation <p>
6482
	 * The normalized value for saturation, with 1 as full saturation.
6483
	 * </p>
6484
	 * @param float $luminosity <p>
6485
	 * The normalized value for luminosity, on a scale from black at
6486
	 * 0 to white at 1, with the full HS value at 0.5 luminosity.
6487
	 * </p>
6488
	 * @return bool <b>TRUE</b> on success.
6489
	 */
6490
	public function setHSL ($hue, $saturation, $luminosity) {}
6491
6492
	public function getColorValueQuantum () {}
6493
6494
	/**
6495
	 * @param $color_value
6496
	 */
6497
	public function setColorValueQuantum ($color_value) {}
6498
6499
	public function getIndex () {}
6500
6501
	/**
6502
	 * @param $index
6503
	 */
6504
	public function setIndex ($index) {}
6505
6506
	/**
6507
	 * (PECL imagick 2.0.0)<br/>
6508
	 * The ImagickPixel constructor
6509
	 * @link https://php.net/manual/en/imagickpixel.construct.php
6510
	 * @param string $color [optional] <p>
6511
	 * The optional color string to use as the initial value of this object.
6512
	 * </p>
6513
	 */
6514
	public function __construct ($color = null) {}
6515
6516
	/**
6517
	 * (PECL imagick 2.0.0)<br/>
6518
	 * Sets the color
6519
	 * @link https://php.net/manual/en/imagickpixel.setcolor.php
6520
	 * @param string $color <p>
6521
	 * The color definition to use in order to initialise the
6522
	 * ImagickPixel object.
6523
	 * </p>
6524
	 * @return bool <b>TRUE</b> if the specified color was set, <b>FALSE</b> otherwise.
6525
	 */
6526
	public function setColor ($color) {}
6527
6528
	/**
6529
	 * (PECL imagick 2.0.0)<br/>
6530
	 * Sets the normalized value of one of the channels
6531
	 * @link https://php.net/manual/en/imagickpixel.setcolorvalue.php
6532
	 * @param int $color <p>
6533
	 * One of the Imagick color constants e.g. \Imagick::COLOR_GREEN or \Imagick::COLOR_ALPHA.
6534
	 * </p>
6535
	 * @param float $value <p>
6536
	 * The value to set this channel to, ranging from 0 to 1.
6537
	 * </p>
6538
	 * @return bool <b>TRUE</b> on success.
6539
	 */
6540
	public function setColorValue ($color, $value) {}
6541
6542
	/**
6543
	 * (PECL imagick 2.0.0)<br/>
6544
	 * Gets the normalized value of the provided color channel
6545
	 * @link https://php.net/manual/en/imagickpixel.getcolorvalue.php
6546
	 * @param int $color <p>
6547
	 * The color to get the value of, specified as one of the Imagick color
6548
	 * constants. This can be one of the RGB colors, CMYK colors, alpha and
6549
	 * opacity e.g (Imagick::COLOR_BLUE, Imagick::COLOR_MAGENTA).
6550
	 * </p>
6551
	 * @return float The value of the channel, as a normalized floating-point number, throwing
6552
	 * ImagickPixelException on error.
6553
	 * @throws ImagickPixelException on error
6554
	 */
6555
	public function getColorValue ($color) {}
6556
6557
	/**
6558
	 * (PECL imagick 2.0.0)<br/>
6559
	 * Clears resources associated with this object
6560
	 * @link https://php.net/manual/en/imagickpixel.clear.php
6561
	 * @return bool <b>TRUE</b> on success.
6562
	 */
6563
	public function clear () {}
6564
6565
	/**
6566
	 * (PECL imagick 2.0.0)<br/>
6567
	 * Deallocates resources associated with this object
6568
	 * @link https://php.net/manual/en/imagickpixel.destroy.php
6569
	 * @return bool <b>TRUE</b> on success.
6570
	 */
6571
	public function destroy () {}
6572
6573
	/**
6574
	 * (PECL imagick 2.0.0)<br/>
6575
	 * Check the distance between this color and another
6576
	 * @link https://php.net/manual/en/imagickpixel.issimilar.php
6577
	 * @param ImagickPixel $color <p>
6578
	 * The ImagickPixel object to compare this object against.
6579
	 * </p>
6580
	 * @param float $fuzz <p>
6581
	 * The maximum distance within which to consider these colors as similar.
6582
	 * The theoretical maximum for this value is the square root of three
6583
	 * (1.732).
6584
	 * </p>
6585
	 * @return bool <b>TRUE</b> on success.
6586
	 */
6587
	public function isSimilar (ImagickPixel $color, $fuzz) {}
6588
6589
	/**
6590
	 * (No version information available, might only be in SVN)<br/>
6591
	 * Check the distance between this color and another
6592
	 * @link https://php.net/manual/en/imagickpixel.ispixelsimilar.php
6593
	 * @param ImagickPixel $color <p>
6594
	 * The ImagickPixel object to compare this object against.
6595
	 * </p>
6596
	 * @param float $fuzz <p>
6597
	 * The maximum distance within which to consider these colors as similar.
6598
	 * The theoretical maximum for this value is the square root of three
6599
	 * (1.732).
6600
	 * </p>
6601
	 * @return bool <b>TRUE</b> on success.
6602
	 */
6603
	public function isPixelSimilar (ImagickPixel $color, $fuzz) {}
6604
6605
	/**
6606
	 * (PECL imagick 2.0.0)<br/>
6607
	 * Returns the color
6608
	 * @link https://php.net/manual/en/imagickpixel.getcolor.php
6609
	 * @param bool $normalized [optional] <p>
6610
	 * Normalize the color values
6611
	 * </p>
6612
	 * @return array An array of channel values, each normalized if <b>TRUE</b> is given as param. Throws
6613
	 * ImagickPixelException on error.
6614
	 * @throws ImagickPixelException on error.
6615
	 */
6616
	public function getColor ($normalized = false) {}
6617
6618
	/**
6619
	 * (PECL imagick 2.1.0)<br/>
6620
	 * Returns the color as a string
6621
	 * @link https://php.net/manual/en/imagickpixel.getcolorasstring.php
6622
	 * @return string the color of the ImagickPixel object as a string.
6623
	 */
6624
	public function getColorAsString () {}
6625
6626
	/**
6627
	 * (PECL imagick 2.0.0)<br/>
6628
	 * Returns the color count associated with this color
6629
	 * @link https://php.net/manual/en/imagickpixel.getcolorcount.php
6630
	 * @return int the color count as an integer on success, throws
6631
	 * ImagickPixelException on failure.
6632
	 * @throws ImagickPixelException on failure.
6633
	 */
6634
	public function getColorCount () {}
6635
6636
	/**
6637
	 * @param $colorCount
6638
	 */
6639
	public function setColorCount ($colorCount) {}
6640
6641
6642
	/**
6643
	 * Returns true if the distance between two colors is less than the specified distance. The fuzz value should be in the range 0-QuantumRange.<br>
6644
	 * The maximum value represents the longest possible distance in the colorspace. e.g. from RGB(0, 0, 0) to RGB(255, 255, 255) for the RGB colorspace
6645
	 * @link https://php.net/manual/en/imagickpixel.ispixelsimilarquantum.php
6646
	 * @param string $pixel
6647
	 * @param string $fuzz
6648
	 * @return bool
6649
	 * @since 3.3.0
6650
	 */
6651
	public function isPixelSimilarQuantum($color, $fuzz) { }
6652
6653
	/**
6654
	 * Returns the color of the pixel in an array as Quantum values. If ImageMagick was compiled as HDRI these will be floats, otherwise they will be integers.
6655
	 * @link https://php.net/manual/en/imagickpixel.getcolorquantum.php
6656
	 * @return mixed The quantum value of the color element. Float if ImageMagick was compiled with HDRI, otherwise an int.
6657
	 * @since 3.3.0
6658
	 */
6659
	public function getColorQuantum() { }
6660
6661
	/**
6662
	 * Sets the color count associated with this color from another ImagickPixel object.
6663
	 *
6664
	 * @param ImagickPixel $srcPixel
6665
	 * @return bool
6666
	 * @since 3.4.1
6667
	 */
6668
	public function setColorFromPixel(ImagickPixel $srcPixel) { }
6669
}
6670
// End of imagick v.3.2.0RC1
6671
6672
// Start of Imagick v3.3.0RC1
6673
6674
/**
6675
 * @link https://php.net/manual/en/class.imagickkernel.php
6676
 */
6677
class ImagickKernel {
6678
	/**
6679
	 * Attach another kernel to this kernel to allow them to both be applied in a single morphology or filter function. Returns the new combined kernel.
6680
	 * @link https://php.net/manual/en/imagickkernel.addkernel.php
6681
	 * @param ImagickKernel $imagickKernel
6682
	 * @return void
6683
	 * @since 3.3.0
6684
	 */
6685
	public function addKernel(ImagickKernel $imagickKernel) { }
6686
6687
	/**
6688
	 * Adds a given amount of the 'Unity' Convolution Kernel to the given pre-scaled and normalized Kernel. This in effect adds that amount of the original image into the resulting convolution kernel. The resulting effect is to convert the defined kernels into blended soft-blurs, unsharp kernels or into sharpening kernels.
6689
	 * @link https://php.net/manual/en/imagickkernel.addunitykernel.php
6690
	 * @return void
6691
	 * @since 3.3.0
6692
	 */
6693
	public function addUnityKernel() { }
6694
6695
	/**
6696
	 * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.<br>
6697
	 * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
6698
	 * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
6699
	 * @param string $kernelType The type of kernel to build e.g. \Imagick::KERNEL_DIAMOND
6700
	 * @param string $kernelString A string that describes the parameters e.g. "4,2.5"
6701
	 * @return void
6702
	 * @since 3.3.0
6703
	 */
6704
	public static function fromBuiltin($kernelType, $kernelString) { }
6705
6706
	/**
6707
	 * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.<br>
6708
	 * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
6709
	 * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
6710
	 * @see https://www.imagemagick.org/Usage/morphology/#kernel
6711
	 * @param array $matrix A matrix (i.e. 2d array) of values that define the kernel. Each element should be either a float value, or FALSE if that element shouldn't be used by the kernel.
6712
	 * @param array $origin [optional] Which element of the kernel should be used as the origin pixel. e.g. For a 3x3 matrix specifying the origin as [2, 2] would specify that the bottom right element should be the origin pixel.
6713
	 * @return ImagickKernel
6714
	 * @since 3.3.0
6715
	 */
6716
	public static function fromMatrix($matrix, $origin) { }
6717
6718
	/**
6719
	 * Get the 2d matrix of values used in this kernel. The elements are either float for elements that are used or 'false' if the element should be skipped.
6720
	 * @link https://php.net/manual/en/imagickkernel.getmatrix.php
6721
	 * @return array A matrix (2d array) of the values that represent the kernel.
6722
	 * @since 3.3.0
6723
	 */
6724
	public function getMatrix() { }
6725
6726
	/**
6727
	 * ScaleKernelInfo() scales the given kernel list by the given amount, with or without normalization of the sum of the kernel values (as per given flags).<br>
6728
	 * The exact behaviour of this function depends on the normalization type being used please see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo for details.<br>
6729
	 * Flag should be one of Imagick::NORMALIZE_KERNEL_VALUE, Imagick::NORMALIZE_KERNEL_CORRELATE, Imagick::NORMALIZE_KERNEL_PERCENT or not set.
6730
	 * @link https://php.net/manual/en/imagickkernel.scale.php
6731
	 * @see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo
6732
	 * @return void
6733
	 * @since 3.3.0
6734
	 */
6735
	public function scale() { }
6736
6737
	/**
6738
	 * Separates a linked set of kernels and returns an array of ImagickKernels.
6739
	 * @link https://php.net/manual/en/imagickkernel.separate.php
6740
	 * @return void
6741
	 * @since 3.3.0
6742
	 */
6743
	public function seperate() { }
6744
}
6745