forked from JetBrains/phpstorm-stubs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgmagick.php
3094 lines (2877 loc) · 89.5 KB
/
gmagick.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?php
/**
* @link http://php.net/manual/en/class.gmagick.php
*/
class Gmagick
{
const COLOR_BLACK = 0;
const COLOR_BLUE = 0;
const COLOR_CYAN = 0;
const COLOR_GREEN = 0;
const COLOR_RED = 0;
const COLOR_YELLOW = 0;
const COLOR_MAGENTA = 0;
const COLOR_OPACITY = 0;
const COLOR_ALPHA = 0;
const COLOR_FUZZ = 0;
const GMAGICK_EXTNUM = 0;
const COMPOSITE_DEFAULT = 0;
const COMPOSITE_UNDEFINED = 0;
const COMPOSITE_NO = 0;
const COMPOSITE_ADD = 0;
const COMPOSITE_ATOP = 0;
const COMPOSITE_BUMPMAP = 0;
const COMPOSITE_CLEAR = 0;
const COMPOSITE_COLORIZE = 0;
const COMPOSITE_COPYBLACK = 0;
const COMPOSITE_COPYBLUE = 0;
const COMPOSITE_COPY = 0;
const COMPOSITE_COPYCYAN = 0;
const COMPOSITE_COPYGREEN = 0;
const COMPOSITE_COPYMAGENTA = 0;
const COMPOSITE_COPYOPACITY = 0;
const COMPOSITE_COPYRED = 0;
const COMPOSITE_COPYYELLOW = 0;
const COMPOSITE_DARKEN = 0;
const COMPOSITE_DIFFERENCE = 0;
const COMPOSITE_DISPLACE = 0;
const COMPOSITE_DISSOLVE = 0;
const COMPOSITE_HUE = 0;
const COMPOSITE_IN = 0;
const COMPOSITE_LIGHTEN = 0;
const COMPOSITE_LUMINIZE = 0;
const COMPOSITE_MINUS = 0;
const COMPOSITE_MODULATE = 0;
const COMPOSITE_MULTIPLY = 0;
const COMPOSITE_OUT = 0;
const COMPOSITE_OVER = 0;
const COMPOSITE_OVERLAY = 0;
const COMPOSITE_PLUS = 0;
const COMPOSITE_REPLACE = 0;
const COMPOSITE_SATURATE = 0;
const COMPOSITE_SCREEN = 0;
const COMPOSITE_SUBTRACT = 0;
const COMPOSITE_THRESHOLD = 0;
const COMPOSITE_XOR = 0;
const COMPOSITE_DIVIDE = 0;
const COMPOSITE_HARDLIGHT = 0;
const COMPOSITE_EXCLUSION = 0;
const COMPOSITE_COLORDODGE = 0;
const COMPOSITE_COLORBURN = 0;
const COMPOSITE_SOFTLIGHT = 0;
const COMPOSITE_LINEARBURN = 0;
const COMPOSITE_LINEARDODGE = 0;
const COMPOSITE_LINEARLIGHT = 0;
const COMPOSITE_VIVIDLIGHT = 0;
const COMPOSITE_PINLIGHT = 0;
const COMPOSITE_HARDMIX = 0;
const MONTAGEMODE_FRAME = 0;
const MONTAGEMODE_UNFRAME = 0;
const MONTAGEMODE_CONCATENATE = 0;
const STYLE_NORMAL = 0;
const STYLE_ITALIC = 0;
const STYLE_OBLIQUE = 0;
const STYLE_ANY = 0;
const FILTER_UNDEFINED = 0;
const FILTER_POINT = 0;
const FILTER_BOX = 0;
const FILTER_TRIANGLE = 0;
const FILTER_HERMITE = 0;
const FILTER_HANNING = 0;
const FILTER_HAMMING = 0;
const FILTER_BLACKMAN = 0;
const FILTER_GAUSSIAN = 0;
const FILTER_QUADRATIC = 0;
const FILTER_CUBIC = 0;
const FILTER_CATROM = 0;
const FILTER_MITCHELL = 0;
const FILTER_LANCZOS = 0;
const FILTER_BESSEL = 0;
const FILTER_SINC = 0;
const IMGTYPE_UNDEFINED = 0;
const IMGTYPE_BILEVEL = 0;
const IMGTYPE_GRAYSCALE = 0;
const IMGTYPE_GRAYSCALEMATTE = 0;
const IMGTYPE_PALETTE = 0;
const IMGTYPE_PALETTEMATTE = 0;
const IMGTYPE_TRUECOLOR = 0;
const IMGTYPE_TRUECOLORMATTE = 0;
const IMGTYPE_COLORSEPARATION = 0;
const IMGTYPE_COLORSEPARATIONMATTE = 0;
const IMGTYPE_OPTIMIZE = 0;
const RESOLUTION_UNDEFINED = 0;
const RESOLUTION_PIXELSPERINCH = 0;
const RESOLUTION_PIXELSPERCENTIMETER = 0;
const COMPRESSION_UNDEFINED = 0;
const COMPRESSION_NO = 0;
const COMPRESSION_BZIP = 0;
const COMPRESSION_FAX = 0;
const COMPRESSION_GROUP4 = 0;
const COMPRESSION_JPEG = 0;
const COMPRESSION_LOSSLESSJPEG = 0;
const COMPRESSION_LZW = 0;
const COMPRESSION_RLE = 0;
const COMPRESSION_ZIP = 0;
const COMPRESSION_GROUP3 = 0;
const COMPRESSION_LZMA = 0;
const COMPRESSION_JPEG2000 = 0;
const COMPRESSION_JBIG1 = 0;
const COMPRESSION_JBIG2 = 0;
const INTERLACE_NONE = 0;
const INTERLACE_LINE = 0;
const INTERLACE_PLANE = 0;
const INTERLACE_PARTITION = 0;
const PAINT_POINT = 0;
const PAINT_REPLACE = 0;
const PAINT_FLOODFILL = 0;
const PAINT_FILLTOBORDER = 0;
const PAINT_RESET = 0;
const GRAVITY_NORTHWEST = 0;
const GRAVITY_NORTH = 0;
const GRAVITY_NORTHEAST = 0;
const GRAVITY_WEST = 0;
const GRAVITY_CENTER = 0;
const GRAVITY_EAST = 0;
const GRAVITY_SOUTHWEST = 0;
const GRAVITY_SOUTH = 0;
const GRAVITY_SOUTHEAST = 0;
const STRETCH_NORMAL = 0;
const STRETCH_ULTRACONDENSED = 0;
const STRETCH_CONDENSED = 0;
const STRETCH_SEMICONDENSED = 0;
const STRETCH_SEMIEXPANDED = 0;
const STRETCH_EXPANDED = 0;
const STRETCH_EXTRAEXPANDED = 0;
const STRETCH_ULTRAEXPANDED = 0;
const STRETCH_ANY = 0;
const STRETCH_EXTRACONDENSED = 0;
const ALIGN_UNDEFINED = 0;
const ALIGN_LEFT = 0;
const ALIGN_CENTER = 0;
const ALIGN_RIGHT = 0;
const DECORATION_NO = 0;
const DECORATION_UNDERLINE = 0;
const DECORATION_OVERLINE = 0;
const DECORATION_LINETROUGH = 0;
const NOISE_UNIFORM = 0;
const NOISE_GAUSSIAN = 0;
const NOISE_MULTIPLICATIVEGAUSSIAN = 0;
const NOISE_IMPULSE = 0;
const NOISE_LAPLACIAN = 0;
const NOISE_POISSON = 0;
const NOISE_RANDOM = 0;
const CHANNEL_UNDEFINED = 0;
const CHANNEL_RED = 0;
const CHANNEL_GRAY = 0;
const CHANNEL_CYAN = 0;
const CHANNEL_GREEN = 0;
const CHANNEL_MAGENTA = 0;
const CHANNEL_BLUE = 0;
const CHANNEL_YELLOW = 0;
const CHANNEL_OPACITY = 0;
const CHANNEL_MATTE = 0;
const CHANNEL_BLACK = 0;
const CHANNEL_INDEX = 0;
const CHANNEL_ALL = 0;
const CHANNEL_DEFAULT = 0;
const METRIC_UNDEFINED = 0;
const METRIC_MEANABSOLUTEERROR = 0;
const METRIC_MEANSQUAREERROR = 0;
const METRIC_PEAKABSOLUTEERROR = 0;
const METRIC_PEAKSIGNALTONOISERATIO = 0;
const METRIC_ROOTMEANSQUAREDERROR = 0;
const PIXEL_CHAR = 0;
const PIXEL_DOUBLE = 0;
const PIXEL_FLOAT = 0;
const PIXEL_INTEGER = 0;
const PIXEL_LONG = 0;
const PIXEL_SHORT = 0;
const COLORSPACE_UNDEFINED = 0;
const COLORSPACE_RGB = 0;
const COLORSPACE_GRAY = 0;
const COLORSPACE_TRANSPARENT = 0;
const COLORSPACE_OHTA = 0;
const COLORSPACE_LAB = 0;
const COLORSPACE_XYZ = 0;
const COLORSPACE_YCBCR = 0;
const COLORSPACE_YCC = 0;
const COLORSPACE_YIQ = 0;
const COLORSPACE_YPBPR = 0;
const COLORSPACE_YUV = 0;
const COLORSPACE_CMYK = 0;
const COLORSPACE_SRGB = 0;
const COLORSPACE_HSL = 0;
const COLORSPACE_HWB = 0;
const COLORSPACE_REC601LUMA = 0;
const COLORSPACE_REC709LUMA = 0;
const COLORSPACE_CINEONLOGRGB = 0;
const COLORSPACE_REC601YCBCR = 0;
const COLORSPACE_REC709YCBCR = 0;
const VIRTUALPIXELMETHOD_UNDEFINED = 0;
const VIRTUALPIXELMETHOD_CONSTANT = 0;
const VIRTUALPIXELMETHOD_EDGE = 0;
const VIRTUALPIXELMETHOD_MIRROR = 0;
const VIRTUALPIXELMETHOD_TILE = 0;
const PREVIEW_UNDEFINED = 0;
const PREVIEW_ROTATE = 0;
const PREVIEW_SHEAR = 0;
const PREVIEW_ROLL = 0;
const PREVIEW_HUE = 0;
const PREVIEW_SATURATION = 0;
const PREVIEW_BRIGHTNESS = 0;
const PREVIEW_GAMMA = 0;
const PREVIEW_SPIFF = 0;
const PREVIEW_DULL = 0;
const PREVIEW_GRAYSCALE = 0;
const PREVIEW_QUANTIZE = 0;
const PREVIEW_DESPECKLE = 0;
const PREVIEW_REDUCENOISE = 0;
const PREVIEW_ADDNOISE = 0;
const PREVIEW_SHARPEN = 0;
const PREVIEW_BLUR = 0;
const PREVIEW_THRESHOLD = 0;
const PREVIEW_EDGEDETECT = 0;
const PREVIEW_SPREAD = 0;
const PREVIEW_SOLARIZE = 0;
const PREVIEW_SHADE = 0;
const PREVIEW_RAISE = 0;
const PREVIEW_SEGMENT = 0;
const PREVIEW_SWIRL = 0;
const PREVIEW_IMPLODE = 0;
const PREVIEW_WAVE = 0;
const PREVIEW_OILPAINT = 0;
const PREVIEW_CHARCOALDRAWING = 0;
const PREVIEW_JPEG = 0;
const RENDERINGINTENT_UNDEFINED = 0;
const RENDERINGINTENT_SATURATION = 0;
const RENDERINGINTENT_PERCEPTUAL = 0;
const RENDERINGINTENT_ABSOLUTE = 0;
const RENDERINGINTENT_RELATIVE = 0;
const INTERLACE_UNDEFINED = 0;
const INTERLACE_NO = 0;
const FILLRULE_UNDEFINED = 0;
const FILLRULE_EVENODD = 0;
const FILLRULE_NONZERO = 0;
const PATHUNITS_USERSPACE = 0;
const PATHUNITS_USERSPACEONUSE = 0;
const PATHUNITS_OBJECTBOUNDINGBOX = 0;
const LINECAP_UNDEFINED = 0;
const LINECAP_BUTT = 0;
const LINECAP_ROUND = 0;
const LINECAP_SQUARE = 0;
const LINEJOIN_UNDEFINED = 0;
const LINEJOIN_MITER = 0;
const LINEJOIN_ROUND = 0;
const LINEJOIN_BEVEL = 0;
const RESOURCETYPE_UNDEFINED = 0;
const RESOURCETYPE_AREA = 0;
const RESOURCETYPE_DISK = 0;
const RESOURCETYPE_FILE = 0;
const RESOURCETYPE_MAP = 0;
const RESOURCETYPE_MEMORY = 0;
const RESOURCETYPE_PIXELS = 0;
const RESOURCETYPE_THREADS = 0;
const RESOURCETYPE_WIDTH = 0;
const RESOURCETYPE_HEIGHT = 0;
const DISPOSE_UNDEFINED = 0;
const DISPOSE_NONE = 0;
const DISPOSE_BACKGROUND = 0;
const DISPOSE_PREVIOUS = 0;
const ORIENTATION_UNDEFINED = 0;
const ORIENTATION_TOPLEFT = 0;
const ORIENTATION_TOPRIGHT = 0;
const ORIENTATION_BOTTOMRIGHT = 0;
const ORIENTATION_BOTTOMLEFT = 0;
const ORIENTATION_LEFTTOP = 0;
const ORIENTATION_RIGHTTOP = 0;
const ORIENTATION_RIGHTBOTTOM = 0;
const ORIENTATION_LEFTBOTTOM = 0;
const QUANTUM_DEPTH = 0;
const QUANTUM = 0;
const VERSION_LIB = 0;
const VERSION_NUM = 0;
const VERSION_TXT = '';
/**
* The Gmagick constructor.
*
* @link http://php.net/manual/en/gmagick.construct.php
*
* @param string $filename [optional] The path to an image to load or array of paths.
*/
public function __construct($filename = null)
{
}
/**
* Adds new image to Gmagick object from the current position of the source object.
* After the operation iterator position is moved at the end of the list.
*
* @link http://php.net/manual/en/gmagick.addimage.php
*
* @param Gmagick $Gmagick The source Gmagick object.
*
* @return Gmagick The Gmagick object with image added.
*
* @throws GmagickException On error.
*/
public function addimage($Gmagick)
{
}
/**
* Adds random noise to the image.
*
* @link http://php.net/manual/en/gmagick.addnoiseimage.php
*
* @param int $NOISE The type of the noise. One of the Gmagick::NOISE_* constants.
*
* @return Gmagick The Gmagick object with noise added.
*
* @throws GmagickException On error.
*/
public function addnoiseimage($NOISE)
{
}
/**
* Annotates an image with text.
*
* @link http://php.net/manual/en/gmagick.annotateimage.php
*
* @param GmagickDraw $GmagickDraw The GmagickDraw object that contains settings for drawing the text.
* @param float $x Horizontal offset in pixels to the left of text.
* @param float $y Vertical offset in pixels to the baseline of text.
* @param float $angle The angle at which to write the text.
* @param string $text The string to draw.
*
* @return Gmagick The Gmagick object with annotation made.
*
* @throws GmagickException On error.
*/
public function annotateimage($GmagickDraw, $x, $y, $angle, $text)
{
}
/**
* Adds blur filter to image.
*
* @link http://php.net/manual/en/gmagick.blurimage.php
*
* @param float $radius Blur radius.
* @param float $sigma Standard deviation
* @param int $channel [optional]
*
* @return Gmagick The blurred Gmagick object.
*
* @throws GmagickException On error.
*/
public function blurimage($radius, $sigma, $channel = null)
{
}
/**
* Surrounds the image with a border of the color defined by the bordercolor GmagickPixel object or a color string.
*
* @link http://php.net/manual/en/gmagick.borderimage.php
*
* @param GmagickPixel $color GmagickPixel object or a string containing the border color.
* @param int $width Border width.
* @param int $height Border height.
*
* @return Gmagick The Gmagick object with border defined.
*
* @throws GmagickException On error.
*/
public function borderimage($color, $width, $height)
{
}
/**
* Simulates a charcoal drawing.
*
* @link http://php.net/manual/en/gmagick.charcoalimage.php
*
* @param float $radius The radius of the Gaussian, in pixels, not counting the center pixel.
* @param float $sigma The standard deviation of the Gaussian, in pixels.
*
* @return Gmagick The Gmagick object with charcoal simulation.
*
* @throws GmagickException On error.
*/
public function charcoalimage($radius, $sigma)
{
}
/**
* Removes a region of an image and collapses the image to occupy the removed portion.
*
* @link http://php.net/manual/en/gmagick.chopimage.php
*
* @param int $width Width of the chopped area.
* @param int $height Height of the chopped area.
* @param int $x X origo of the chopped area.
* @param int $y Y origo of the chopped area.
*
* @return Gmagick The chopped Gmagick object.
*
* @throws GmagickException On error.
*/
public function chopimage($width, $height, $x, $y)
{
}
/**
* Clears all resources associated to Gmagick object.
*
* @link http://php.net/manual/en/gmagick.clear.php
*
* @return Gmagick The cleared Gmagick object.
*
* @throws GmagickException On error.
*/
public function clear()
{
}
/**
* Adds a comment to your image.
*
* @link http://php.net/manual/en/gmagick.commentimage.php
*
* @param string $comment The comment to add.
*
* @return Gmagick The Gmagick object with comment added.
*
* @throws GmagickException On error.
*/
public function commentimage($comment)
{
}
/**
* Composite one image onto another at the specified offset.
*
* @link http://php.net/manual/en/gmagick.compositeimage.php
*
* @param Gmagick $source Gmagick object which holds the composite image.
* @param int $COMPOSE Composite operator.
* @param int $x The column offset of the composited image.
* @param int $y The row offset of the composited image.
*
* @return Gmagick The Gmagick object with compositions.
*
* @throws GmagickException On error.
*/
public function compositeimage($source, $COMPOSE, $x, $y)
{
}
/**
* Extracts a region of the image.
*
* @link http://php.net/manual/en/gmagick.cropimage.php
*
* @param int $width The width of the crop.
* @param int $height The height of the crop.
* @param int $x The X coordinate of the cropped region's top left corner.
* @param int $y The Y coordinate of the cropped region's top left corner.
*
* @return Gmagick The cropped Gmagick object.
*
* @throws GmagickException On error.
*/
public function cropimage($width, $height, $x, $y)
{
}
/**
* Creates a fixed size thumbnail by first scaling the image down and cropping a specified area from the center.
*
* @link http://php.net/manual/en/gmagick.cropthumbnailimage.php
*
* @param int $width The width of the thumbnail.
* @param int $height The Height of the thumbnail.
*
* @return Gmagick The cropped Gmagick object.
*
* @throws GmagickException On error.
*/
public function cropthumbnailimage($width, $height)
{
}
/**
* Returns reference to the current gmagick object with image pointer at the correct sequence.
*
* @link http://php.net/manual/en/gmagick.current.php
*
* @return Gmagick Returns self on success.
*
* @throws GmagickException On error.
*/
public function current()
{
}
/**
* Displaces an image's colormap by a given number of positions.
* If you cycle the colormap a number of times you can produce a psychedelic effect.
*
* @link http://php.net/manual/en/gmagick.cyclecolormapimage.php
*
* @param int $displace The amount to displace the colormap.
*
* @return Gmagick Returns self on success.
*
* @throws GmagickException On error.
*/
public function cyclecolormapimage($displace)
{
}
/**
* Compares each image with the next in a sequence.
* Returns the maximum bounding region of any pixel differences it discovers.
*
* @link http://php.net/manual/en/gmagick.deconstructimages.php
*
* @return Gmagick Returns a new Gmagick object on success.
*
* @throws GmagickException On error.
*/
public function deconstructimages()
{
}
/**
* Reduces the speckle noise in an image while preserving the edges of the original image.
*
* @link http://php.net/manual/en/gmagick.despeckleimage.php
*
* @return Gmagick The despeckled Gmagick object on success.
*
* @throws GmagickException On error.
*/
public function despeckleimage()
{
}
/**
* Destroys the Gmagick object and frees all resources associated with it.
*
* @link http://php.net/manual/en/gmagick.destroy.php
*
* @return bool Returns TRUE on success.
*
* @throws GmagickException On error.
*/
public function destroy()
{
}
/**
* Renders the GmagickDraw object on the current image.
*
* @link http://php.net/manual/en/gmagick.drawimage.php
*
* @param GmagickDraw $GmagickDraw The drawing operations to render on the image.
*
* @return Gmagick The drawn Gmagick object.
*
* @throws GmagickException On error.
*/
public function drawimage($GmagickDraw)
{
}
/**
* Enhance edges within the image with a convolution filter of the given radius.
* Use radius 0 and it will be auto-selected.
*
* @link http://php.net/manual/en/gmagick.edgeimage.php
*
* @param float $radius The radius of the operation.
*
* @return Gmagick The Gmagick object with edges enhanced.
*
* @throws GmagickException On error.
*/
public function edgeimage($radius)
{
}
/**
* Returns a grayscale image with a three-dimensional effect.
* We convolve the image with a Gaussian operator of the given radius and standard deviation (sigma).
* For reasonable results, radius should be larger than sigma.
* Use a radius of 0 and it will choose a suitable radius for you.
*
* @link http://php.net/manual/en/gmagick.embossimage.php
*
* @param float $radius The radius of the effect.
* @param float $sigma The sigma of the effect.
*
* @return Gmagick The embossed Gmagick object.
*
* @throws GmagickException On error.
*/
public function embossimage($radius, $sigma)
{
}
/**
* Applies a digital filter that improves the quality of a noisy image.
*
* @link http://php.net/manual/en/gmagick.enhanceimage.php
*
* @return Gmagick The enhanced Gmagick object.
*
* @throws GmagickException On error.
*/
public function enhanceimage()
{
}
/**
* Equalizes the image histogram.
*
* @link http://php.net/manual/en/gmagick.equalizeimage.php
*
* @return Gmagick The equalized Gmagick object.
*
* @throws GmagickException On error.
*/
public function equalizeimage()
{
}
/**
* Creates a vertical mirror image by reflecting the pixels around the central x-axis.
*
* @link http://php.net/manual/en/gmagick.flipimage.php
*
* @return Gmagick The flipped Gmagick object.
*
* @throws GmagickException On error.
*/
public function flipimage()
{
}
/**
* Creates a horizontal mirror image by reflecting the pixels around the central y-axis.
*
* @link http://php.net/manual/en/gmagick.flopimage.php
*
* @return Gmagick The flopped Gmagick object.
*
* @throws GmagickException On error.
*/
public function flopimage()
{
}
/**
* Adds a simulated three-dimensional border around the image.
* The width and height specify the border width of the vertical and horizontal sides of the frame.
* The inner and outer bevels indicate the width of the inner and outer shadows of the frame.
*
* @link http://php.net/manual/en/gmagick.frameimage.php
*
* @param GmagickPixel $color GmagickPixel object or a float representing the matte color.
* @param int $width The width of the border.
* @param int $height The height of the border.
* @param int $inner_bevel The inner bevel width.
* @param int $outer_bevel The outer bevel width.
*
* @return Gmagick The framed Gmagick object.
*
* @throws GmagickException On error.
*/
public function frameimage($color, $width, $height, $inner_bevel, $outer_bevel)
{
}
/**
* Gamma-corrects an image.
* The same image viewed on different devices will have perceptual differences in the way the image's intensities
* are represented on the screen. Specify individual gamma levels for the red, green, and blue channels,
* or adjust all three with the gamma parameter. Values typically range from 0.8 to 2.3.
*
* @link http://php.net/manual/en/gmagick.gammaimage.php
*
* @param float $gamma The amount of gamma-correction.
*
* @return Gmagick The gamma corrected Gmagick object.
*
* @throws GmagickException On error.
*/
public function gammaimage($gamma)
{
}
/**
* Returns the GraphicsMagick API copyright as a string.
*
* @link http://php.net/manual/en/gmagick.getcopyright.php
*
* @return string Returns a string containing the copyright notice of GraphicsMagick and Magickwand C API.
*
* @throws GmagickException On error.
*/
public function getcopyright()
{
}
/**
* Returns the filename associated with an image sequence.
*
* @link http://php.net/manual/en/gmagick.getfilename.php
*
* @return string Returns a string on success.
*
* @throws GmagickException On error.
*/
public function getfilename()
{
}
/**
* Returns the image background color.
*
* @link http://php.net/manual/en/gmagick.getimagebackgroundcolor.php
*
* @return GmagickPixel Returns a GmagickPixel set to the background color of the image.
*
* @throws GmagickException On error.
*/
public function getimagebackgroundcolor()
{
}
/**
* Returns the chromaticity blue primary point for the image.
*
* @link http://php.net/manual/en/gmagick.getimageblueprimary.php
*
* @return array Array consisting of "x" and "y" coordinates of point.
*
* @throws GmagickException On error.
*/
public function getimageblueprimary()
{
}
/**
* Returns the image border color.
*
* @link http://php.net/manual/en/gmagick.getimagebordercolor.php
*
* @return GmagickPixel GmagickPixel object representing the color of the border.
*
* @throws GmagickException On error.
*/
public function getimagebordercolor()
{
}
/**
* Gets the depth for a particular image channel.
*
* @link http://php.net/manual/en/gmagick.getimagechanneldepth.php
*
* @param int $channel_type
*
* @return int Depth of image channel.
*
* @throws GmagickException On error.
*/
public function getimagechanneldepth($channel_type)
{
}
/**
* Returns the color of the specified colormap index.
*
* @link http://php.net/manual/en/gmagick.getimagecolors.php
*
* @return int The number of colors in image.
*
* @throws GmagickException On error
*/
public function getimagecolors()
{
}
/**
* Gets the image colorspace.
*
* @link http://php.net/manual/en/gmagick.getimagecolorspace.php
*
* @return int Colorspace
*
* @throws GmagickException On error.
*/
public function getimagecolorspace()
{
}
/**
* Returns the composite operator associated with the image.
*
* @link http://php.net/manual/en/gmagick.getimagecompose.php
*
* @return int Returns the composite operator associated with the image.
*
* @throws GmagickException On error.
*/
public function getimagecompose()
{
}
/**
* Gets the image delay.
*
* @link http://php.net/manual/en/gmagick.getimagedelay.php
*
* @return int Returns the composite operator associated with the image.
*
* @throws GmagickException On error.
*/
public function getimagedelay()
{
}
/**
* Gets the depth of the image.
*
* @link http://php.net/manual/en/gmagick.getimagedepth.php
*
* @return int Image depth.
*
* @throws GmagickException On error.
*/
public function getimagedepth()
{
}
/**
* Gets the image disposal method.
*
* @link http://php.net/manual/en/gmagick.getimagedispose.php
*
* @return int Returns the dispose method on success.
*
* @throws GmagickException On error.
*/
public function getimagedispose()
{
}
/**
* Gets the extrema for the image.
*
* @link http://php.net/manual/en/gmagick.getimageextrema.php
*
* @return array Returns an associative array with the keys "min" and "max".
*
* @throws GmagickException On error.
*/
public function getimageextrema()
{
}
/**
* Returns the filename of a particular image in a sequence.
*
* @link http://php.net/manual/en/gmagick.getimagefilename.php
*
* @return string Returns a string with the filename of the image
*
* @throws GmagickException On error.
*/
public function getimagefilename()
{
}
/**
* Returns the format of a particular image in a sequence.
*
* @link http://php.net/manual/en/gmagick.getimageformat.php
*
* @return string Returns a string containing the image format on success.
*
* @throws GmagickException On error.
*/
public function getimageformat()
{
}
/**
* Gets the image gamma.
*
* @link http://php.net/manual/en/gmagick.getimagegamma.php
*
* @return float Returns the image gamma on success.
*
* @throws GmagickException On error.
*/
public function getimagegamma()
{
}
/**
* Returns the chromaticy green primary point.
*
* @link http://php.net/manual/en/gmagick.getimagegreenprimary.php
*
* @return array Returns an array with the keys "x" and "y" on success.
*
* @throws GmagickException On error.
*/
public function getimagegreenprimary()
{
}
/**
* Returns the image height.
*
* @link http://php.net/manual/en/gmagick.getimageheight.php
*
* @return int Returns the image height in pixels.
*
* @throws GmagickException On error.
*/
public function getimageheight()
{
}
/**
* Gets the image histogram.
*
* @link http://php.net/manual/en/gmagick.getimagehistogram.php
*
* @return array Returns the image histogram as an array of GmagickPixel objects.
*
* @throws GmagickException On error.
*/
public function getimagehistogram()
{
}
/**
* Returns the index of the current active image within the Gmagick object.
*
* @link http://php.net/manual/en/gmagick.getimageindex.php
*