From c3fbc2901f5678af159bafa6af5bbb9265b2cfaf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 25 Aug 2017 14:36:53 +0200 Subject: switch --- REFLECTION | 1207 +++++++++++++++---- REFLECTION-PHP7 | 2752 -------------------------------------------- php-pecl-gmagick-php7.spec | 393 ------- php-pecl-gmagick.spec | 87 +- 4 files changed, 1068 insertions(+), 3371 deletions(-) delete mode 100644 REFLECTION-PHP7 delete mode 100644 php-pecl-gmagick-php7.spec diff --git a/REFLECTION b/REFLECTION index 46bead1..d0537e4 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,7 +1,7 @@ -Extension [ extension #25 gmagick version 1.1.7RC3 ] { +Extension [ extension #62 gmagick version 2.0.4RC1 ] { - Classes [5] { - Class [ class GmagickException extends Exception ] { + Class [ final class GmagickException extends Exception implements Throwable ] { - Constants [0] { } @@ -19,7 +19,7 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { Property [ protected $line ] } - - Methods [9] { + - Methods [10] { Method [ public method __construct ] { - Parameters [3] { @@ -29,33 +29,36 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { } } - Method [ final public method getMessage ] { + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { } - Method [ final public method getCode ] { + Method [ final public method getCode ] { } - Method [ final public method getFile ] { + Method [ final public method getFile ] { } - Method [ final public method getLine ] { + Method [ final public method getLine ] { } - Method [ final public method getTrace ] { + Method [ final public method getTrace ] { } - Method [ final public method getPrevious ] { + Method [ final public method getPrevious ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getTraceAsString ] { } - Method [ public method __toString ] { + Method [ public method __toString ] { } } } - Class [ class GmagickPixelException extends Exception ] { + Class [ final class GmagickPixelException extends Exception implements Throwable ] { - Constants [0] { } @@ -73,7 +76,7 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { Property [ protected $line ] } - - Methods [9] { + - Methods [10] { Method [ public method __construct ] { - Parameters [3] { @@ -83,35 +86,38 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { } } - Method [ final public method getMessage ] { + Method [ public method __wakeup ] { } - Method [ final public method getCode ] { + Method [ final public method getMessage ] { } - Method [ final public method getFile ] { + Method [ final public method getCode ] { } - Method [ final public method getLine ] { + Method [ final public method getFile ] { } - Method [ final public method getTrace ] { + Method [ final public method getLine ] { } - Method [ final public method getPrevious ] { + Method [ final public method getTrace ] { } - Method [ final public method getTraceAsString ] { + Method [ final public method getPrevious ] { } - Method [ public method __toString ] { + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { } } } Class [ class Gmagick ] { - - Constants [247] { + - Constants [249] { Constant [ integer COLOR_BLACK ] { 11 } Constant [ integer COLOR_BLUE ] { 12 } Constant [ integer COLOR_CYAN ] { 13 } @@ -208,6 +214,12 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { Constant [ integer COMPRESSION_LZW ] { 7 } Constant [ integer COMPRESSION_RLE ] { 8 } Constant [ integer COMPRESSION_ZIP ] { 9 } + Constant [ integer INTERLACE_UNDEFINED ] { 0 } + Constant [ integer INTERLACE_NO ] { 1 } + Constant [ integer INTERLACE_NONE ] { 1 } + Constant [ integer INTERLACE_LINE ] { 2 } + Constant [ integer INTERLACE_PLANE ] { 3 } + Constant [ integer INTERLACE_PARTITION ] { 4 } Constant [ integer PAINT_POINT ] { 0 } Constant [ integer PAINT_REPLACE ] { 1 } Constant [ integer PAINT_FLOODFILL ] { 2 } @@ -326,11 +338,6 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { Constant [ integer RENDERINGINTENT_PERCEPTUAL ] { 2 } Constant [ integer RENDERINGINTENT_ABSOLUTE ] { 3 } Constant [ integer RENDERINGINTENT_RELATIVE ] { 4 } - Constant [ integer INTERLACE_UNDEFINED ] { 0 } - Constant [ integer INTERLACE_NO ] { 1 } - Constant [ integer INTERLACE_LINE ] { 2 } - Constant [ integer INTERLACE_PLANE ] { 3 } - Constant [ integer INTERLACE_PARTITION ] { 4 } Constant [ integer FILLRULE_UNDEFINED ] { 0 } Constant [ integer FILLRULE_EVENODD ] { 1 } Constant [ integer FILLRULE_NONZERO ] { 2 } @@ -356,9 +363,10 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { Constant [ integer DISPOSE_BACKGROUND ] { 2 } Constant [ integer DISPOSE_PREVIOUS ] { 3 } Constant [ integer QUANTUM_DEPTH ] { 16 } - Constant [ string VERSION_TXT ] { 1.3.20 } - Constant [ integer VERSION_LIB ] { 1380864 } - Constant [ integer VERSION_NUM ] { 1003020 } + Constant [ integer QUANTUM ] { 131071 } + Constant [ string VERSION_TXT ] { 1.3.24 } + Constant [ integer VERSION_LIB ] { 1578240 } + Constant [ integer VERSION_NUM ] { 1003024 } } - Static properties [0] { @@ -370,7 +378,7 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { - Properties [0] { } - - Methods [163] { + - Methods [209] { Method [ public method __construct ] { - Parameters [1] { @@ -547,9 +555,11 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { Method [ public method cropthumbnailimage ] { - - Parameters [2] { + - Parameters [4] { Parameter #0 [ $width ] Parameter #1 [ $height ] + Parameter #2 [ $fit ] + Parameter #3 [ $legacy ] } } @@ -1025,6 +1035,14 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { } } + Method [ public method setresolution ] { + + - Parameters [2] { + Parameter #0 [ $xResolution ] + Parameter #1 [ $yResolution ] + } + } + Method [ public method setimagescene ] { - Parameters [1] { @@ -1525,377 +1543,349 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { Parameter #0 [ $filename ] } } - } - } - - Class [ class GmagickDraw ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [49] { - Method [ public method setstrokecolor ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - Method [ public method setstrokewidth ] { + Method [ public method adaptivethresholdimage ] { - - Parameters [1] { + - Parameters [3] { Parameter #0 [ $width ] + Parameter #1 [ $height ] + Parameter #2 [ $offset ] } } - Method [ public method setfillcolor ] { + Method [ public method affinetransformimage ] { - Parameters [1] { - Parameter #0 [ $color ] + Parameter #0 [ GmagickDraw $GmagickDraw ] } } - Method [ public method setgravity ] { + Method [ public method averageimages ] { - - Parameters [1] { - Parameter #0 [ $gravity ] + - Parameters [0] { } } - Method [ public method ellipse ] { + Method [ public method blackthresholdimage ] { - - Parameters [6] { - Parameter #0 [ $ox ] - Parameter #1 [ $oy ] - Parameter #2 [ $px ] - Parameter #3 [ $py ] - Parameter #4 [ $start ] - Parameter #5 [ $end ] + - Parameters [1] { + Parameter #0 [ $color ] } } - Method [ public method affine ] { + Method [ public method colordecisionlist ] { - Parameters [1] { - Parameter #0 [ $affineMatrix ] + Parameter #0 [ $antialias ] } } - Method [ public method annotate ] { + Method [ public method clipimage ] { - - Parameters [3] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - Parameter #2 [ $text ] + - Parameters [0] { } } - Method [ public method arc ] { + Method [ public method clippathimage ] { - - Parameters [6] { - Parameter #0 [ $sx ] - Parameter #1 [ $sy ] - Parameter #2 [ $ex ] - Parameter #3 [ $ey ] - Parameter #4 [ $sd ] - Parameter #5 [ $ed ] + - Parameters [2] { + Parameter #0 [ $pathname ] + Parameter #1 [ $inside ] } } - Method [ public method bezier ] { + Method [ public method colorfloodfillimage ] { - - Parameters [1] { - Parameter #0 [ $coordinate_array ] + - Parameters [5] { + Parameter #0 [ $fill_color ] + Parameter #1 [ $fuzz ] + Parameter #2 [ $border_color ] + Parameter #3 [ $y ] + Parameter #4 [ $x ] } } - Method [ public method getfillcolor ] { + Method [ public method colorizeimage ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ $colorize_color ] + Parameter #1 [ $opacity ] } } - Method [ public method getgravity ] { + Method [ public method compareimagechannels ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ Gmagick $Gmagick ] + Parameter #1 [ $channel ] + Parameter #2 [ $metric ] } } - Method [ public method getfillopacity ] { + Method [ public method compareimages ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ Gmagick $Gmagick ] + Parameter #1 [ $metric ] } } - Method [ public method getfont ] { + Method [ public method contrastimage ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $sharpen ] } } - Method [ public method getfontsize ] { + Method [ public method convolveimage ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $kernel ] } } - Method [ public method getfontstyle ] { + Method [ public method extentimage ] { - - Parameters [0] { + - Parameters [4] { + Parameter #0 [ $width ] + Parameter #1 [ $height ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] } } - Method [ public method getfontweight ] { + Method [ public method getimageattribute ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $key ] } } - Method [ public method getstrokeopacity ] { + Method [ public method getimagechannelextrema ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $channel ] } } - Method [ public method getstrokecolor ] { + Method [ public method getimagechannelmean ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $channel ] } } - Method [ public method getstrokewidth ] { + Method [ public method getimagecolormapcolor ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $index ] } } - Method [ public method gettextdecoration ] { + Method [ public method getimagegravity ] { - Parameters [0] { } } - Method [ public method gettextencoding ] { + Method [ public method getimagevirtualpixelmethod ] { - Parameters [0] { } } - Method [ public method line ] { - - - Parameters [4] { - Parameter #0 [ $sx ] - Parameter #1 [ $sy ] - Parameter #2 [ $ex ] - Parameter #3 [ $ey ] - } - } - - Method [ public method point ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method polygon ] { + Method [ public method haldclutimage ] { - Parameters [1] { - Parameter #0 [ $coordinates ] + Parameter #0 [ Gmagick $Gmagick ] } } - Method [ public method polyline ] { + Method [ public method mattefloodfillimage ] { - - Parameters [1] { - Parameter #0 [ $coordinate_array ] + - Parameters [5] { + Parameter #0 [ $alpha ] + Parameter #1 [ $fuzz ] + Parameter #2 [ $color ] + Parameter #3 [ $x ] + Parameter #4 [ $y ] } } - Method [ public method rectangle ] { + Method [ public method montageimage ] { - - Parameters [4] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x2 ] - Parameter #3 [ $y2 ] + - Parameters [5] { + Parameter #0 [ GmagickDraw $GmagickDraw ] + Parameter #1 [ $tile_geometry ] + Parameter #2 [ $thumbnail_geometry ] + Parameter #3 [ $montageMode ] + Parameter #4 [ $frame ] } } - Method [ public method rotate ] { + Method [ public method morphimages ] { - Parameters [1] { - Parameter #0 [ $degrees ] + Parameter #0 [ $frames ] } } - Method [ public method roundrectangle ] { + Method [ public method mosaicimages ] { - - Parameters [6] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x2 ] - Parameter #3 [ $y2 ] - Parameter #4 [ $rx ] - Parameter #5 [ $ry ] + - Parameters [0] { } } - Method [ public method scale ] { + Method [ public method setimageattribute ] { - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] + Parameter #0 [ $key ] + Parameter #1 [ $value ] } } - Method [ public method setfillopacity ] { + Method [ public method setimagecolormapcolor ] { - - Parameters [1] { - Parameter #0 [ $fill_opacity ] + - Parameters [2] { + Parameter #0 [ $index ] + Parameter #1 [ $color ] } } - Method [ public method setfont ] { + Method [ public method setimagegravity ] { - Parameters [1] { - Parameter #0 [ $font ] + Parameter #0 [ $gravity ] } } - Method [ public method setfontsize ] { + Method [ public method setimagemattecolor ] { - Parameters [1] { - Parameter #0 [ $pointsize ] + Parameter #0 [ $color ] } } - Method [ public method setfontstyle ] { + Method [ public method setimagevirtualpixelmethod ] { - Parameters [1] { - Parameter #0 [ $STYLE ] + Parameter #0 [ $virtual_pixel_method ] } } - Method [ public method setfontweight ] { + Method [ public method shaveimage ] { - - Parameters [1] { - Parameter #0 [ $weight ] + - Parameters [2] { + Parameter #0 [ $columns ] + Parameter #1 [ $rows ] } } - Method [ public method setstrokeopacity ] { + Method [ public method steganoimage ] { - - Parameters [1] { - Parameter #0 [ $stroke_opacity ] + - Parameters [2] { + Parameter #0 [ Gmagick $Gmagick ] + Parameter #1 [ $offset ] } } - Method [ public method settextdecoration ] { + Method [ public method stereoimage ] { - Parameters [1] { - Parameter #0 [ $DECORATION ] + Parameter #0 [ Gmagick $Gmagick ] } } - Method [ public method settextencoding ] { + Method [ public method waveimage ] { - - Parameters [1] { - Parameter #0 [ $encoding ] + - Parameters [2] { + Parameter #0 [ $amplitude ] + Parameter #1 [ $waveLength ] } } - Method [ public method setstrokeantialias ] { + Method [ public method whitethresholdimage ] { - Parameters [1] { - Parameter #0 [ $antialias ] + Parameter #0 [ $color ] } } - Method [ public method setstrokedashoffset ] { + Method [ public method getimageboundingbox ] { - Parameters [1] { - Parameter #0 [ $offset ] + Parameter #0 [ $fuzz ] } } - Method [ public method setstrokelinecap ] { + Method [ public method getimagefuzz ] { - - Parameters [1] { - Parameter #0 [ $LINECAP ] + - Parameters [0] { } } - Method [ public method setstrokelinejoin ] { + Method [ public method getimagesavedtype ] { - - Parameters [1] { - Parameter #0 [ $LINEJOIN ] + - Parameters [0] { } } - Method [ public method setstrokemiterlimit ] { + Method [ public method setdepth ] { - Parameters [1] { - Parameter #0 [ $miterLimit ] - } - } - - Method [ public method getstrokeantialias ] { - - - Parameters [0] { + Parameter #0 [ $depth ] } } - Method [ public method getstrokedashoffset ] { + Method [ public method setformat ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $format ] } } - Method [ public method getstrokelinecap ] { + Method [ public method setimagefuzz ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $fuzz ] } } - Method [ public method getstrokelinejoin ] { + Method [ public method setimageoption ] { - - Parameters [0] { + - Parameters [3] { + Parameter #0 [ $format ] + Parameter #1 [ $key ] + Parameter #2 [ $value ] } } - Method [ public method getstrokemiterlimit ] { + Method [ public method setimagesavedtype ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $type ] } } - Method [ public method getstrokedasharray ] { + Method [ public method setresolutionunits ] { - - Parameters [0] { + - Parameters [2] { + Parameter #0 [ $x_resolution ] + Parameter #1 [ $y_resolution ] } } - Method [ public method setstrokedasharray ] { + Method [ public method writeimagefile ] { - - Parameters [1] { - Parameter #0 [ $dashArray ] + - Parameters [2] { + Parameter #0 [ $handle ] + Parameter #1 [ $format ] } } } } - Class [ class GmagickPixel ] { + Class [ class GmagickDraw ] { - Constants [0] { } @@ -1909,8 +1899,789 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { - Properties [0] { } - - Methods [6] { - Method [ public method __construct ] { + - Methods [103] { + Method [ public method setstrokecolor ] { + + - Parameters [1] { + Parameter #0 [ $color ] + } + } + + Method [ public method setstrokewidth ] { + + - Parameters [1] { + Parameter #0 [ $width ] + } + } + + Method [ public method setfillcolor ] { + + - Parameters [1] { + Parameter #0 [ $color ] + } + } + + Method [ public method setgravity ] { + + - Parameters [1] { + Parameter #0 [ $gravity ] + } + } + + Method [ public method ellipse ] { + + - Parameters [6] { + Parameter #0 [ $ox ] + Parameter #1 [ $oy ] + Parameter #2 [ $px ] + Parameter #3 [ $py ] + Parameter #4 [ $start ] + Parameter #5 [ $end ] + } + } + + Method [ public method affine ] { + + - Parameters [1] { + Parameter #0 [ $affineMatrix ] + } + } + + Method [ public method annotate ] { + + - Parameters [3] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + Parameter #2 [ $text ] + } + } + + Method [ public method arc ] { + + - Parameters [6] { + Parameter #0 [ $sx ] + Parameter #1 [ $sy ] + Parameter #2 [ $ex ] + Parameter #3 [ $ey ] + Parameter #4 [ $sd ] + Parameter #5 [ $ed ] + } + } + + Method [ public method bezier ] { + + - Parameters [1] { + Parameter #0 [ $coordinate_array ] + } + } + + Method [ public method getfillcolor ] { + + - Parameters [0] { + } + } + + Method [ public method getgravity ] { + + - Parameters [0] { + } + } + + Method [ public method getfillopacity ] { + + - Parameters [0] { + } + } + + Method [ public method getfont ] { + + - Parameters [0] { + } + } + + Method [ public method getfontsize ] { + + - Parameters [0] { + } + } + + Method [ public method getfontstyle ] { + + - Parameters [0] { + } + } + + Method [ public method getfontweight ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokeopacity ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokecolor ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokewidth ] { + + - Parameters [0] { + } + } + + Method [ public method gettextdecoration ] { + + - Parameters [0] { + } + } + + Method [ public method gettextencoding ] { + + - Parameters [0] { + } + } + + Method [ public method line ] { + + - Parameters [4] { + Parameter #0 [ $sx ] + Parameter #1 [ $sy ] + Parameter #2 [ $ex ] + Parameter #3 [ $ey ] + } + } + + Method [ public method point ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method polygon ] { + + - Parameters [1] { + Parameter #0 [ $coordinates ] + } + } + + Method [ public method polyline ] { + + - Parameters [1] { + Parameter #0 [ $coordinate_array ] + } + } + + Method [ public method rectangle ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x2 ] + Parameter #3 [ $y2 ] + } + } + + Method [ public method rotate ] { + + - Parameters [1] { + Parameter #0 [ $degrees ] + } + } + + Method [ public method roundrectangle ] { + + - Parameters [6] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x2 ] + Parameter #3 [ $y2 ] + Parameter #4 [ $rx ] + Parameter #5 [ $ry ] + } + } + + Method [ public method scale ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method setfillopacity ] { + + - Parameters [1] { + Parameter #0 [ $fill_opacity ] + } + } + + Method [ public method setfont ] { + + - Parameters [1] { + Parameter #0 [ $font ] + } + } + + Method [ public method setfontsize ] { + + - Parameters [1] { + Parameter #0 [ $pointsize ] + } + } + + Method [ public method setfontstyle ] { + + - Parameters [1] { + Parameter #0 [ $STYLE ] + } + } + + Method [ public method setfontweight ] { + + - Parameters [1] { + Parameter #0 [ $weight ] + } + } + + Method [ public method setstrokeopacity ] { + + - Parameters [1] { + Parameter #0 [ $stroke_opacity ] + } + } + + Method [ public method settextdecoration ] { + + - Parameters [1] { + Parameter #0 [ $DECORATION ] + } + } + + Method [ public method settextencoding ] { + + - Parameters [1] { + Parameter #0 [ $encoding ] + } + } + + Method [ public method setstrokeantialias ] { + + - Parameters [1] { + Parameter #0 [ $antialias ] + } + } + + Method [ public method setstrokedashoffset ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method setstrokelinecap ] { + + - Parameters [1] { + Parameter #0 [ $LINECAP ] + } + } + + Method [ public method setstrokelinejoin ] { + + - Parameters [1] { + Parameter #0 [ $LINEJOIN ] + } + } + + Method [ public method setstrokemiterlimit ] { + + - Parameters [1] { + Parameter #0 [ $miterLimit ] + } + } + + Method [ public method getstrokeantialias ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokedashoffset ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokelinecap ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokelinejoin ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokemiterlimit ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokedasharray ] { + + - Parameters [0] { + } + } + + Method [ public method setstrokedasharray ] { + + - Parameters [1] { + Parameter #0 [ $dashArray ] + } + } + + Method [ public method circle ] { + + - Parameters [4] { + Parameter #0 [ $ox ] + Parameter #1 [ $oy ] + Parameter #2 [ $px ] + Parameter #3 [ $py ] + } + } + + Method [ public method getclippath ] { + + - Parameters [0] { + } + } + + Method [ public method setclippath ] { + + - Parameters [1] { + Parameter #0 [ $clipMask ] + } + } + + Method [ public method getcliprule ] { + + - Parameters [0] { + } + } + + Method [ public method setcliprule ] { + + - Parameters [1] { + Parameter #0 [ $FILLRULE ] + } + } + + Method [ public method getclipunits ] { + + - Parameters [0] { + } + } + + Method [ public method setclipunits ] { + + - Parameters [1] { + Parameter #0 [ $PATHUNITS ] + } + } + + Method [ public method color ] { + + - Parameters [3] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + Parameter #2 [ $PAINTMETHOD ] + } + } + + Method [ public method comment ] { + + - Parameters [1] { + Parameter #0 [ $comment ] + } + } + + Method [ public method setfillpatternurl ] { + + - Parameters [1] { + Parameter #0 [ $url ] + } + } + + Method [ public method getfillrule ] { + + - Parameters [0] { + } + } + + Method [ public method setfillrule ] { + + - Parameters [1] { + Parameter #0 [ $FILLRULE ] + } + } + + Method [ public method getfontfamily ] { + + - Parameters [0] { + } + } + + Method [ public method setfontfamily ] { + + - Parameters [1] { + Parameter #0 [ $fontfamily ] + } + } + + Method [ public method getfontstretch ] { + + - Parameters [0] { + } + } + + Method [ public method setfontstretch ] { + + - Parameters [1] { + Parameter #0 [ $STRETCH ] + } + } + + Method [ public method pathclose ] { + + - Parameters [0] { + } + } + + Method [ public method pathcurvetoabsolute ] { + + - Parameters [6] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x2 ] + Parameter #3 [ $y2 ] + Parameter #4 [ $x ] + Parameter #5 [ $y ] + } + } + + Method [ public method pathcurvetorelative ] { + + - Parameters [6] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x2 ] + Parameter #3 [ $y2 ] + Parameter #4 [ $x ] + Parameter #5 [ $y ] + } + } + + Method [ public method pathcurvetoquadraticbezierabsolute ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] + } + } + + Method [ public method pathcurvetoquadraticbezierrelative ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] + } + } + + Method [ public method pathcurvetoquadraticbeziersmoothabsolute ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathcurvetoquadraticbeziersmoothrelative ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathcurvetosmoothabsolute ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] + } + } + + Method [ public method pathcurvetosmoothrelative ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] + } + } + + Method [ public method pathellipticarcabsolute ] { + + - Parameters [7] { + Parameter #0 [ $rx ] + Parameter #1 [ $ry ] + Parameter #2 [ $xAxisRotation ] + Parameter #3 [ $largeArc ] + Parameter #4 [ $sweep ] + Parameter #5 [ $x ] + Parameter #6 [ $y ] + } + } + + Method [ public method pathellipticarcrelative ] { + + - Parameters [7] { + Parameter #0 [ $rx ] + Parameter #1 [ $ry ] + Parameter #2 [ $xAxisRotation ] + Parameter #3 [ $largeArc ] + Parameter #4 [ $sweep ] + Parameter #5 [ $x ] + Parameter #6 [ $y ] + } + } + + Method [ public method pathfinish ] { + + - Parameters [0] { + } + } + + Method [ public method pathlinetoabsolute ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathlinetorelative ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathlinetohorizontalabsolute ] { + + - Parameters [1] { + Parameter #0 [ $y ] + } + } + + Method [ public method pathlinetohorizontalrelative ] { + + - Parameters [1] { + Parameter #0 [ $x ] + } + } + + Method [ public method pathlinetoverticalabsolute ] { + + - Parameters [1] { + Parameter #0 [ $y ] + } + } + + Method [ public method pathlinetoverticalrelative ] { + + - Parameters [1] { + Parameter #0 [ $x ] + } + } + + Method [ public method pathmovetoabsolute ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathmovetorelative ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathstart ] { + + - Parameters [0] { + } + } + + Method [ public method popclippath ] { + + - Parameters [0] { + } + } + + Method [ public method popdefs ] { + + - Parameters [0] { + } + } + + Method [ public method poppattern ] { + + - Parameters [0] { + } + } + + Method [ public method pushclippath ] { + + - Parameters [1] { + Parameter #0 [ $clipMask ] + } + } + + Method [ public method pushdefs ] { + + - Parameters [0] { + } + } + + Method [ public method pushpattern ] { + + - Parameters [5] { + Parameter #0 [ $pattern_id ] + Parameter #1 [ $x ] + Parameter #2 [ $y ] + Parameter #3 [ $width ] + Parameter #4 [ $height ] + } + } + + Method [ public method skewx ] { + + - Parameters [1] { + Parameter #0 [ $degrees ] + } + } + + Method [ public method skewy ] { + + - Parameters [1] { + Parameter #0 [ $degrees ] + } + } + + Method [ public method setstrokepatternurl ] { + + - Parameters [1] { + Parameter #0 [ $url ] + } + } + + Method [ public method gettextantialias ] { + + - Parameters [0] { + } + } + + Method [ public method settextantialias ] { + + - Parameters [1] { + Parameter #0 [ $antialias ] + } + } + + Method [ public method gettextundercolor ] { + + - Parameters [0] { + } + } + + Method [ public method settextundercolor ] { + + - Parameters [1] { + Parameter #0 [ $color ] + } + } + + Method [ public method translate ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method setviewbox ] { + + - Parameters [4] { + Parameter #0 [ $sx ] + Parameter #1 [ $sy ] + Parameter #2 [ $ex ] + Parameter #3 [ $ey ] + } + } + + Method [ public method popGraphicContext ] { + + - Parameters [0] { + } + } + + Method [ public method pushGraphicContext ] { + + - Parameters [0] { + } + } + } + } + + Class [ class GmagickPixel ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [9] { + Method [ public method __construct ] { - Parameters [1] { Parameter #0 [ $color ] @@ -1938,6 +2709,13 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { } } + Method [ public method setcolorcount ] { + + - Parameters [1] { + Parameter #0 [ $color_count ] + } + } + Method [ public method getcolorvalue ] { - Parameters [1] { @@ -1952,6 +2730,21 @@ Extension [ extension #25 gmagick version 1.1.7RC3 ] { Parameter #1 [ $value ] } } + + Method [ public method getcolorvaluequantum ] { + + - Parameters [1] { + Parameter #0 [ $color ] + } + } + + Method [ public method setcolorvaluequantum ] { + + - Parameters [2] { + Parameter #0 [ $color ] + Parameter #1 [ $value ] + } + } } } } diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 deleted file mode 100644 index d0537e4..0000000 --- a/REFLECTION-PHP7 +++ /dev/null @@ -1,2752 +0,0 @@ -Extension [ extension #62 gmagick version 2.0.4RC1 ] { - - - Classes [5] { - Class [ final class GmagickException extends Exception implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ final class GmagickPixelException extends Exception implements Throwable ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] - } - - - Methods [10] { - Method [ public method __construct ] { - - - Parameters [3] { - Parameter #0 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] - } - } - - Method [ public method __wakeup ] { - } - - Method [ final public method getMessage ] { - } - - Method [ final public method getCode ] { - } - - Method [ final public method getFile ] { - } - - Method [ final public method getLine ] { - } - - Method [ final public method getTrace ] { - } - - Method [ final public method getPrevious ] { - } - - Method [ final public method getTraceAsString ] { - } - - Method [ public method __toString ] { - } - } - } - - Class [ class Gmagick ] { - - - Constants [249] { - Constant [ integer COLOR_BLACK ] { 11 } - Constant [ integer COLOR_BLUE ] { 12 } - Constant [ integer COLOR_CYAN ] { 13 } - Constant [ integer COLOR_GREEN ] { 14 } - Constant [ integer COLOR_RED ] { 15 } - Constant [ integer COLOR_YELLOW ] { 16 } - Constant [ integer COLOR_MAGENTA ] { 17 } - Constant [ integer COLOR_OPACITY ] { 18 } - Constant [ integer COLOR_ALPHA ] { 19 } - Constant [ integer COLOR_FUZZ ] { 20 } - Constant [ integer GMAGICK_EXTNUM ] { 1 } - Constant [ integer COMPOSITE_DEFAULT ] { 1 } - Constant [ integer COMPOSITE_UNDEFINED ] { 0 } - Constant [ integer COMPOSITE_NO ] { 23 } - Constant [ integer COMPOSITE_ADD ] { 8 } - Constant [ integer COMPOSITE_ATOP ] { 4 } - Constant [ integer COMPOSITE_BUMPMAP ] { 12 } - Constant [ integer COMPOSITE_CLEAR ] { 18 } - Constant [ integer COMPOSITE_COLORIZE ] { 28 } - Constant [ integer COMPOSITE_COPYBLACK ] { 35 } - Constant [ integer COMPOSITE_COPYBLUE ] { 16 } - Constant [ integer COMPOSITE_COPY ] { 13 } - Constant [ integer COMPOSITE_COPYCYAN ] { 32 } - Constant [ integer COMPOSITE_COPYGREEN ] { 15 } - Constant [ integer COMPOSITE_COPYMAGENTA ] { 33 } - Constant [ integer COMPOSITE_COPYOPACITY ] { 17 } - Constant [ integer COMPOSITE_COPYRED ] { 14 } - Constant [ integer COMPOSITE_COPYYELLOW ] { 34 } - Constant [ integer COMPOSITE_DARKEN ] { 24 } - Constant [ integer COMPOSITE_DIFFERENCE ] { 10 } - Constant [ integer COMPOSITE_DISPLACE ] { 20 } - Constant [ integer COMPOSITE_DISSOLVE ] { 19 } - Constant [ integer COMPOSITE_HUE ] { 26 } - Constant [ integer COMPOSITE_IN ] { 2 } - Constant [ integer COMPOSITE_LIGHTEN ] { 25 } - Constant [ integer COMPOSITE_LUMINIZE ] { 29 } - Constant [ integer COMPOSITE_MINUS ] { 7 } - Constant [ integer COMPOSITE_MODULATE ] { 21 } - Constant [ integer COMPOSITE_MULTIPLY ] { 11 } - Constant [ integer COMPOSITE_OUT ] { 3 } - Constant [ integer COMPOSITE_OVER ] { 1 } - Constant [ integer COMPOSITE_OVERLAY ] { 31 } - Constant [ integer COMPOSITE_PLUS ] { 6 } - Constant [ integer COMPOSITE_REPLACE ] { 13 } - Constant [ integer COMPOSITE_SATURATE ] { 27 } - Constant [ integer COMPOSITE_SCREEN ] { 30 } - Constant [ integer COMPOSITE_SUBTRACT ] { 9 } - Constant [ integer COMPOSITE_THRESHOLD ] { 22 } - Constant [ integer COMPOSITE_XOR ] { 5 } - Constant [ integer MONTAGEMODE_FRAME ] { 1 } - Constant [ integer MONTAGEMODE_UNFRAME ] { 2 } - Constant [ integer MONTAGEMODE_CONCATENATE ] { 3 } - Constant [ integer STYLE_NORMAL ] { 0 } - Constant [ integer STYLE_ITALIC ] { 1 } - Constant [ integer STYLE_OBLIQUE ] { 2 } - Constant [ integer STYLE_ANY ] { 3 } - Constant [ integer FILTER_UNDEFINED ] { 0 } - Constant [ integer FILTER_POINT ] { 1 } - Constant [ integer FILTER_BOX ] { 2 } - Constant [ integer FILTER_TRIANGLE ] { 3 } - Constant [ integer FILTER_HERMITE ] { 4 } - Constant [ integer FILTER_HANNING ] { 5 } - Constant [ integer FILTER_HAMMING ] { 6 } - Constant [ integer FILTER_BLACKMAN ] { 7 } - Constant [ integer FILTER_GAUSSIAN ] { 8 } - Constant [ integer FILTER_QUADRATIC ] { 9 } - Constant [ integer FILTER_CUBIC ] { 10 } - Constant [ integer FILTER_CATROM ] { 11 } - Constant [ integer FILTER_MITCHELL ] { 12 } - Constant [ integer FILTER_LANCZOS ] { 13 } - Constant [ integer FILTER_BESSEL ] { 14 } - Constant [ integer FILTER_SINC ] { 15 } - Constant [ integer IMGTYPE_UNDEFINED ] { 0 } - Constant [ integer IMGTYPE_BILEVEL ] { 1 } - Constant [ integer IMGTYPE_GRAYSCALE ] { 2 } - Constant [ integer IMGTYPE_GRAYSCALEMATTE ] { 3 } - Constant [ integer IMGTYPE_PALETTE ] { 4 } - Constant [ integer IMGTYPE_PALETTEMATTE ] { 5 } - Constant [ integer IMGTYPE_TRUECOLOR ] { 6 } - Constant [ integer IMGTYPE_TRUECOLORMATTE ] { 7 } - Constant [ integer IMGTYPE_COLORSEPARATION ] { 8 } - Constant [ integer IMGTYPE_COLORSEPARATIONMATTE ] { 9 } - Constant [ integer IMGTYPE_OPTIMIZE ] { 10 } - Constant [ integer RESOLUTION_UNDEFINED ] { 0 } - Constant [ integer RESOLUTION_PIXELSPERINCH ] { 1 } - Constant [ integer RESOLUTION_PIXELSPERCENTIMETER ] { 2 } - Constant [ integer COMPRESSION_UNDEFINED ] { 0 } - Constant [ integer COMPRESSION_NO ] { 1 } - Constant [ integer COMPRESSION_BZIP ] { 2 } - Constant [ integer COMPRESSION_FAX ] { 3 } - Constant [ integer COMPRESSION_GROUP4 ] { 4 } - Constant [ integer COMPRESSION_JPEG ] { 5 } - Constant [ integer COMPRESSION_LOSSLESSJPEG ] { 6 } - Constant [ integer COMPRESSION_LZW ] { 7 } - Constant [ integer COMPRESSION_RLE ] { 8 } - Constant [ integer COMPRESSION_ZIP ] { 9 } - Constant [ integer INTERLACE_UNDEFINED ] { 0 } - Constant [ integer INTERLACE_NO ] { 1 } - Constant [ integer INTERLACE_NONE ] { 1 } - Constant [ integer INTERLACE_LINE ] { 2 } - Constant [ integer INTERLACE_PLANE ] { 3 } - Constant [ integer INTERLACE_PARTITION ] { 4 } - Constant [ integer PAINT_POINT ] { 0 } - Constant [ integer PAINT_REPLACE ] { 1 } - Constant [ integer PAINT_FLOODFILL ] { 2 } - Constant [ integer PAINT_FILLTOBORDER ] { 3 } - Constant [ integer PAINT_RESET ] { 4 } - Constant [ integer GRAVITY_NORTHWEST ] { 1 } - Constant [ integer GRAVITY_NORTH ] { 2 } - Constant [ integer GRAVITY_NORTHEAST ] { 3 } - Constant [ integer GRAVITY_WEST ] { 4 } - Constant [ integer GRAVITY_CENTER ] { 5 } - Constant [ integer GRAVITY_EAST ] { 6 } - Constant [ integer GRAVITY_SOUTHWEST ] { 7 } - Constant [ integer GRAVITY_SOUTH ] { 8 } - Constant [ integer GRAVITY_SOUTHEAST ] { 9 } - Constant [ integer STRETCH_NORMAL ] { 0 } - Constant [ integer STRETCH_ULTRACONDENSED ] { 1 } - Constant [ integer STRETCH_CONDENSED ] { 3 } - Constant [ integer STRETCH_SEMICONDENSED ] { 4 } - Constant [ integer STRETCH_SEMIEXPANDED ] { 5 } - Constant [ integer STRETCH_EXPANDED ] { 6 } - Constant [ integer STRETCH_EXTRAEXPANDED ] { 7 } - Constant [ integer STRETCH_ULTRAEXPANDED ] { 8 } - Constant [ integer STRETCH_ANY ] { 9 } - Constant [ integer ALIGN_UNDEFINED ] { 0 } - Constant [ integer ALIGN_LEFT ] { 1 } - Constant [ integer ALIGN_CENTER ] { 2 } - Constant [ integer ALIGN_RIGHT ] { 3 } - Constant [ integer DECORATION_NO ] { 0 } - Constant [ integer DECORATION_UNDERLINE ] { 1 } - Constant [ integer DECORATION_OVERLINE ] { 2 } - Constant [ integer DECORATION_LINETROUGH ] { 3 } - Constant [ integer NOISE_UNIFORM ] { 0 } - Constant [ integer NOISE_GAUSSIAN ] { 1 } - Constant [ integer NOISE_MULTIPLICATIVEGAUSSIAN ] { 2 } - Constant [ integer NOISE_IMPULSE ] { 3 } - Constant [ integer NOISE_LAPLACIAN ] { 4 } - Constant [ integer NOISE_POISSON ] { 5 } - Constant [ integer CHANNEL_UNDEFINED ] { 0 } - Constant [ integer CHANNEL_RED ] { 1 } - Constant [ integer CHANNEL_CYAN ] { 2 } - Constant [ integer CHANNEL_GREEN ] { 3 } - Constant [ integer CHANNEL_MAGENTA ] { 4 } - Constant [ integer CHANNEL_BLUE ] { 5 } - Constant [ integer CHANNEL_YELLOW ] { 6 } - Constant [ integer CHANNEL_OPACITY ] { 7 } - Constant [ integer CHANNEL_MATTE ] { 9 } - Constant [ integer CHANNEL_BLACK ] { 8 } - Constant [ integer CHANNEL_INDEX ] { 8 } - Constant [ integer CHANNEL_ALL ] { 10 } - Constant [ integer CHANNEL_DEFAULT ] { 8 } - Constant [ integer METRIC_UNDEFINED ] { 0 } - Constant [ integer METRIC_MEANABSOLUTEERROR ] { 1 } - Constant [ integer METRIC_MEANSQUAREERROR ] { 2 } - Constant [ integer METRIC_PEAKABSOLUTEERROR ] { 3 } - Constant [ integer METRIC_PEAKSIGNALTONOISERATIO ] { 4 } - Constant [ integer METRIC_ROOTMEANSQUAREDERROR ] { 5 } - Constant [ integer PIXEL_CHAR ] { 0 } - Constant [ integer PIXEL_DOUBLE ] { 5 } - Constant [ integer PIXEL_FLOAT ] { 4 } - Constant [ integer PIXEL_INTEGER ] { 2 } - Constant [ integer PIXEL_LONG ] { 3 } - Constant [ integer PIXEL_SHORT ] { 1 } - Constant [ integer COLORSPACE_UNDEFINED ] { 0 } - Constant [ integer COLORSPACE_RGB ] { 1 } - Constant [ integer COLORSPACE_GRAY ] { 2 } - Constant [ integer COLORSPACE_TRANSPARENT ] { 3 } - Constant [ integer COLORSPACE_OHTA ] { 4 } - Constant [ integer COLORSPACE_LAB ] { 14 } - Constant [ integer COLORSPACE_XYZ ] { 5 } - Constant [ integer COLORSPACE_YCBCR ] { 17 } - Constant [ integer COLORSPACE_YCC ] { 6 } - Constant [ integer COLORSPACE_YIQ ] { 7 } - Constant [ integer COLORSPACE_YPBPR ] { 8 } - Constant [ integer COLORSPACE_YUV ] { 9 } - Constant [ integer COLORSPACE_CMYK ] { 10 } - Constant [ integer COLORSPACE_SRGB ] { 11 } - Constant [ integer COLORSPACE_HSL ] { 12 } - Constant [ integer COLORSPACE_HWB ] { 13 } - Constant [ integer VIRTUALPIXELMETHOD_UNDEFINED ] { 0 } - Constant [ integer VIRTUALPIXELMETHOD_CONSTANT ] { 1 } - Constant [ integer VIRTUALPIXELMETHOD_EDGE ] { 2 } - Constant [ integer VIRTUALPIXELMETHOD_MIRROR ] { 3 } - Constant [ integer VIRTUALPIXELMETHOD_TILE ] { 4 } - Constant [ integer PREVIEW_UNDEFINED ] { 0 } - Constant [ integer PREVIEW_ROTATE ] { 1 } - Constant [ integer PREVIEW_SHEAR ] { 2 } - Constant [ integer PREVIEW_ROLL ] { 3 } - Constant [ integer PREVIEW_HUE ] { 4 } - Constant [ integer PREVIEW_SATURATION ] { 5 } - Constant [ integer PREVIEW_BRIGHTNESS ] { 6 } - Constant [ integer PREVIEW_GAMMA ] { 7 } - Constant [ integer PREVIEW_SPIFF ] { 8 } - Constant [ integer PREVIEW_DULL ] { 9 } - Constant [ integer PREVIEW_GRAYSCALE ] { 10 } - Constant [ integer PREVIEW_QUANTIZE ] { 11 } - Constant [ integer PREVIEW_DESPECKLE ] { 12 } - Constant [ integer PREVIEW_REDUCENOISE ] { 13 } - Constant [ integer PREVIEW_ADDNOISE ] { 14 } - Constant [ integer PREVIEW_SHARPEN ] { 15 } - Constant [ integer PREVIEW_BLUR ] { 16 } - Constant [ integer PREVIEW_THRESHOLD ] { 17 } - Constant [ integer PREVIEW_EDGEDETECT ] { 18 } - Constant [ integer PREVIEW_SPREAD ] { 19 } - Constant [ integer PREVIEW_SOLARIZE ] { 20 } - Constant [ integer PREVIEW_SHADE ] { 21 } - Constant [ integer PREVIEW_RAISE ] { 22 } - Constant [ integer PREVIEW_SEGMENT ] { 23 } - Constant [ integer PREVIEW_SWIRL ] { 24 } - Constant [ integer PREVIEW_IMPLODE ] { 25 } - Constant [ integer PREVIEW_WAVE ] { 26 } - Constant [ integer PREVIEW_OILPAINT ] { 27 } - Constant [ integer PREVIEW_CHARCOALDRAWING ] { 28 } - Constant [ integer PREVIEW_JPEG ] { 29 } - Constant [ integer RENDERINGINTENT_UNDEFINED ] { 0 } - Constant [ integer RENDERINGINTENT_SATURATION ] { 1 } - Constant [ integer RENDERINGINTENT_PERCEPTUAL ] { 2 } - Constant [ integer RENDERINGINTENT_ABSOLUTE ] { 3 } - Constant [ integer RENDERINGINTENT_RELATIVE ] { 4 } - Constant [ integer FILLRULE_UNDEFINED ] { 0 } - Constant [ integer FILLRULE_EVENODD ] { 1 } - Constant [ integer FILLRULE_NONZERO ] { 2 } - Constant [ integer PATHUNITS_USERSPACE ] { 0 } - Constant [ integer PATHUNITS_USERSPACEONUSE ] { 1 } - Constant [ integer PATHUNITS_OBJECTBOUNDINGBOX ] { 2 } - Constant [ integer LINECAP_UNDEFINED ] { 0 } - Constant [ integer LINECAP_BUTT ] { 1 } - Constant [ integer LINECAP_ROUND ] { 2 } - Constant [ integer LINECAP_SQUARE ] { 3 } - Constant [ integer LINEJOIN_UNDEFINED ] { 0 } - Constant [ integer LINEJOIN_MITER ] { 1 } - Constant [ integer LINEJOIN_ROUND ] { 2 } - Constant [ integer LINEJOIN_BEVEL ] { 3 } - Constant [ integer RESOURCETYPE_UNDEFINED ] { 0 } - Constant [ integer RESOURCETYPE_AREA ] { 0 } - Constant [ integer RESOURCETYPE_DISK ] { 1 } - Constant [ integer RESOURCETYPE_FILE ] { 2 } - Constant [ integer RESOURCETYPE_MAP ] { 3 } - Constant [ integer RESOURCETYPE_MEMORY ] { 4 } - Constant [ integer DISPOSE_UNDEFINED ] { 0 } - Constant [ integer DISPOSE_NONE ] { 1 } - Constant [ integer DISPOSE_BACKGROUND ] { 2 } - Constant [ integer DISPOSE_PREVIOUS ] { 3 } - Constant [ integer QUANTUM_DEPTH ] { 16 } - Constant [ integer QUANTUM ] { 131071 } - Constant [ string VERSION_TXT ] { 1.3.24 } - Constant [ integer VERSION_LIB ] { 1578240 } - Constant [ integer VERSION_NUM ] { 1003024 } - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [209] { - Method [ public method __construct ] { - - - Parameters [1] { - Parameter #0 [ $filename ] - } - } - - Method [ public method __tostring ] { - - - Parameters [0] { - } - } - - Method [ public method readimage ] { - - - Parameters [1] { - Parameter #0 [ $filename ] - } - } - - Method [ public method writeimage ] { - - - Parameters [1] { - Parameter #0 [ $filename ] - } - } - - Method [ public method resizeimage ] { - - - Parameters [5] { - Parameter #0 [ $width ] - Parameter #1 [ $height ] - Parameter #2 [ $filter ] - Parameter #3 [ $blur ] - Parameter #4 [ $fit ] - } - } - - Method [ public method thumbnailimage ] { - - - Parameters [2] { - Parameter #0 [ $width ] - Parameter #1 [ $height ] - } - } - - Method [ public method clear ] { - - - Parameters [0] { - } - } - - Method [ public method cropimage ] { - - - Parameters [4] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - Parameter #2 [ $width ] - Parameter #3 [ $height ] - } - } - - Method [ public method coalesceimages ] { - - - Parameters [0] { - } - } - - Method [ public method compositeimage ] { - - - Parameters [4] { - Parameter #0 [ Gmagick $source ] - Parameter #1 [ $COMPOSE ] - Parameter #2 [ $x ] - Parameter #3 [ $y ] - } - } - - Method [ public method drawimage ] { - - - Parameters [1] { - Parameter #0 [ GmagickDraw $GmagickDraw ] - } - } - - Method [ public method annotateimage ] { - - - Parameters [5] { - Parameter #0 [ GmagickDraw $GmagickDraw ] - Parameter #1 [ $x ] - Parameter #2 [ $y ] - Parameter #3 [ $angle ] - Parameter #4 [ $text ] - } - } - - Method [ public method blurimage ] { - - - Parameters [2] { - Parameter #0 [ $radius ] - Parameter #1 [ $sigma ] - } - } - - Method [ public method addimage ] { - - - Parameters [1] { - Parameter #0 [ Gmagick $Gmagick ] - } - } - - Method [ public method addnoiseimage ] { - - - Parameters [1] { - Parameter #0 [ $NOISE ] - } - } - - Method [ public method negateimage ] { - - - Parameters [2] { - Parameter #0 [ $gray ] - Parameter #1 [ $CHANNEL ] - } - } - - Method [ public method borderimage ] { - - - Parameters [3] { - Parameter #0 [ $color ] - Parameter #1 [ $width ] - Parameter #2 [ $height ] - } - } - - Method [ public method thresholdimage ] { - - - Parameters [2] { - Parameter #0 [ $threshold ] - Parameter #1 [ $CHANNELTYPE ] - } - } - - Method [ public method charcoalimage ] { - - - Parameters [2] { - Parameter #0 [ $radius ] - Parameter #1 [ $sigma ] - } - } - - Method [ public method chopimage ] { - - - Parameters [4] { - Parameter #0 [ $width ] - Parameter #1 [ $height ] - Parameter #2 [ $x ] - Parameter #3 [ $y ] - } - } - - Method [ public method commentimage ] { - - - Parameters [1] { - Parameter #0 [ $comment ] - } - } - - Method [ public method current ] { - - - Parameters [0] { - } - } - - Method [ public method cropthumbnailimage ] { - - - Parameters [4] { - Parameter #0 [ $width ] - Parameter #1 [ $height ] - Parameter #2 [ $fit ] - Parameter #3 [ $legacy ] - } - } - - Method [ public method cyclecolormapimage ] { - - - Parameters [1] { - Parameter #0 [ $displace ] - } - } - - Method [ public method deconstructimages ] { - - - Parameters [0] { - } - } - - Method [ public method despeckleimage ] { - - - Parameters [0] { - } - } - - Method [ public method destroy ] { - - - Parameters [0] { - } - } - - Method [ public method edgeimage ] { - - - Parameters [1] { - Parameter #0 [ $radius ] - } - } - - Method [ public method embossimage ] { - - - Parameters [2] { - Parameter #0 [ $radius ] - Parameter #1 [ $sigma ] - } - } - - Method [ public method enhanceimage ] { - - - Parameters [0] { - } - } - - Method [ public method equalizeimage ] { - - - Parameters [0] { - } - } - - Method [ public method flattenimages ] { - - - Parameters [0] { - } - } - - Method [ public method flipimage ] { - - - Parameters [0] { - } - } - - Method [ public method flopimage ] { - - - Parameters [0] { - } - } - - Method [ public method frameimage ] { - - - Parameters [5] { - Parameter #0 [ $color ] - Parameter #1 [ $width ] - Parameter #2 [ $height ] - Parameter #3 [ $inner_bevel ] - Parameter #4 [ $outer_bevel ] - } - } - - Method [ public method gammaimage ] { - - - Parameters [1] { - Parameter #0 [ $gamma ] - } - } - - Method [ public method getcopyright ] { - - - Parameters [0] { - } - } - - Method [ public method getfilename ] { - - - Parameters [0] { - } - } - - Method [ public method getimagebackgroundcolor ] { - - - Parameters [0] { - } - } - - Method [ public method setimagebackgroundcolor ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method getimageblueprimary ] { - - - Parameters [0] { - } - } - - Method [ public method getimagebordercolor ] { - - - Parameters [0] { - } - } - - Method [ public method getimagechanneldepth ] { - - - Parameters [0] { - } - } - - Method [ public method setimageblueprimary ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method setimagebordercolor ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method getimageblob ] { - - - Parameters [0] { - } - } - - Method [ public method getimagesblob ] { - - - Parameters [0] { - } - } - - Method [ public method setimagechanneldepth ] { - - - Parameters [2] { - Parameter #0 [ $CHANNEL ] - Parameter #1 [ $depth ] - } - } - - Method [ public method setimagecolorspace ] { - - - Parameters [1] { - Parameter #0 [ $COLORSPACE ] - } - } - - Method [ public method setinterlacescheme ] { - - - Parameters [1] { - Parameter #0 [ $INTERLACE ] - } - } - - Method [ public method getimagecolorspace ] { - - - Parameters [0] { - } - } - - Method [ public method getimagecolors ] { - - - Parameters [0] { - } - } - - Method [ public method getimagecompose ] { - - - Parameters [0] { - } - } - - Method [ public method getimagedelay ] { - - - Parameters [0] { - } - } - - Method [ public method getimagedepth ] { - - - Parameters [0] { - } - } - - Method [ public method getnumberimages ] { - - - Parameters [0] { - } - } - - Method [ public method setimagecompose ] { - - - Parameters [1] { - Parameter #0 [ $COMPOSITE ] - } - } - - Method [ public method setimagecompression ] { - - - Parameters [1] { - Parameter #0 [ $COMPRESSION ] - } - } - - Method [ public method getimagecompression ] { - - - Parameters [0] { - } - } - - Method [ public method setimagedelay ] { - - - Parameters [1] { - Parameter #0 [ $delay ] - } - } - - Method [ public method setimagedepth ] { - - - Parameters [1] { - Parameter #0 [ $depth ] - } - } - - Method [ public method getimagedispose ] { - - - Parameters [0] { - } - } - - Method [ public method setimagedispose ] { - - - Parameters [1] { - Parameter #0 [ $DISPOSETYPE ] - } - } - - Method [ public method setfilename ] { - - - Parameters [1] { - Parameter #0 [ $filename ] - } - } - - Method [ public method getimageextrema ] { - - - Parameters [0] { - } - } - - Method [ public method getimagefilename ] { - - - Parameters [0] { - } - } - - Method [ public method setimagefilename ] { - - - Parameters [1] { - Parameter #0 [ $filename ] - } - } - - Method [ public method getimageformat ] { - - - Parameters [0] { - } - } - - Method [ public method setimageformat ] { - - - Parameters [1] { - Parameter #0 [ $imageFormat ] - } - } - - Method [ public method setcompressionquality ] { - - - Parameters [1] { - Parameter #0 [ $quality ] - } - } - - Method [ public method getimagegamma ] { - - - Parameters [0] { - } - } - - Method [ public method setimagegamma ] { - - - Parameters [1] { - Parameter #0 [ $gamma ] - } - } - - Method [ public method getimagegreenprimary ] { - - - Parameters [0] { - } - } - - Method [ public method setimagegreenprimary ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method getimageheight ] { - - - Parameters [0] { - } - } - - Method [ public method getimagehistogram ] { - - - Parameters [0] { - } - } - - Method [ public method getimageindex ] { - - - Parameters [0] { - } - } - - Method [ public method setimageindex ] { - - - Parameters [1] { - Parameter #0 [ $index ] - } - } - - Method [ public method getimageinterlacescheme ] { - - - Parameters [0] { - } - } - - Method [ public method setimageinterlacescheme ] { - - - Parameters [1] { - Parameter #0 [ $INTERLACE ] - } - } - - Method [ public method getimageiterations ] { - - - Parameters [0] { - } - } - - Method [ public method getimagemattecolor ] { - - - Parameters [0] { - } - } - - Method [ public method getimagepage ] { - - - Parameters [0] { - } - } - - Method [ public method getimageprofile ] { - - - Parameters [0] { - } - } - - Method [ public method getimageredprimary ] { - - - Parameters [0] { - } - } - - Method [ public method getimagerenderingintent ] { - - - Parameters [0] { - } - } - - Method [ public method getimageresolution ] { - - - Parameters [0] { - } - } - - Method [ public method getimagescene ] { - - - Parameters [0] { - } - } - - Method [ public method getimagesignature ] { - - - Parameters [0] { - } - } - - Method [ public method getimagetype ] { - - - Parameters [0] { - } - } - - Method [ public method setimageiterations ] { - - - Parameters [1] { - Parameter #0 [ $iterations ] - } - } - - Method [ public method setimageprofile ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $profile ] - } - } - - Method [ public method setimageredprimary ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method setimagerenderingintent ] { - - - Parameters [1] { - Parameter #0 [ $RENDERINGINTENT ] - } - } - - Method [ public method setimageresolution ] { - - - Parameters [2] { - Parameter #0 [ $xResolution ] - Parameter #1 [ $yResolution ] - } - } - - Method [ public method setresolution ] { - - - Parameters [2] { - Parameter #0 [ $xResolution ] - Parameter #1 [ $yResolution ] - } - } - - Method [ public method setimagescene ] { - - - Parameters [1] { - Parameter #0 [ $scene ] - } - } - - Method [ public method setimagetype ] { - - - Parameters [1] { - Parameter #0 [ $IMGTYPE ] - } - } - - Method [ public method setimagepage ] { - - - Parameters [4] { - Parameter #0 [ $width ] - Parameter #1 [ $height ] - Parameter #2 [ $x ] - Parameter #3 [ $y ] - } - } - - Method [ public method getimageunits ] { - - - Parameters [0] { - } - } - - Method [ public method getimagewhitepoint ] { - - - Parameters [0] { - } - } - - Method [ public method getimagewidth ] { - - - Parameters [0] { - } - } - - Method [ public method getpackagename ] { - - - Parameters [0] { - } - } - - Method [ public method getquantumdepth ] { - - - Parameters [0] { - } - } - - Method [ public method getreleasedate ] { - - - Parameters [0] { - } - } - - Method [ public method getresourcelimit ] { - - - Parameters [1] { - Parameter #0 [ $resource_type ] - } - } - - Method [ public method setresourcelimit ] { - - - Parameters [2] { - Parameter #0 [ $RESOURCETYPE ] - Parameter #1 [ $limit ] - } - } - - Method [ public method getsamplingfactors ] { - - - Parameters [0] { - } - } - - Method [ public method getsize ] { - - - Parameters [0] { - } - } - - Method [ public method setimageunits ] { - - - Parameters [1] { - Parameter #0 [ $RESOLUTION ] - } - } - - Method [ public method setimagewhitepoint ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method setsamplingfactors ] { - - - Parameters [1] { - Parameter #0 [ $factors ] - } - } - - Method [ public method setsize ] { - - - Parameters [2] { - Parameter #0 [ $columns ] - Parameter #1 [ $rows ] - } - } - - Method [ public method getversion ] { - - - Parameters [0] { - } - } - - Method [ public method getimagegeometry ] { - - - Parameters [0] { - } - } - - Method [ public method getimage ] { - - - Parameters [0] { - } - } - - Method [ public method setimage ] { - - - Parameters [1] { - Parameter #0 [ Gmagick $Gmagick ] - } - } - - Method [ public method hasnextimage ] { - - - Parameters [0] { - } - } - - Method [ public method haspreviousimage ] { - - - Parameters [0] { - } - } - - Method [ public method implodeimage ] { - - - Parameters [1] { - Parameter #0 [ $radius ] - } - } - - Method [ public method labelimage ] { - - - Parameters [1] { - Parameter #0 [ $label ] - } - } - - Method [ public method levelimage ] { - - - Parameters [4] { - Parameter #0 [ $blackPoint ] - Parameter #1 [ $gamma ] - Parameter #2 [ $whitePoint ] - Parameter #3 [ $CHANNEL ] - } - } - - Method [ public method magnifyimage ] { - - - Parameters [0] { - } - } - - Method [ public method mapimage ] { - - - Parameters [2] { - Parameter #0 [ gmagick $gmagick ] - Parameter #1 [ $dither ] - } - } - - Method [ public method medianfilterimage ] { - - - Parameters [1] { - Parameter #0 [ $radius ] - } - } - - Method [ public method minifyimage ] { - - - Parameters [0] { - } - } - - Method [ public method modulateimage ] { - - - Parameters [3] { - Parameter #0 [ $brightness ] - Parameter #1 [ $saturation ] - Parameter #2 [ $hue ] - } - } - - Method [ public method motionblurimage ] { - - - Parameters [3] { - Parameter #0 [ $radius ] - Parameter #1 [ $sigma ] - Parameter #2 [ $angle ] - } - } - - Method [ public method nextimage ] { - - - Parameters [0] { - } - } - - Method [ public method newimage ] { - - - Parameters [4] { - Parameter #0 [ $columns ] - Parameter #1 [ $rows ] - Parameter #2 [ $background_color ] - Parameter #3 [ $format ] - } - } - - Method [ public method normalizeimage ] { - - - Parameters [1] { - Parameter #0 [ $CHANNEL ] - } - } - - Method [ public method oilpaintimage ] { - - - Parameters [0] { - } - } - - Method [ public method previousimage ] { - - - Parameters [0] { - } - } - - Method [ public method profileimage ] { - - - Parameters [2] { - Parameter #0 [ $name ] - Parameter #1 [ $profile ] - } - } - - Method [ public method quantizeimage ] { - - - Parameters [5] { - Parameter #0 [ $numColors ] - Parameter #1 [ $COLORSPACE ] - Parameter #2 [ $treeDepth ] - Parameter #3 [ $dither ] - Parameter #4 [ $measureError ] - } - } - - Method [ public method quantizeimages ] { - - - Parameters [5] { - Parameter #0 [ $numColors ] - Parameter #1 [ $COLORSPACE ] - Parameter #2 [ $treeDepth ] - Parameter #3 [ $dither ] - Parameter #4 [ $measureError ] - } - } - - Method [ public method queryfonts ] { - - - Parameters [0] { - } - } - - Method [ public method queryfontmetrics ] { - - - Parameters [2] { - Parameter #0 [ GmagickDraw $GmagickDraw ] - Parameter #1 [ $text ] - } - } - - Method [ public method queryformats ] { - - - Parameters [1] { - Parameter #0 [ $pattern ] - } - } - - Method [ public method radialblurimage ] { - - - Parameters [2] { - Parameter #0 [ $angle ] - Parameter #1 [ $CHANNEL ] - } - } - - Method [ public method raiseimage ] { - - - Parameters [5] { - Parameter #0 [ $width ] - Parameter #1 [ $height ] - Parameter #2 [ $x ] - Parameter #3 [ $y ] - Parameter #4 [ $raise ] - } - } - - Method [ public method readimageblob ] { - - - Parameters [2] { - Parameter #0 [ $imageContents ] - Parameter #1 [ $filename ] - } - } - - Method [ public method readimagefile ] { - - - Parameters [1] { - Parameter #0 [ $fp ] - } - } - - Method [ public method reducenoiseimage ] { - - - Parameters [1] { - Parameter #0 [ $radius ] - } - } - - Method [ public method removeimage ] { - - - Parameters [0] { - } - } - - Method [ public method removeimageprofile ] { - - - Parameters [1] { - Parameter #0 [ $name ] - } - } - - Method [ public method resampleimage ] { - - - Parameters [4] { - Parameter #0 [ $xResolution ] - Parameter #1 [ $yResolution ] - Parameter #2 [ $FILTER ] - Parameter #3 [ $blur ] - } - } - - Method [ public method rollimage ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method rotateimage ] { - - - Parameters [2] { - Parameter #0 [ $color ] - Parameter #1 [ $degrees ] - } - } - - Method [ public method scaleimage ] { - - - Parameters [2] { - Parameter #0 [ $width ] - Parameter #1 [ $height ] - } - } - - Method [ public method separateimagechannel ] { - - - Parameters [1] { - Parameter #0 [ $CHANNEL ] - } - } - - Method [ public method sharpenimage ] { - - - Parameters [3] { - Parameter #0 [ $radius ] - Parameter #1 [ $sigma ] - Parameter #2 [ $CHANNEL ] - } - } - - Method [ public method shearimage ] { - - - Parameters [3] { - Parameter #0 [ $color ] - Parameter #1 [ $xShear ] - Parameter #2 [ $yShear ] - } - } - - Method [ public method solarizeimage ] { - - - Parameters [1] { - Parameter #0 [ $threshold ] - } - } - - Method [ public method spreadimage ] { - - - Parameters [1] { - Parameter #0 [ $radius ] - } - } - - Method [ public method stripimage ] { - - - Parameters [0] { - } - } - - Method [ public method swirlimage ] { - - - Parameters [1] { - Parameter #0 [ $degrees ] - } - } - - Method [ public method trimimage ] { - - - Parameters [1] { - Parameter #0 [ $fuzz ] - } - } - - Method [ public method sampleimage ] { - - - Parameters [2] { - Parameter #0 [ $columns ] - Parameter #1 [ $rows ] - } - } - - Method [ public method cloneimage ] { - - - Parameters [0] { - } - } - - Method [ public method appendimages ] { - - - Parameters [1] { - Parameter #0 [ $stack ] - } - } - - Method [ public method unsharpmaskimage ] { - - - Parameters [4] { - Parameter #0 [ $radius ] - Parameter #1 [ $sigma ] - Parameter #2 [ $amount ] - Parameter #3 [ $threshold ] - } - } - - Method [ public method read ] { - - - Parameters [1] { - Parameter #0 [ $filename ] - } - } - - Method [ public method write ] { - - - Parameters [1] { - Parameter #0 [ $filename ] - } - } - - Method [ public method adaptivethresholdimage ] { - - - Parameters [3] { - Parameter #0 [ $width ] - Parameter #1 [ $height ] - Parameter #2 [ $offset ] - } - } - - Method [ public method affinetransformimage ] { - - - Parameters [1] { - Parameter #0 [ GmagickDraw $GmagickDraw ] - } - } - - Method [ public method averageimages ] { - - - Parameters [0] { - } - } - - Method [ public method blackthresholdimage ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method colordecisionlist ] { - - - Parameters [1] { - Parameter #0 [ $antialias ] - } - } - - Method [ public method clipimage ] { - - - Parameters [0] { - } - } - - Method [ public method clippathimage ] { - - - Parameters [2] { - Parameter #0 [ $pathname ] - Parameter #1 [ $inside ] - } - } - - Method [ public method colorfloodfillimage ] { - - - Parameters [5] { - Parameter #0 [ $fill_color ] - Parameter #1 [ $fuzz ] - Parameter #2 [ $border_color ] - Parameter #3 [ $y ] - Parameter #4 [ $x ] - } - } - - Method [ public method colorizeimage ] { - - - Parameters [2] { - Parameter #0 [ $colorize_color ] - Parameter #1 [ $opacity ] - } - } - - Method [ public method compareimagechannels ] { - - - Parameters [3] { - Parameter #0 [ Gmagick $Gmagick ] - Parameter #1 [ $channel ] - Parameter #2 [ $metric ] - } - } - - Method [ public method compareimages ] { - - - Parameters [2] { - Parameter #0 [ Gmagick $Gmagick ] - Parameter #1 [ $metric ] - } - } - - Method [ public method contrastimage ] { - - - Parameters [1] { - Parameter #0 [ $sharpen ] - } - } - - Method [ public method convolveimage ] { - - - Parameters [1] { - Parameter #0 [ $kernel ] - } - } - - Method [ public method extentimage ] { - - - Parameters [4] { - Parameter #0 [ $width ] - Parameter #1 [ $height ] - Parameter #2 [ $x ] - Parameter #3 [ $y ] - } - } - - Method [ public method getimageattribute ] { - - - Parameters [1] { - Parameter #0 [ $key ] - } - } - - Method [ public method getimagechannelextrema ] { - - - Parameters [1] { - Parameter #0 [ $channel ] - } - } - - Method [ public method getimagechannelmean ] { - - - Parameters [1] { - Parameter #0 [ $channel ] - } - } - - Method [ public method getimagecolormapcolor ] { - - - Parameters [1] { - Parameter #0 [ $index ] - } - } - - Method [ public method getimagegravity ] { - - - Parameters [0] { - } - } - - Method [ public method getimagevirtualpixelmethod ] { - - - Parameters [0] { - } - } - - Method [ public method haldclutimage ] { - - - Parameters [1] { - Parameter #0 [ Gmagick $Gmagick ] - } - } - - Method [ public method mattefloodfillimage ] { - - - Parameters [5] { - Parameter #0 [ $alpha ] - Parameter #1 [ $fuzz ] - Parameter #2 [ $color ] - Parameter #3 [ $x ] - Parameter #4 [ $y ] - } - } - - Method [ public method montageimage ] { - - - Parameters [5] { - Parameter #0 [ GmagickDraw $GmagickDraw ] - Parameter #1 [ $tile_geometry ] - Parameter #2 [ $thumbnail_geometry ] - Parameter #3 [ $montageMode ] - Parameter #4 [ $frame ] - } - } - - Method [ public method morphimages ] { - - - Parameters [1] { - Parameter #0 [ $frames ] - } - } - - Method [ public method mosaicimages ] { - - - Parameters [0] { - } - } - - Method [ public method setimageattribute ] { - - - Parameters [2] { - Parameter #0 [ $key ] - Parameter #1 [ $value ] - } - } - - Method [ public method setimagecolormapcolor ] { - - - Parameters [2] { - Parameter #0 [ $index ] - Parameter #1 [ $color ] - } - } - - Method [ public method setimagegravity ] { - - - Parameters [1] { - Parameter #0 [ $gravity ] - } - } - - Method [ public method setimagemattecolor ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method setimagevirtualpixelmethod ] { - - - Parameters [1] { - Parameter #0 [ $virtual_pixel_method ] - } - } - - Method [ public method shaveimage ] { - - - Parameters [2] { - Parameter #0 [ $columns ] - Parameter #1 [ $rows ] - } - } - - Method [ public method steganoimage ] { - - - Parameters [2] { - Parameter #0 [ Gmagick $Gmagick ] - Parameter #1 [ $offset ] - } - } - - Method [ public method stereoimage ] { - - - Parameters [1] { - Parameter #0 [ Gmagick $Gmagick ] - } - } - - Method [ public method waveimage ] { - - - Parameters [2] { - Parameter #0 [ $amplitude ] - Parameter #1 [ $waveLength ] - } - } - - Method [ public method whitethresholdimage ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method getimageboundingbox ] { - - - Parameters [1] { - Parameter #0 [ $fuzz ] - } - } - - Method [ public method getimagefuzz ] { - - - Parameters [0] { - } - } - - Method [ public method getimagesavedtype ] { - - - Parameters [0] { - } - } - - Method [ public method setdepth ] { - - - Parameters [1] { - Parameter #0 [ $depth ] - } - } - - Method [ public method setformat ] { - - - Parameters [1] { - Parameter #0 [ $format ] - } - } - - Method [ public method setimagefuzz ] { - - - Parameters [1] { - Parameter #0 [ $fuzz ] - } - } - - Method [ public method setimageoption ] { - - - Parameters [3] { - Parameter #0 [ $format ] - Parameter #1 [ $key ] - Parameter #2 [ $value ] - } - } - - Method [ public method setimagesavedtype ] { - - - Parameters [1] { - Parameter #0 [ $type ] - } - } - - Method [ public method setresolutionunits ] { - - - Parameters [2] { - Parameter #0 [ $x_resolution ] - Parameter #1 [ $y_resolution ] - } - } - - Method [ public method writeimagefile ] { - - - Parameters [2] { - Parameter #0 [ $handle ] - Parameter #1 [ $format ] - } - } - } - } - - Class [ class GmagickDraw ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [103] { - Method [ public method setstrokecolor ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method setstrokewidth ] { - - - Parameters [1] { - Parameter #0 [ $width ] - } - } - - Method [ public method setfillcolor ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method setgravity ] { - - - Parameters [1] { - Parameter #0 [ $gravity ] - } - } - - Method [ public method ellipse ] { - - - Parameters [6] { - Parameter #0 [ $ox ] - Parameter #1 [ $oy ] - Parameter #2 [ $px ] - Parameter #3 [ $py ] - Parameter #4 [ $start ] - Parameter #5 [ $end ] - } - } - - Method [ public method affine ] { - - - Parameters [1] { - Parameter #0 [ $affineMatrix ] - } - } - - Method [ public method annotate ] { - - - Parameters [3] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - Parameter #2 [ $text ] - } - } - - Method [ public method arc ] { - - - Parameters [6] { - Parameter #0 [ $sx ] - Parameter #1 [ $sy ] - Parameter #2 [ $ex ] - Parameter #3 [ $ey ] - Parameter #4 [ $sd ] - Parameter #5 [ $ed ] - } - } - - Method [ public method bezier ] { - - - Parameters [1] { - Parameter #0 [ $coordinate_array ] - } - } - - Method [ public method getfillcolor ] { - - - Parameters [0] { - } - } - - Method [ public method getgravity ] { - - - Parameters [0] { - } - } - - Method [ public method getfillopacity ] { - - - Parameters [0] { - } - } - - Method [ public method getfont ] { - - - Parameters [0] { - } - } - - Method [ public method getfontsize ] { - - - Parameters [0] { - } - } - - Method [ public method getfontstyle ] { - - - Parameters [0] { - } - } - - Method [ public method getfontweight ] { - - - Parameters [0] { - } - } - - Method [ public method getstrokeopacity ] { - - - Parameters [0] { - } - } - - Method [ public method getstrokecolor ] { - - - Parameters [0] { - } - } - - Method [ public method getstrokewidth ] { - - - Parameters [0] { - } - } - - Method [ public method gettextdecoration ] { - - - Parameters [0] { - } - } - - Method [ public method gettextencoding ] { - - - Parameters [0] { - } - } - - Method [ public method line ] { - - - Parameters [4] { - Parameter #0 [ $sx ] - Parameter #1 [ $sy ] - Parameter #2 [ $ex ] - Parameter #3 [ $ey ] - } - } - - Method [ public method point ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method polygon ] { - - - Parameters [1] { - Parameter #0 [ $coordinates ] - } - } - - Method [ public method polyline ] { - - - Parameters [1] { - Parameter #0 [ $coordinate_array ] - } - } - - Method [ public method rectangle ] { - - - Parameters [4] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x2 ] - Parameter #3 [ $y2 ] - } - } - - Method [ public method rotate ] { - - - Parameters [1] { - Parameter #0 [ $degrees ] - } - } - - Method [ public method roundrectangle ] { - - - Parameters [6] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x2 ] - Parameter #3 [ $y2 ] - Parameter #4 [ $rx ] - Parameter #5 [ $ry ] - } - } - - Method [ public method scale ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method setfillopacity ] { - - - Parameters [1] { - Parameter #0 [ $fill_opacity ] - } - } - - Method [ public method setfont ] { - - - Parameters [1] { - Parameter #0 [ $font ] - } - } - - Method [ public method setfontsize ] { - - - Parameters [1] { - Parameter #0 [ $pointsize ] - } - } - - Method [ public method setfontstyle ] { - - - Parameters [1] { - Parameter #0 [ $STYLE ] - } - } - - Method [ public method setfontweight ] { - - - Parameters [1] { - Parameter #0 [ $weight ] - } - } - - Method [ public method setstrokeopacity ] { - - - Parameters [1] { - Parameter #0 [ $stroke_opacity ] - } - } - - Method [ public method settextdecoration ] { - - - Parameters [1] { - Parameter #0 [ $DECORATION ] - } - } - - Method [ public method settextencoding ] { - - - Parameters [1] { - Parameter #0 [ $encoding ] - } - } - - Method [ public method setstrokeantialias ] { - - - Parameters [1] { - Parameter #0 [ $antialias ] - } - } - - Method [ public method setstrokedashoffset ] { - - - Parameters [1] { - Parameter #0 [ $offset ] - } - } - - Method [ public method setstrokelinecap ] { - - - Parameters [1] { - Parameter #0 [ $LINECAP ] - } - } - - Method [ public method setstrokelinejoin ] { - - - Parameters [1] { - Parameter #0 [ $LINEJOIN ] - } - } - - Method [ public method setstrokemiterlimit ] { - - - Parameters [1] { - Parameter #0 [ $miterLimit ] - } - } - - Method [ public method getstrokeantialias ] { - - - Parameters [0] { - } - } - - Method [ public method getstrokedashoffset ] { - - - Parameters [0] { - } - } - - Method [ public method getstrokelinecap ] { - - - Parameters [0] { - } - } - - Method [ public method getstrokelinejoin ] { - - - Parameters [0] { - } - } - - Method [ public method getstrokemiterlimit ] { - - - Parameters [0] { - } - } - - Method [ public method getstrokedasharray ] { - - - Parameters [0] { - } - } - - Method [ public method setstrokedasharray ] { - - - Parameters [1] { - Parameter #0 [ $dashArray ] - } - } - - Method [ public method circle ] { - - - Parameters [4] { - Parameter #0 [ $ox ] - Parameter #1 [ $oy ] - Parameter #2 [ $px ] - Parameter #3 [ $py ] - } - } - - Method [ public method getclippath ] { - - - Parameters [0] { - } - } - - Method [ public method setclippath ] { - - - Parameters [1] { - Parameter #0 [ $clipMask ] - } - } - - Method [ public method getcliprule ] { - - - Parameters [0] { - } - } - - Method [ public method setcliprule ] { - - - Parameters [1] { - Parameter #0 [ $FILLRULE ] - } - } - - Method [ public method getclipunits ] { - - - Parameters [0] { - } - } - - Method [ public method setclipunits ] { - - - Parameters [1] { - Parameter #0 [ $PATHUNITS ] - } - } - - Method [ public method color ] { - - - Parameters [3] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - Parameter #2 [ $PAINTMETHOD ] - } - } - - Method [ public method comment ] { - - - Parameters [1] { - Parameter #0 [ $comment ] - } - } - - Method [ public method setfillpatternurl ] { - - - Parameters [1] { - Parameter #0 [ $url ] - } - } - - Method [ public method getfillrule ] { - - - Parameters [0] { - } - } - - Method [ public method setfillrule ] { - - - Parameters [1] { - Parameter #0 [ $FILLRULE ] - } - } - - Method [ public method getfontfamily ] { - - - Parameters [0] { - } - } - - Method [ public method setfontfamily ] { - - - Parameters [1] { - Parameter #0 [ $fontfamily ] - } - } - - Method [ public method getfontstretch ] { - - - Parameters [0] { - } - } - - Method [ public method setfontstretch ] { - - - Parameters [1] { - Parameter #0 [ $STRETCH ] - } - } - - Method [ public method pathclose ] { - - - Parameters [0] { - } - } - - Method [ public method pathcurvetoabsolute ] { - - - Parameters [6] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x2 ] - Parameter #3 [ $y2 ] - Parameter #4 [ $x ] - Parameter #5 [ $y ] - } - } - - Method [ public method pathcurvetorelative ] { - - - Parameters [6] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x2 ] - Parameter #3 [ $y2 ] - Parameter #4 [ $x ] - Parameter #5 [ $y ] - } - } - - Method [ public method pathcurvetoquadraticbezierabsolute ] { - - - Parameters [4] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x ] - Parameter #3 [ $y ] - } - } - - Method [ public method pathcurvetoquadraticbezierrelative ] { - - - Parameters [4] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x ] - Parameter #3 [ $y ] - } - } - - Method [ public method pathcurvetoquadraticbeziersmoothabsolute ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method pathcurvetoquadraticbeziersmoothrelative ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method pathcurvetosmoothabsolute ] { - - - Parameters [4] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x ] - Parameter #3 [ $y ] - } - } - - Method [ public method pathcurvetosmoothrelative ] { - - - Parameters [4] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x ] - Parameter #3 [ $y ] - } - } - - Method [ public method pathellipticarcabsolute ] { - - - Parameters [7] { - Parameter #0 [ $rx ] - Parameter #1 [ $ry ] - Parameter #2 [ $xAxisRotation ] - Parameter #3 [ $largeArc ] - Parameter #4 [ $sweep ] - Parameter #5 [ $x ] - Parameter #6 [ $y ] - } - } - - Method [ public method pathellipticarcrelative ] { - - - Parameters [7] { - Parameter #0 [ $rx ] - Parameter #1 [ $ry ] - Parameter #2 [ $xAxisRotation ] - Parameter #3 [ $largeArc ] - Parameter #4 [ $sweep ] - Parameter #5 [ $x ] - Parameter #6 [ $y ] - } - } - - Method [ public method pathfinish ] { - - - Parameters [0] { - } - } - - Method [ public method pathlinetoabsolute ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method pathlinetorelative ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method pathlinetohorizontalabsolute ] { - - - Parameters [1] { - Parameter #0 [ $y ] - } - } - - Method [ public method pathlinetohorizontalrelative ] { - - - Parameters [1] { - Parameter #0 [ $x ] - } - } - - Method [ public method pathlinetoverticalabsolute ] { - - - Parameters [1] { - Parameter #0 [ $y ] - } - } - - Method [ public method pathlinetoverticalrelative ] { - - - Parameters [1] { - Parameter #0 [ $x ] - } - } - - Method [ public method pathmovetoabsolute ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method pathmovetorelative ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method pathstart ] { - - - Parameters [0] { - } - } - - Method [ public method popclippath ] { - - - Parameters [0] { - } - } - - Method [ public method popdefs ] { - - - Parameters [0] { - } - } - - Method [ public method poppattern ] { - - - Parameters [0] { - } - } - - Method [ public method pushclippath ] { - - - Parameters [1] { - Parameter #0 [ $clipMask ] - } - } - - Method [ public method pushdefs ] { - - - Parameters [0] { - } - } - - Method [ public method pushpattern ] { - - - Parameters [5] { - Parameter #0 [ $pattern_id ] - Parameter #1 [ $x ] - Parameter #2 [ $y ] - Parameter #3 [ $width ] - Parameter #4 [ $height ] - } - } - - Method [ public method skewx ] { - - - Parameters [1] { - Parameter #0 [ $degrees ] - } - } - - Method [ public method skewy ] { - - - Parameters [1] { - Parameter #0 [ $degrees ] - } - } - - Method [ public method setstrokepatternurl ] { - - - Parameters [1] { - Parameter #0 [ $url ] - } - } - - Method [ public method gettextantialias ] { - - - Parameters [0] { - } - } - - Method [ public method settextantialias ] { - - - Parameters [1] { - Parameter #0 [ $antialias ] - } - } - - Method [ public method gettextundercolor ] { - - - Parameters [0] { - } - } - - Method [ public method settextundercolor ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method translate ] { - - - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - } - } - - Method [ public method setviewbox ] { - - - Parameters [4] { - Parameter #0 [ $sx ] - Parameter #1 [ $sy ] - Parameter #2 [ $ex ] - Parameter #3 [ $ey ] - } - } - - Method [ public method popGraphicContext ] { - - - Parameters [0] { - } - } - - Method [ public method pushGraphicContext ] { - - - Parameters [0] { - } - } - } - } - - Class [ class GmagickPixel ] { - - - Constants [0] { - } - - - Static properties [0] { - } - - - Static methods [0] { - } - - - Properties [0] { - } - - - Methods [9] { - Method [ public method __construct ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method setcolor ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method getcolor ] { - - - Parameters [2] { - Parameter #0 [ $as_array ] - Parameter #1 [ $normalize_array ] - } - } - - Method [ public method getcolorcount ] { - - - Parameters [0] { - } - } - - Method [ public method setcolorcount ] { - - - Parameters [1] { - Parameter #0 [ $color_count ] - } - } - - Method [ public method getcolorvalue ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method setcolorvalue ] { - - - Parameters [2] { - Parameter #0 [ $color ] - Parameter #1 [ $value ] - } - } - - Method [ public method getcolorvaluequantum ] { - - - Parameters [1] { - Parameter #0 [ $color ] - } - } - - Method [ public method setcolorvaluequantum ] { - - - Parameters [2] { - Parameter #0 [ $color ] - Parameter #1 [ $value ] - } - } - } - } - } -} - diff --git a/php-pecl-gmagick-php7.spec b/php-pecl-gmagick-php7.spec deleted file mode 100644 index 60d4d6d..0000000 --- a/php-pecl-gmagick-php7.spec +++ /dev/null @@ -1,393 +0,0 @@ -# spec file for php-pecl-gmagick -# -# Copyright (c) 2010-2017 Remi Collet -# Copyright (c) 2009-2010 Pavel Alexeev -# License: MIT -# http://opensource.org/licenses/MIT -# -# Please, preserve the changelog entries -# -%if 0%{?scl:1} -%global sub_prefix %{scl_prefix} -%scl_package php-pecl-gmagick -%endif - -%global pecl_name gmagick -%global prever RC1 -%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} -%global ini_name 40-%{pecl_name}.ini - -Summary: Provides a wrapper to the GraphicsMagick library -Name: %{?sub_prefix}php-pecl-%{pecl_name} -Version: 2.0.4 -Release: 0.4.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} -License: PHP -Group: Development/Libraries -URL: http://pecl.php.net/package/%{pecl_name} -Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz - -BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) -BuildRequires: %{?scl_prefix}php-pear -BuildRequires: %{?scl_prefix}php-devel >= 7.0.1 -BuildRequires: GraphicsMagick-devel >= 1.3.17 - -Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} -Requires: %{?scl_prefix}php(api) = %{php_core_api} -%{?_sclreq:Requires: %{?scl_prefix}runtime%{?_sclreq}%{?_isa}} - -Provides: %{?scl_prefix}php-%{pecl_name} = %{version} -Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} -Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} -Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} -%if "%{?scl_prefix}" != "%{?sub_prefix}" -Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} -Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} -%endif - -Conflicts: %{?scl_prefix}php-pecl-imagick -Conflicts: %{?scl_prefix}php-magickwand - -%if "%{?vendor}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel} -# Other third party repo stuff -Obsoletes: php53-pecl-%{pecl_name} <= %{version} -Obsoletes: php53u-pecl-%{pecl_name} <= %{version} -Obsoletes: php54-pecl-%{pecl_name} <= %{version} -Obsoletes: php54w-pecl-%{pecl_name} <= %{version} -Obsoletes: php55u-pecl-%{pecl_name} <= %{version} -Obsoletes: php55w-pecl-%{pecl_name} <= %{version} -Obsoletes: php56u-pecl-%{pecl_name} <= %{version} -Obsoletes: php56w-pecl-%{pecl_name} <= %{version} -Obsoletes: php70u-pecl-%{pecl_name} <= %{version} -Obsoletes: php70w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "7.1" -Obsoletes: php71u-pecl-%{pecl_name} <= %{version} -Obsoletes: php71w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.2" -Obsoletes: php72u-pecl-%{pecl_name} <= %{version} -Obsoletes: php72w-pecl-%{pecl_name} <= %{version} -%endif -%endif - -%if 0%{?fedora} < 20 && 0%{?rhel} < 7 -# Filter private shared -%{?filter_provides_in: %filter_provides_in %{_libdir}/.*\.so$} -%{?filter_setup} -%endif - - -%description -%{pecl_name} is a php extension to create, modify and obtain meta information -of images using the GraphicsMagick API. - -Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')%{?scl: as Software Collection (%{scl} by %{?scl_vendor}%{!?scl_vendor:rh})}. - - -%prep -%setup -qc - -# Don't install/register tests -sed -e 's/role="test"/role="src"/' \ - %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ - -i package.xml - -mv %{pecl_name}-%{version}%{?prever} NTS -cd NTS - -extver=$(sed -n '/#define PHP_GMAGICK_VERSION/{s/.* "//;s/".*$//;p}' php_gmagick.h) -if test "x${extver}" != "x%{version}%{?prever}"; then - : Error: Upstream version is ${extver}, expecting %{version}%{?prever}. - exit 1 -fi -cd .. - -# Create configuration file -cat >%{ini_name} << 'EOF' -; Enable %{pecl_name} extension module -extension=%{pecl_name}.so -EOF - -%if %{with_zts} -# Duplicate build tree for nts/zts -cp -r NTS ZTS -%endif - - -%build -cd NTS -%{_bindir}/phpize -%{configure} --with-%{pecl_name} --with-php-config=%{_bindir}/php-config -make %{?_smp_mflags} - -%if %{with_zts} -cd ../ZTS -%{_bindir}/zts-phpize -%{configure} --with-%{pecl_name} --with-php-config=%{_bindir}/zts-php-config -make %{?_smp_mflags} -%endif - - -%install -rm -rf %{buildroot} - -make -C NTS install INSTALL_ROOT=%{buildroot} - -# Install XML package description -install -D -m 664 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml - -# Drop in the bit of configuration -install -D -m 664 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} - -%if %{with_zts} -make -C ZTS install INSTALL_ROOT=%{buildroot} -install -D -m 664 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} -%endif - -# Documentation -for i in $(grep 'role="doc"' package.xml | sed -e 's/^.*name="//;s/".*$//') -do install -Dpm 644 NTS/$i %{buildroot}%{pecl_docdir}/%{pecl_name}/$i -done - - -%clean -rm -rf %{buildroot} - - -%if 0%{?fedora} < 24 -# when pear installed alone, after us -%triggerin -- %{?scl_prefix}php-pear -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -# posttrans as pear can be installed after us -%posttrans -if [ -x %{__pecl} ] ; then - %{pecl_install} %{pecl_xmldir}/%{name}.xml >/dev/null || : -fi - -%postun -if [ $1 -eq 0 -a -x %{__pecl} ] ; then - %{pecl_uninstall} %{pecl_name} >/dev/null || : -fi -%endif - - -%check -: simple module load test for NTS extension -cd NTS -%{__php} --no-php-ini \ - --define extension=%{buildroot}%{php_extdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} - -: upstream test suite for NTS extension -export TEST_PHP_EXECUTABLE=%{__php} -export REPORT_EXIT_STATUS=1 -export NO_INTERACTION=1 -export TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" -%{__php} -n run-tests.php --show-diff - -%if %{with_zts} -: simple module load test for ZTS extension -cd ../ZTS -%{__ztsphp} --no-php-ini \ - --define extension=%{buildroot}%{php_ztsextdir}/%{pecl_name}.so \ - --modules | grep %{pecl_name} - -: upstream test suite for ZTS extension -export TEST_PHP_EXECUTABLE=%{__ztsphp} -export TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" -%{__ztsphp} -n run-tests.php --show-diff -%endif - - -%files -%defattr(-,root,root,-) -%{?_licensedir:%license NTS/LICENSE} -%doc %{pecl_docdir}/%{pecl_name} -%{pecl_xmldir}/%{name}.xml - -%config(noreplace) %{php_inidir}/%{ini_name} -%{php_extdir}/%{pecl_name}.so - -%if %{with_zts} -%config(noreplace) %{php_ztsinidir}/%{ini_name} -%{php_ztsextdir}/%{pecl_name}.so -%endif - - -%changelog -* Tue Jul 18 2017 Remi Collet - 2.0.4-0.4.RC1 -- rebuild for PHP 7.2.0beta1 new API - -* Thu Dec 1 2016 Remi Collet - 2.0.4-0.3.RC1 -- rebuild with PHP 7.1.0 GA - -* Wed Sep 14 2016 Remi Collet - 2.0.4-0.2.RC1 -- rebuild for PHP 7.1 new API version - -* Mon Jun 27 2016 Remi Collet - 2.0.4-0.1.RC1 -- Update to 2.0.4RC1 (php 7, beta) - -* Sun Jun 26 2016 Remi Collet - 2.0.3-0.1.RC1 -- Update to 2.0.3RC1 (php 7, beta) - -* Fri Jun 24 2016 Remi Collet - 2.0.2-0.4.RC2 -- add patch for PHP 7.1, https://github.com/vitoc/gmagick/pull/41 - -* Fri Mar 11 2016 Remi Collet - 2.0.2-0.3.RC2 -- Update to 2.0.2RC2 (php 7, beta) - -* Sat Mar 5 2016 Remi Collet - 2.0.2-0.2.RC1 -- adapt for F24 - -* Sat Feb 20 2016 Remi Collet - 2.0.2-0.1.RC1 -- Update to 2.0.2RC1 (php 7, beta) - -* Thu Feb 4 2016 Remi Collet - 2.0.1-0.3.RC3 -- Update to 2.0.1RC3 (php 7, beta) - -* Sun Jan 31 2016 Remi Collet - 2.0.1-0.2.RC2 -- Update to 2.0.1RC2 (php 7, beta) -- lower dependency on GraphicsMagick >= 1.3.17 -- open https://github.com/vitoc/gmagick/issues/25 -- open https://github.com/vitoc/gmagick/issues/26 - -* Tue Dec 29 2015 Remi Collet - 2.0.1-0.1.RC1 -- Update to 2.0.1RC1 (php 7, beta) -- lower dependency on GraphicsMagick >= 1.3.20 - -* Tue Dec 29 2015 Remi Collet - 2.0.0-0.1.RC1 -- Update to 2.0.0RC1 (php 7, beta) -- raise dependency on GraphicsMagick >= 1.3.22 - -* Fri Apr 24 2015 Remi Collet - 1.1.7-0.6.RC3 -- Update to 1.1.7RC3 (beta) -- don't install/register tests -- drop runtime dependency on pear, new scriptlets - -* Wed Dec 24 2014 Remi Collet - 1.1.7-0.5.RC2 -- Fedora 21 SCL mass rebuild - -* Mon Aug 25 2014 Remi Collet - 1.1.7-0.4.RC2 -- improve SCL build - -* Mon Mar 17 2014 Remi Collet - 1.1.7-0.3.RC2 -- Update to 1.1.7RC2 (beta) - -* Mon Mar 3 2014 Remi Collet - 1.1.7-0.2.RC1 -- add upstream patch for PHP 5.6 - -* Fri Feb 14 2014 Remi Collet - 1.1.7-0.1.RC1 -- Update to 1.1.7RC1 (beta) - -* Thu Jan 30 2014 Remi Collet - 1.1.6-0.3.RC3 -- Update to 1.1.6RC3 (beta) - -* Sat Dec 14 2013 Remi Collet - 1.1.6-0.2.RC2 -- Update to 1.1.6RC2 (beta) - -* Sat Dec 14 2013 Remi Collet - 1.1.6-0.1.RC1 -- Update to 1.1.6RC1 (beta) -- adapt for SCL -- add patch for setStrokeDashArray / getStrokeDashArray - -* Tue Nov 5 2013 Remi Collet - 1.1.5-0.1.RC1 -- Update to 1.1.5RC1 -- cleanups for Copr - -* Sun Oct 20 2013 Remi Collet - 1.1.4-0.1.RC1 -- Update to 1.1.4RC1 -- drop merged patches - -* Sun Oct 20 2013 Remi Collet - 1.1.3-0.1.RC1 -- Update to 1.1.3RC1 -- install doc in pecl doc_dir -- install tests in pecl test_dir -- take care of test results - -* Fri Dec 28 2012 Remi Collet - 1.1.2-0.1.RC1 -- Update to 1.1.2RC1 -- also provides php-gmagick - -* Wed Sep 12 2012 Remi Collet - 1.1.1-0.1.RC1 -- Update to 1.1.1RC1 - -* Sat Jun 02 2012 Remi Collet - 1.1.0-0.5.RC3 -- Update to 1.1.0RC3 - -* Sat Jan 21 2012 Remi Collet - 1.1.0-0.4.RC2 -- add patch for getColor options https://bugs.php.net/60829 - -* Fri Jan 20 2012 Remi Collet - 1.1.0-0.3.RC2 -- build against php 5.4 - -* Fri Jan 20 2012 Remi Collet - 1.1.0-0.2.RC2 -- Update to 1.1.0RC2 - fix https://bugs.php.net/60807 - -* Thu Jan 19 2012 Remi Collet - 1.1.0-0.1.RC1 -- Update to 1.1.0RC1 - -* Mon Dec 05 2011 Remi Collet - 1.0.10-0.2.b1 -- build against php 5.4 - -* Mon Dec 05 2011 Remi Collet - 1.0.10-0.1.b1 -- Update to 1.0.10b1 -- run tests - -* Tue Nov 15 2011 Remi Collet - 1.0.9-0.2.b1 -- build against php 5.4 -- add patch for php 5.4, see https://bugs.php.net/60308 - -* Sun Oct 02 2011 Remi Collet 1.0.9-0.1.b1 -- Update to 1.0.9b1 -- build zts extension -- clean spec - -* Thu May 05 2011 Remi Collet 1.0.8-0.4.b2 -- Update to 1.0.8b2 - -* Sat Apr 16 2011 Remi Collet 1.0.8-0.3.b1 -- fix build against latest php - -* Sun Oct 17 2010 Remi Collet 1.0.8-0.2.b1 -- F-14 build + add Conflicts php-magickwand - -* Mon Sep 13 2010 Remi Collet 1.0.8-0.1.b1 -- Update to 1.0.8b1 for remi repo - -* Sun Aug 08 2010 Remi Collet 1.0.7-0.1.b1 -- Update to 1.0.7b1 for remi repo -- remove patch for http://pecl.php.net/bugs/17991 -- add fix for http://pecl.php.net/bugs/18002 - -* Sat Aug 07 2010 Remi Collet 1.0.6-0.1.b1 -- Update to 1.0.6b1 for remi repo -- add patch for http://pecl.php.net/bugs/17991 - -* Mon Jul 26 2010 Remi Collet 1.0.5-0.1.b1 -- Update to 1.0.5b1 for remi repo - -* Mon Jul 26 2010 Pavel Alexeev - 1.0.5b1-5 -- Update to 1.0.5b1 -- Add Conflicts: php-pecl-imagick - BZ#559675 - -* Sun Jan 31 2010 Pavel Alexeev - 1.0.3b3-4 -- Update to 1.0.3b3 - -* Fri Jan 29 2010 Remi Collet 1.0.3-0.1.b3 -- update to 1.0.3b3 - -* Tue Nov 3 2009 Pavel Alexeev - 1.0.2b1-3 -- Fedora Review started, thanks to Andrew Colin Kissa. -- Remove macros %%{__make} in favour to plain make. -- Add %%{?_smp_mflags} to make. - -* Mon Oct 12 2009 Pavel Alexeev - 1.0.2b1-2 -- New version 1.0.2b1 - author include license text by my request. Thank you Vito Chin. -- Include LICENSE. - -* Fri Oct 2 2009 Pavel Alexeev - 1.0.1b1-1 -- Initial release. -- License text absent, but I ask Vito Chin by email to add it into tarball. diff --git a/php-pecl-gmagick.spec b/php-pecl-gmagick.spec index 13220ee..60d4d6d 100644 --- a/php-pecl-gmagick.spec +++ b/php-pecl-gmagick.spec @@ -7,16 +7,20 @@ # # Please, preserve the changelog entries # -%{?scl: %scl_package php-pecl-gmagick} +%if 0%{?scl:1} +%global sub_prefix %{scl_prefix} +%scl_package php-pecl-gmagick +%endif %global pecl_name gmagick -%global prever RC3 -%global with_zts 0%{?__ztsphp:1} +%global prever RC1 +%global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} +%global ini_name 40-%{pecl_name}.ini Summary: Provides a wrapper to the GraphicsMagick library -Name: %{?scl_prefix}php-pecl-%{pecl_name} -Version: 1.1.7 -Release: 0.7.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Name: %{?sub_prefix}php-pecl-%{pecl_name} +Version: 2.0.4 +Release: 0.4.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Libraries URL: http://pecl.php.net/package/%{pecl_name} @@ -24,8 +28,8 @@ Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-pear -BuildRequires: %{?scl_prefix}php-devel -BuildRequires: GraphicsMagick-devel >= 1.2.6 +BuildRequires: %{?scl_prefix}php-devel >= 7.0.1 +BuildRequires: GraphicsMagick-devel >= 1.3.17 Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -35,8 +39,10 @@ Provides: %{?scl_prefix}php-%{pecl_name} = %{version} Provides: %{?scl_prefix}php-%{pecl_name}%{?_isa} = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name}) = %{version} Provides: %{?scl_prefix}php-pecl(%{pecl_name})%{?_isa} = %{version} +%if "%{?scl_prefix}" != "%{?sub_prefix}" Provides: %{?scl_prefix}php-pecl-%{pecl_name} = %{version}-%{release} Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{release} +%endif Conflicts: %{?scl_prefix}php-pecl-imagick Conflicts: %{?scl_prefix}php-magickwand @@ -47,17 +53,19 @@ Obsoletes: php53-pecl-%{pecl_name} <= %{version} Obsoletes: php53u-pecl-%{pecl_name} <= %{version} Obsoletes: php54-pecl-%{pecl_name} <= %{version} Obsoletes: php54w-pecl-%{pecl_name} <= %{version} -%if "%{php_version}" > "5.5" Obsoletes: php55u-pecl-%{pecl_name} <= %{version} Obsoletes: php55w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "5.6" Obsoletes: php56u-pecl-%{pecl_name} <= %{version} Obsoletes: php56w-pecl-%{pecl_name} <= %{version} -%endif -%if "%{php_version}" > "7.0" Obsoletes: php70u-pecl-%{pecl_name} <= %{version} Obsoletes: php70w-pecl-%{pecl_name} <= %{version} +%if "%{php_version}" > "7.1" +Obsoletes: php71u-pecl-%{pecl_name} <= %{version} +Obsoletes: php71w-pecl-%{pecl_name} <= %{version} +%endif +%if "%{php_version}" > "7.2" +Obsoletes: php72u-pecl-%{pecl_name} <= %{version} +Obsoletes: php72w-pecl-%{pecl_name} <= %{version} %endif %endif @@ -94,7 +102,7 @@ fi cd .. # Create configuration file -cat >%{pecl_name}.ini << 'EOF' +cat >%{ini_name} << 'EOF' ; Enable %{pecl_name} extension module extension=%{pecl_name}.so EOF @@ -128,11 +136,11 @@ make -C NTS install INSTALL_ROOT=%{buildroot} install -D -m 664 package.xml %{buildroot}%{pecl_xmldir}/%{name}.xml # Drop in the bit of configuration -install -D -m 664 %{pecl_name}.ini %{buildroot}%{php_inidir}/%{pecl_name}.ini +install -D -m 664 %{ini_name} %{buildroot}%{php_inidir}/%{ini_name} %if %{with_zts} make -C ZTS install INSTALL_ROOT=%{buildroot} -install -D -m 664 %{pecl_name}.ini %{buildroot}%{php_ztsinidir}/%{pecl_name}.ini +install -D -m 664 %{ini_name} %{buildroot}%{php_ztsinidir}/%{ini_name} %endif # Documentation @@ -199,19 +207,60 @@ export TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" %doc %{pecl_docdir}/%{pecl_name} %{pecl_xmldir}/%{name}.xml -%config(noreplace) %{php_inidir}/%{pecl_name}.ini +%config(noreplace) %{php_inidir}/%{ini_name} %{php_extdir}/%{pecl_name}.so %if %{with_zts} -%config(noreplace) %{php_ztsinidir}/%{pecl_name}.ini +%config(noreplace) %{php_ztsinidir}/%{ini_name} %{php_ztsextdir}/%{pecl_name}.so %endif %changelog -* Wed Mar 9 2016 Remi Collet - 1.1.7-0.8.RC3 +* Tue Jul 18 2017 Remi Collet - 2.0.4-0.4.RC1 +- rebuild for PHP 7.2.0beta1 new API + +* Thu Dec 1 2016 Remi Collet - 2.0.4-0.3.RC1 +- rebuild with PHP 7.1.0 GA + +* Wed Sep 14 2016 Remi Collet - 2.0.4-0.2.RC1 +- rebuild for PHP 7.1 new API version + +* Mon Jun 27 2016 Remi Collet - 2.0.4-0.1.RC1 +- Update to 2.0.4RC1 (php 7, beta) + +* Sun Jun 26 2016 Remi Collet - 2.0.3-0.1.RC1 +- Update to 2.0.3RC1 (php 7, beta) + +* Fri Jun 24 2016 Remi Collet - 2.0.2-0.4.RC2 +- add patch for PHP 7.1, https://github.com/vitoc/gmagick/pull/41 + +* Fri Mar 11 2016 Remi Collet - 2.0.2-0.3.RC2 +- Update to 2.0.2RC2 (php 7, beta) + +* Sat Mar 5 2016 Remi Collet - 2.0.2-0.2.RC1 - adapt for F24 +* Sat Feb 20 2016 Remi Collet - 2.0.2-0.1.RC1 +- Update to 2.0.2RC1 (php 7, beta) + +* Thu Feb 4 2016 Remi Collet - 2.0.1-0.3.RC3 +- Update to 2.0.1RC3 (php 7, beta) + +* Sun Jan 31 2016 Remi Collet - 2.0.1-0.2.RC2 +- Update to 2.0.1RC2 (php 7, beta) +- lower dependency on GraphicsMagick >= 1.3.17 +- open https://github.com/vitoc/gmagick/issues/25 +- open https://github.com/vitoc/gmagick/issues/26 + +* Tue Dec 29 2015 Remi Collet - 2.0.1-0.1.RC1 +- Update to 2.0.1RC1 (php 7, beta) +- lower dependency on GraphicsMagick >= 1.3.20 + +* Tue Dec 29 2015 Remi Collet - 2.0.0-0.1.RC1 +- Update to 2.0.0RC1 (php 7, beta) +- raise dependency on GraphicsMagick >= 1.3.22 + * Fri Apr 24 2015 Remi Collet - 1.1.7-0.6.RC3 - Update to 1.1.7RC3 (beta) - don't install/register tests -- cgit