diff --git a/user/plugins/seans-qrcode/QRImageWithLogo.php b/user/plugins/seans-qrcode/QRImageWithLogo.php
new file mode 100644
index 0000000..967041e
--- /dev/null
+++ b/user/plugins/seans-qrcode/QRImageWithLogo.php
@@ -0,0 +1,81 @@
+
+ * @copyright 2020 smiley
+ * @license MIT
+ *
+ * @noinspection PhpComposerExtensionStubsInspection
+ */
+
+// namespace chillerlan\QRCode;
+
+use chillerlan\QRCode\Output\{QRCodeOutputException, QRImage};
+
+use function imagecopyresampled, imagecreatefrompng, imagesx, imagesy, is_file, is_readable;
+
+/**
+ * @property \chillerlan\QRCodeExamples\LogoOptions $options
+ */
+class QRImageWithLogo extends QRImage{
+
+ /**
+ * @param string|null $file
+ * @param string|null $logo
+ *
+ * @return string
+ * @throws \chillerlan\QRCode\Output\QRCodeOutputException
+ */
+ public function dump(string $file = null, string $logo = null):string{
+ // set returnResource to true to skip further processing for now
+ $this->options->returnResource = true;
+
+ // of course you could accept other formats too (such as resource or Imagick)
+ // i'm not checking for the file type either for simplicity reasons (assuming PNG)
+ if(!is_file($logo) || !is_readable($logo)){
+ throw new QRCodeOutputException('invalid logo');
+ }
+
+ $this->matrix->setLogoSpace(
+ $this->options->logoSpaceWidth,
+ $this->options->logoSpaceHeight
+ // not utilizing the position here
+ );
+
+ // there's no need to save the result of dump() into $this->image here
+ parent::dump($file);
+
+ $im = imagecreatefrompng($logo);
+
+ // get logo image size
+ $w = imagesx($im);
+ $h = imagesy($im);
+
+ // set new logo size, leave a border of 1 module (no proportional resize/centering)
+ $lw = ($this->options->logoSpaceWidth - 2) * $this->options->scale;
+ $lh = ($this->options->logoSpaceHeight - 2) * $this->options->scale;
+
+ // get the qrcode size
+ $ql = $this->matrix->size() * $this->options->scale;
+
+ // scale the logo and copy it over. done!
+ imagecopyresampled($this->image, $im, ($ql - $lw) / 2, ($ql - $lh) / 2, 0, 0, $lw, $lh, $w, $h);
+
+ $imageData = $this->dumpImage();
+
+ if($file !== null){
+ $this->saveToFile($imageData, $file);
+ }
+
+ if($this->options->imageBase64){
+ $imageData = 'data:image/'.$this->options->outputType.';base64,'.base64_encode($imageData);
+ }
+
+ return $imageData;
+ }
+
+}
diff --git a/user/plugins/seans-qrcode/composer.json b/user/plugins/seans-qrcode/composer.json
new file mode 100644
index 0000000..7542c90
--- /dev/null
+++ b/user/plugins/seans-qrcode/composer.json
@@ -0,0 +1,8 @@
+{
+ "require": {
+ "php": "^8.0",
+ "chillerlan/php-qrcode": "4.3",
+ "ext-mbstring": "*",
+ "ext-gd": "*"
+ }
+}
\ No newline at end of file
diff --git a/user/plugins/seans-qrcode/composer.lock b/user/plugins/seans-qrcode/composer.lock
new file mode 100644
index 0000000..b50ad80
--- /dev/null
+++ b/user/plugins/seans-qrcode/composer.lock
@@ -0,0 +1,165 @@
+{
+ "_readme": [
+ "This file locks the dependencies of your project to a known state",
+ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
+ "This file is @generated automatically"
+ ],
+ "content-hash": "b07aa6985964a158f5a712694e40c218",
+ "packages": [
+ {
+ "name": "chillerlan/php-qrcode",
+ "version": "4.3.0",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/chillerlan/php-qrcode.git",
+ "reference": "4968063fb3baeedb658293f89f9673fbf2499a3e"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/chillerlan/php-qrcode/zipball/4968063fb3baeedb658293f89f9673fbf2499a3e",
+ "reference": "4968063fb3baeedb658293f89f9673fbf2499a3e",
+ "shasum": ""
+ },
+ "require": {
+ "chillerlan/php-settings-container": "^2.1",
+ "ext-mbstring": "*",
+ "php": "^7.4 || ^8.0"
+ },
+ "require-dev": {
+ "phan/phan": "^3.2.2",
+ "phpunit/phpunit": "^9.4",
+ "setasign/fpdf": "^1.8.2"
+ },
+ "suggest": {
+ "chillerlan/php-authenticator": "Yet another Google authenticator! Also creates URIs for mobile apps.",
+ "setasign/fpdf": "Required to use the QR FPDF output."
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "chillerlan\\QRCode\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Kazuhiko Arase",
+ "homepage": "https://github.com/kazuhikoarase"
+ },
+ {
+ "name": "Smiley",
+ "email": "smiley@chillerlan.net",
+ "homepage": "https://github.com/codemasher"
+ },
+ {
+ "name": "Contributors",
+ "homepage": "https://github.com/chillerlan/php-qrcode/graphs/contributors"
+ }
+ ],
+ "description": "A QR code generator. PHP 7.4+",
+ "homepage": "https://github.com/chillerlan/php-qrcode",
+ "keywords": [
+ "phpqrcode",
+ "qr",
+ "qr code",
+ "qrcode",
+ "qrcode-generator"
+ ],
+ "support": {
+ "issues": "https://github.com/chillerlan/php-qrcode/issues",
+ "source": "https://github.com/chillerlan/php-qrcode/tree/4.3.0"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.com/donate?hosted_button_id=WLYUNAT9ZTJZ4",
+ "type": "custom"
+ },
+ {
+ "url": "https://ko-fi.com/codemasher",
+ "type": "ko_fi"
+ }
+ ],
+ "time": "2020-11-18T20:49:20+00:00"
+ },
+ {
+ "name": "chillerlan/php-settings-container",
+ "version": "2.1.4",
+ "source": {
+ "type": "git",
+ "url": "https://github.com/chillerlan/php-settings-container.git",
+ "reference": "1beb7df3c14346d4344b0b2e12f6f9a74feabd4a"
+ },
+ "dist": {
+ "type": "zip",
+ "url": "https://api.github.com/repos/chillerlan/php-settings-container/zipball/1beb7df3c14346d4344b0b2e12f6f9a74feabd4a",
+ "reference": "1beb7df3c14346d4344b0b2e12f6f9a74feabd4a",
+ "shasum": ""
+ },
+ "require": {
+ "ext-json": "*",
+ "php": "^7.4 || ^8.0"
+ },
+ "require-dev": {
+ "phan/phan": "^5.3",
+ "phpunit/phpunit": "^9.5"
+ },
+ "type": "library",
+ "autoload": {
+ "psr-4": {
+ "chillerlan\\Settings\\": "src/"
+ }
+ },
+ "notification-url": "https://packagist.org/downloads/",
+ "license": [
+ "MIT"
+ ],
+ "authors": [
+ {
+ "name": "Smiley",
+ "email": "smiley@chillerlan.net",
+ "homepage": "https://github.com/codemasher"
+ }
+ ],
+ "description": "A container class for immutable settings objects. Not a DI container. PHP 7.4+",
+ "homepage": "https://github.com/chillerlan/php-settings-container",
+ "keywords": [
+ "PHP7",
+ "Settings",
+ "configuration",
+ "container",
+ "helper"
+ ],
+ "support": {
+ "issues": "https://github.com/chillerlan/php-settings-container/issues",
+ "source": "https://github.com/chillerlan/php-settings-container"
+ },
+ "funding": [
+ {
+ "url": "https://www.paypal.com/donate?hosted_button_id=WLYUNAT9ZTJZ4",
+ "type": "custom"
+ },
+ {
+ "url": "https://ko-fi.com/codemasher",
+ "type": "ko_fi"
+ }
+ ],
+ "time": "2022-07-05T22:32:14+00:00"
+ }
+ ],
+ "packages-dev": [],
+ "aliases": [],
+ "minimum-stability": "stable",
+ "stability-flags": [],
+ "prefer-stable": false,
+ "prefer-lowest": false,
+ "platform": {
+ "php": "^8.0",
+ "ext-mbstring": "*",
+ "ext-gd": "*"
+ },
+ "platform-dev": [],
+ "plugin-api-version": "2.6.0"
+}
diff --git a/user/plugins/seans-qrcode/logo.png b/user/plugins/seans-qrcode/logo.png
new file mode 100644
index 0000000..f9050b9
Binary files /dev/null and b/user/plugins/seans-qrcode/logo.png differ
diff --git a/user/plugins/seans-qrcode/plugin.php b/user/plugins/seans-qrcode/plugin.php
new file mode 100644
index 0000000..6ca369b
--- /dev/null
+++ b/user/plugins/seans-qrcode/plugin.php
@@ -0,0 +1,207 @@
+.qr to the end of the keyword.) Works with Case-Insensitive to create smaller QR codes.
+Version: 1.2
+Author: Sean Hendrickson
+Author URI: https://github.com/seandrickson
+*/
+
+// No direct call
+if( !defined( 'YOURLS_ABSPATH' ) ) die();
+
+/**
+ * The following configuration constants can be overridden
+ * by defining them in user/config.php
+ */
+
+// size of a QR code pixel (SVG, IMAGE_*), HTML -> via CSS
+defined('SEAN_QR_SCALE') or define('SEAN_QR_SCALE', 5);
+
+// size in QR modules, multiply with QROptions::$scale for pixel size
+defined('SEAN_QR_LOGO_SPACE') or define('SEAN_QR_LOGO_SPACE', 13);
+
+// should we include a QR code in the share boxes
+defined('SEAN_QR_ADD_TO_SHAREBOX') or define('SEAN_QR_ADD_TO_SHAREBOX', true);
+
+// outside margin of QR code in 'virtual' pixels:
+defined('SEAN_QR_MARGIN') or define('SEAN_QR_MARGIN', 4);
+
+require_once __DIR__.'/vendor/autoload.php';
+
+//include qrcode library
+require_once( dirname(__FILE__).'/QRImageWithLogo.php' );
+
+use chillerlan\QRCode\{QRCode, QROptions};
+
+class LogoOptions extends QROptions{
+ // size in QR modules, multiply with QROptions::$scale for pixel size
+ protected int $logoSpaceWidth;
+ protected int $logoSpaceHeight;
+}
+
+// Kick in if the loader does not recognize a valid pattern
+yourls_add_action( 'loader_failed', 'sean_yourls_qrcode' );
+function sean_yourls_qrcode( $request ) {
+ // Get authorized charset in keywords and make a regexp pattern
+ $pattern = yourls_make_regexp_pattern( yourls_get_shorturl_charset() );
+
+ // if the shorturl is like bleh.qr
+ if( preg_match( "@^([$pattern]+)(\.qr)?$@i", $request[0], $matches ) ) {
+ // if this shorturl exists...
+ $keyword = yourls_sanitize_keyword( $matches[1] );
+ if( yourls_is_shorturl( $keyword ) ) {
+
+ $url = yourls_link( $keyword );
+ $yourls_url = yourls_site_url( false );
+
+ // If Case-Insensitive plugin is enabled and YOURLS is not a sub-directory install...
+ if( yourls_is_active_plugin( 'case-insensitive/plugin.php' )
+ && ( 'http://'.$_SERVER['HTTP_HOST'] == $yourls_url
+ || 'https://'.$_SERVER['HTTP_HOST'] == $yourls_url ) ) {
+
+ // Make the QR smaller
+ // Alphanumeric URLs have less bits/char:
+ // http://en.wikipedia.org/wiki/QR_code#Storage
+ $url = strtoupper( $url );
+ }
+
+ $options = new LogoOptions;
+
+ $options->version = 7;
+ $options->eccLevel = QRCode::ECC_H;
+ $options->imageBase64 = false;
+ $options->logoSpaceWidth = SEAN_QR_LOGO_SPACE;
+ $options->logoSpaceHeight = SEAN_QR_LOGO_SPACE;
+ $options->scale = SEAN_QR_SCALE;
+ $options->imageTransparent = false;
+ $options->quietzoneSize = SEAN_QR_MARGIN;
+
+ header('Content-type: image/png');
+
+ $qrOutputInterface = new QRImageWithLogo($options, (new QRCode($options))->getMatrix($url));
+
+ // dump the output, with an additional logo
+ echo $qrOutputInterface->dump(null, __DIR__.'/logo.png');
+
+ exit;
+ }
+ }
+}
+
+
+// Add our QR Code Button to the Admin interface
+yourls_add_filter( 'action_links', 'sean_add_qrcode_button' );
+function sean_add_qrcode_button( $action_links, $keyword, $url, $ip, $clicks, $timestamp ) {
+ $surl = yourls_link( $keyword );
+ $id = yourls_string2htmlid( $keyword ); // used as HTML #id
+
+ // We're adding .qr to the end of the URL, right?
+ $qr = '.qr';
+ $qrlink = $surl . $qr;
+
+ // Define the QR Code
+ $qrcode = array(
+ 'href' => $qrlink,
+ 'id' => "qrlink-$id",
+ 'title' => 'QR Code',
+ 'anchor' => 'QR Code'
+ );
+
+ // Add our QR code generator button to the action links list
+ $action_links .= sprintf( '%s',
+ $qrlink, $qrcode['id'], $qrcode['title'], 'button button_qrcode', $qrcode['anchor']
+ );
+
+ return $action_links;
+}
+
+
+// Add the CSS and some extra javascript to
+yourls_add_action( 'html_head', 'sean_add_qrcode_css_head' );
+function sean_add_qrcode_css_head( $context ) {
+
+ // expose what page we are on
+ foreach($context as $k):
+
+ // If we are on the index page, use this css code for the button
+ if( $k == 'index' ):
+?>
+
+
+
+QR$h>";
+ $img = !empty($args[1])?$args[1] . '.qr':'';
+ $img = yourls_match_current_protocol($img);
+?>
+
+ * @return bool TRUE on success.
+ */
+ public function pingImageBlob ($image) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Get basic image attributes in a lightweight manner
+ * @link https://php.net/manual/en/imagick.pingimagefile.php
+ * @param resource $filehandle
+ * An open filehandle to the image.
+ *
+ * @param string $fileName [optional]
+ * Optional filename for this image.
+ *
+ * @return bool TRUE on success.
+ */
+ public function pingImageFile ($filehandle, $fileName = null) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a vertical mirror image
+ * @link https://php.net/manual/en/imagick.transposeimage.php
+ * @return bool TRUE on success.
+ */
+ public function transposeImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a horizontal mirror image
+ * @link https://php.net/manual/en/imagick.transverseimage.php
+ * @return bool TRUE on success.
+ */
+ public function transverseImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Remove edges from the image
+ * @link https://php.net/manual/en/imagick.trimimage.php
+ * @param float $fuzz
+ * By default target must match a particular pixel color exactly.
+ * However, in many cases two colors may differ by a small amount.
+ * The fuzz member of image defines how much tolerance is acceptable
+ * to consider two colors as the same. This parameter represents the variation
+ * on the quantum range.
+ *
+ * @return bool TRUE on success.
+ */
+ public function trimImage ($fuzz) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Applies wave filter to the image
+ * @link https://php.net/manual/en/imagick.waveimage.php
+ * @param float $amplitude
+ * The amplitude of the wave.
+ *
+ * @param float $length
+ * The length of the wave.
+ *
+ * @return bool TRUE on success.
+ */
+ public function waveImage ($amplitude, $length) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds vignette filter to the image
+ * @link https://php.net/manual/en/imagick.vignetteimage.php
+ * @param float $blackPoint
+ * The black point.
+ *
+ * @param float $whitePoint
+ * The white point
+ *
+ * @param int $x
+ * X offset of the ellipse
+ *
+ * @param int $y
+ * Y offset of the ellipse
+ *
+ * @return bool TRUE on success.
+ */
+ public function vignetteImage ($blackPoint, $whitePoint, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Discards all but one of any pixel color
+ * @link https://php.net/manual/en/imagick.uniqueimagecolors.php
+ * @return bool TRUE on success.
+ */
+ public function uniqueImageColors () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Return if the image has a matte channel
+ * @link https://php.net/manual/en/imagick.getimagematte.php
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function getImageMatte () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image matte channel
+ * @link https://php.net/manual/en/imagick.setimagematte.php
+ * @param bool $matte
+ * True activates the matte channel and false disables it.
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageMatte ($matte) {}
+
+ /**
+ * Adaptively resize image with data dependent triangulation
+ *
+ * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
+ * If false, the calculations should produce the same results as ImageMagick CLI does.
+ *
+ * Note: The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.
+ * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
+ * @link https://php.net/manual/en/imagick.adaptiveresizeimage.php
+ * @param int $columns The number of columns in the scaled image.
+ * @param int $rows The number of rows in the scaled image.
+ * @param bool $bestfit [optional] Whether to fit the image inside a bounding box.
+ * The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
+ * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
+ * @return bool TRUE on success
+ * @throws ImagickException Throws ImagickException on error
+ * @since 2.0.0
+ */
+ public function adaptiveResizeImage ($columns, $rows, $bestfit = false, $legacy = false) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Simulates a pencil sketch
+ * @link https://php.net/manual/en/imagick.sketchimage.php
+ * @param float $radius
+ * The radius of the Gaussian, in pixels, not counting the center pixel
+ *
+ * @param float $sigma
+ * The standard deviation of the Gaussian, in pixels.
+ *
+ * @param float $angle
+ * Apply the effect along this angle.
+ *
+ * @return bool TRUE on success.
+ */
+ public function sketchImage ($radius, $sigma, $angle) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a 3D effect
+ * @link https://php.net/manual/en/imagick.shadeimage.php
+ * @param bool $gray
+ * A value other than zero shades the intensity of each pixel.
+ *
+ * @param float $azimuth
+ * Defines the light source direction.
+ *
+ * @param float $elevation
+ * Defines the light source direction.
+ *
+ * @return bool TRUE on success.
+ */
+ public function shadeImage ($gray, $azimuth, $elevation) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the size offset
+ * @link https://php.net/manual/en/imagick.getsizeoffset.php
+ * @return int the size offset associated with the Imagick object.
+ */
+ public function getSizeOffset () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the size and offset of the Imagick object
+ * @link https://php.net/manual/en/imagick.setsizeoffset.php
+ * @param int $columns
+ * The radius of the Gaussian, in pixels, not counting the center pixel.
+ * Provide a value of 0 and the radius will be chosen automagically.
+ *
+ * @param float $sigma
+ * The standard deviation of the Gaussian, in pixels.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function adaptiveBlurImage ($radius, $sigma, $channel = Imagick::CHANNEL_DEFAULT) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Enhances the contrast of a color image
+ * @link https://php.net/manual/en/imagick.contraststretchimage.php
+ * @param float $black_point
+ * The black point.
+ *
+ * @param float $white_point
+ * The white point.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Imagick::CHANNEL_ALL. Refer to this
+ * list of channel constants.
+ *
+ * The radius of the Gaussian, in pixels, not counting the center pixel. Use 0 for auto-select.
+ *
+ * @param float $sigma
+ * The standard deviation of the Gaussian, in pixels.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function roundCorners ($x_rounding, $y_rounding, $stroke_width = 10.0, $displace = 5.0, $size_correction = -6.0) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Set the iterator position
+ * @link https://php.net/manual/en/imagick.setiteratorindex.php
+ * @param int $index
+ * The position to set the iterator to
+ *
+ * @return bool TRUE on success.
+ */
+ public function setIteratorIndex ($index) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the index of the current active image
+ * @link https://php.net/manual/en/imagick.getiteratorindex.php
+ * @return int an integer containing the index of the image in the stack.
+ */
+ public function getIteratorIndex () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Convenience method for setting crop size and the image geometry
+ * @link https://php.net/manual/en/imagick.transformimage.php
+ * @param string $crop
+ * A crop geometry string. This geometry defines a subregion of the image to crop.
+ *
+ * @param string $geometry
+ * An image geometry string. This geometry defines the final size of the image.
+ *
+ * @return Imagick TRUE on success.
+ */
+ public function transformImage ($crop, $geometry) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image opacity level
+ * @link https://php.net/manual/en/imagick.setimageopacity.php
+ * @param float $opacity
+ * The level of transparency: 1.0 is fully opaque and 0.0 is fully
+ * transparent.
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageOpacity ($opacity) {}
+
+ /**
+ * (PECL imagick 2.2.2)
+ * Performs an ordered dither
+ * @link https://php.net/manual/en/imagick.orderedposterizeimage.php
+ * @param string $threshold_map
+ * A string containing the name of the threshold dither map to use
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function polaroidImage (ImagickDraw $properties, $angle) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the named image property
+ * @link https://php.net/manual/en/imagick.getimageproperty.php
+ * @param string $name
+ * name of the property (for example Exif:DateTime)
+ *
+ * @return string|false a string containing the image property, false if a
+ * property with the given name does not exist.
+ */
+ public function getImageProperty ($name) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets an image property
+ * @link https://php.net/manual/en/imagick.setimageproperty.php
+ * @param string $name
+ * @param string $value
+ * @return bool TRUE on success.
+ */
+ public function setImageProperty ($name, $value) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image interpolate pixel method
+ * @link https://php.net/manual/en/imagick.setimageinterpolatemethod.php
+ * @param int $method
+ * The method is one of the Imagick::INTERPOLATE_* constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageInterpolateMethod ($method) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the interpolation method
+ * @link https://php.net/manual/en/imagick.getimageinterpolatemethod.php
+ * @return int the interpolate method on success.
+ */
+ public function getImageInterpolateMethod () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Stretches with saturation the image intensity
+ * @link https://php.net/manual/en/imagick.linearstretchimage.php
+ * @param float $blackPoint
+ * The image black point
+ *
+ * @param float $whitePoint
+ * The image white point
+ *
+ * @return bool TRUE on success.
+ */
+ public function linearStretchImage ($blackPoint, $whitePoint) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the image length in bytes
+ * @link https://php.net/manual/en/imagick.getimagelength.php
+ * @return int an int containing the current image size.
+ */
+ public function getImageLength () {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Set image size
+ * @link https://php.net/manual/en/imagick.extentimage.php
+ * @param int $width
+ * The new width
+ *
+ * @param int $height
+ * The new height
+ *
+ * @param int $x
+ * X position for the new size
+ *
+ * @param int $y
+ * Y position for the new size
+ *
+ * @return bool TRUE on success.
+ */
+ public function extentImage ($width, $height, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image orientation
+ * @link https://php.net/manual/en/imagick.getimageorientation.php
+ * @return int an int on success.
+ */
+ public function getImageOrientation () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image orientation
+ * @link https://php.net/manual/en/imagick.setimageorientation.php
+ * @param int $orientation
+ * One of the orientation constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageOrientation ($orientation) {}
+
+ /**
+ * (PECL imagick 2.1.0)
+ * Changes the color value of any pixel that matches target
+ * @link https://php.net/manual/en/imagick.paintfloodfillimage.php
+ * @param mixed $fill
+ * ImagickPixel object or a string containing the fill color
+ *
+ * @param float $fuzz
+ * The amount of fuzz. For example, set fuzz to 10 and the color red at
+ * intensities of 100 and 102 respectively are now interpreted as the
+ * same color for the purposes of the floodfill.
+ *
+ * @param mixed $bordercolor
+ * ImagickPixel object or a string containing the border color
+ *
+ * @param int $x
+ * X start position of the floodfill
+ *
+ * @param int $y
+ * Y start position of the floodfill
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function paintFloodfillImage ($fill, $fuzz, $bordercolor, $x, $y, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Replaces colors in the image from a color lookup table. Optional second parameter to replace colors in a specific channel. This method is available if Imagick has been compiled against ImageMagick version 6.3.6 or newer.
+ * @link https://php.net/manual/en/imagick.clutimage.php
+ * @param Imagick $lookup_table
+ * Imagick object containing the color lookup table
+ *
+ * @param int $channel [optional]
+ * The Channeltype
+ * constant. When not supplied, default channels are replaced.
+ *
+ * Whether to return only property names. If FALSE then also the values are returned
+ *
+ * @return array an array containing the image properties or property names.
+ */
+ public function getImageProperties ($pattern = "*", $only_names = true) {}
+
+ /**
+ * (PECL imagick 2.2.0)
+ * Returns the image profiles
+ * @link https://php.net/manual/en/imagick.getimageprofiles.php
+ * @param string $pattern [optional]
+ * The pattern for profile names.
+ *
+ * @param bool $include_values [optional]
+ * Whether to return only profile names. If FALSE then only profile names will be returned.
+ *
+ * @return array an array containing the image profiles or profile names.
+ */
+ public function getImageProfiles ($pattern = "*", $include_values = true) {}
+
+ /**
+ * (PECL imagick 2.0.1)
+ * Distorts an image using various distortion methods
+ * @link https://php.net/manual/en/imagick.distortimage.php
+ * @param int $method
+ * The method of image distortion. See distortion constants
+ *
+ * @param array $arguments
+ * The arguments for this distortion method
+ *
+ * @param bool $bestfit
+ * Attempt to resize destination to fit distorted source
+ *
+ * @return bool TRUE on success.
+ */
+ public function distortImage ($method, array $arguments, $bestfit) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Writes an image to a filehandle
+ * @link https://php.net/manual/en/imagick.writeimagefile.php
+ * @param resource $filehandle
+ * Filehandle where to write the image
+ *
+ * @return bool TRUE on success.
+ */
+ public function writeImageFile ($filehandle) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Writes frames to a filehandle
+ * @link https://php.net/manual/en/imagick.writeimagesfile.php
+ * @param resource $filehandle
+ * Filehandle where to write the images
+ *
+ * @return bool TRUE on success.
+ */
+ public function writeImagesFile ($filehandle) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Reset image page
+ * @link https://php.net/manual/en/imagick.resetimagepage.php
+ * @param string $page
+ * The page definition. For example 7168x5147+0+0
+ *
+ * @return bool TRUE on success.
+ */
+ public function resetImagePage ($page) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Sets image clip mask
+ * @link https://php.net/manual/en/imagick.setimageclipmask.php
+ * @param Imagick $clip_mask
+ * The Imagick object containing the clip mask
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageClipMask (Imagick $clip_mask) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Gets image clip mask
+ * @link https://php.net/manual/en/imagick.getimageclipmask.php
+ * @return Imagick an Imagick object containing the clip mask.
+ */
+ public function getImageClipMask () {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Animates an image or images
+ * @link https://php.net/manual/en/imagick.animateimages.php
+ * @param string $x_server
+ * X server address
+ *
+ * @return bool TRUE on success.
+ */
+ public function animateImages ($x_server) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Recolors image
+ * @link https://php.net/manual/en/imagick.recolorimage.php
+ * @param array $matrix
+ * The matrix containing the color values
+ *
+ * @return bool TRUE on success.
+ */
+ public function recolorImage (array $matrix) {}
+
+ /**
+ * (PECL imagick 2.1.0)
+ * Sets font
+ * @link https://php.net/manual/en/imagick.setfont.php
+ * @param string $font
+ * Font name or a filename
+ *
+ * @return bool TRUE on success.
+ */
+ public function setFont ($font) {}
+
+ /**
+ * (PECL imagick 2.1.0)
+ * Gets font
+ * @link https://php.net/manual/en/imagick.getfont.php
+ * @return string|false the string containing the font name or FALSE if not font is set.
+ */
+ public function getFont () {}
+
+ /**
+ * (PECL imagick 2.1.0)
+ * Sets point size
+ * @link https://php.net/manual/en/imagick.setpointsize.php
+ * @param float $point_size
+ * Point size
+ *
+ * @return bool TRUE on success.
+ */
+ public function setPointSize ($point_size) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Gets point size
+ * @link https://php.net/manual/en/imagick.getpointsize.php
+ * @return float a float containing the point size.
+ */
+ public function getPointSize () {}
+
+ /**
+ * (PECL imagick 2.1.0)
+ * Merges image layers
+ * @link https://php.net/manual/en/imagick.mergeimagelayers.php
+ * @param int $layer_method
+ * One of the Imagick::LAYERMETHOD_* constants
+ *
+ * @return Imagick Returns an Imagick object containing the merged image.
+ * @throws ImagickException
+ */
+ public function mergeImageLayers ($layer_method) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Sets image alpha channel
+ * @link https://php.net/manual/en/imagick.setimagealphachannel.php
+ * @param int $mode
+ * One of the Imagick::ALPHACHANNEL_* constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageAlphaChannel ($mode) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Changes the color value of any pixel that matches target
+ * @link https://php.net/manual/en/imagick.floodfillpaintimage.php
+ * @param mixed $fill
+ * ImagickPixel object or a string containing the fill color
+ *
+ * @param float $fuzz
+ * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
+ *
+ * @param mixed $target
+ * ImagickPixel object or a string containing the target color to paint
+ *
+ * @param int $x
+ * X start position of the floodfill
+ *
+ * @param int $y
+ * Y start position of the floodfill
+ *
+ * @param bool $invert
+ * If TRUE paints any pixel that does not match the target color.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function floodFillPaintImage ($fill, $fuzz, $target, $x, $y, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Changes the color value of any pixel that matches target
+ * @link https://php.net/manual/en/imagick.opaquepaintimage.php
+ * @param mixed $target
+ * ImagickPixel object or a string containing the color to change
+ *
+ * @param mixed $fill
+ * The replacement color
+ *
+ * @param float $fuzz
+ * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
+ *
+ * @param bool $invert
+ * If TRUE paints any pixel that does not match the target color.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function opaquePaintImage ($target, $fill, $fuzz, $invert, $channel = Imagick::CHANNEL_DEFAULT) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Paints pixels transparent
+ * @link https://php.net/manual/en/imagick.transparentpaintimage.php
+ * @param mixed $target
+ * The target color to paint
+ *
+ * @param float $alpha
+ * The level of transparency: 1.0 is fully opaque and 0.0 is fully transparent.
+ *
+ * @param float $fuzz
+ * The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color.
+ *
+ * @param bool $invert
+ * If TRUE paints any pixel that does not match the target color.
+ *
+ * @return bool TRUE on success.
+ */
+ public function transparentPaintImage ($target, $alpha, $fuzz, $invert) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Animates an image or images
+ * @link https://php.net/manual/en/imagick.liquidrescaleimage.php
+ * @param int $width
+ * The width of the target size
+ *
+ * @param int $height
+ * The height of the target size
+ *
+ * @param float $delta_x
+ * How much the seam can traverse on x-axis.
+ * Passing 0 causes the seams to be straight.
+ *
+ * @param float $rigidity
+ * Introduces a bias for non-straight seams. This parameter is
+ * typically 0.
+ *
+ * @return bool TRUE on success.
+ */
+ public function liquidRescaleImage ($width, $height, $delta_x, $rigidity) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Enciphers an image
+ * @link https://php.net/manual/en/imagick.encipherimage.php
+ * @param string $passphrase
+ * The passphrase
+ *
+ * @return bool TRUE on success.
+ */
+ public function encipherImage ($passphrase) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Deciphers an image
+ * @link https://php.net/manual/en/imagick.decipherimage.php
+ * @param string $passphrase
+ * The passphrase
+ *
+ * @return bool TRUE on success.
+ */
+ public function decipherImage ($passphrase) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Sets the gravity
+ * @link https://php.net/manual/en/imagick.setgravity.php
+ * @param int $gravity
+ * The gravity property. Refer to the list of
+ * gravity constants.
+ *
+ * @return bool No value is returned.
+ */
+ public function setGravity ($gravity) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Gets the gravity
+ * @link https://php.net/manual/en/imagick.getgravity.php
+ * @return int the gravity property. Refer to the list of
+ * gravity constants.
+ */
+ public function getGravity () {}
+
+ /**
+ * (PECL imagick 2.2.1)
+ * Gets channel range
+ * @link https://php.net/manual/en/imagick.getimagechannelrange.php
+ * @param int $channel
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * @return array an array containing minima and maxima values of the channel(s).
+ */
+ public function getImageChannelRange ($channel) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Gets the image alpha channel
+ * @link https://php.net/manual/en/imagick.getimagealphachannel.php
+ * @return int a constant defining the current alpha channel value. Refer to this
+ * list of alpha channel constants.
+ */
+ public function getImageAlphaChannel () {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Gets channel distortions
+ * @link https://php.net/manual/en/imagick.getimagechanneldistortions.php
+ * @param Imagick $reference
+ * Imagick object containing the reference image
+ *
+ * @param int $metric
+ * Refer to this list of metric type constants.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * @return float a float describing the channel distortion.
+ */
+ public function getImageChannelDistortions (Imagick $reference, $metric, $channel = Imagick::CHANNEL_DEFAULT) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Sets the image gravity
+ * @link https://php.net/manual/en/imagick.setimagegravity.php
+ * @param int $gravity
+ * The gravity property. Refer to the list of
+ * gravity constants.
+ *
+ * @return bool No value is returned.
+ */
+ public function setImageGravity ($gravity) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Gets the image gravity
+ * @link https://php.net/manual/en/imagick.getimagegravity.php
+ * @return int the images gravity property. Refer to the list of
+ * gravity constants.
+ */
+ public function getImageGravity () {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Imports image pixels
+ * @link https://php.net/manual/en/imagick.importimagepixels.php
+ * @param int $x
+ * The image x position
+ *
+ * @param int $y
+ * The image y position
+ *
+ * @param int $width
+ * The image width
+ *
+ * @param int $height
+ * The image height
+ *
+ * @param string $map
+ * Map of pixel ordering as a string. This can be for example RGB.
+ * The value can be any combination or order of R = red, G = green, B = blue, A = alpha (0 is transparent),
+ * O = opacity (0 is opaque), C = cyan, Y = yellow, M = magenta, K = black, I = intensity (for grayscale), P = pad.
+ *
+ * @param int $storage
+ * The pixel storage method.
+ * Refer to this list of pixel constants.
+ *
+ * @param array $pixels
+ * The array of pixels
+ *
+ * @return bool TRUE on success.
+ */
+ public function importImagePixels ($x, $y, $width, $height, $map, $storage, array $pixels) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Removes skew from the image
+ * @link https://php.net/manual/en/imagick.deskewimage.php
+ * @param float $threshold
+ * Deskew threshold
+ *
+ * @return bool
+ */
+ public function deskewImage ($threshold) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Segments an image
+ * @link https://php.net/manual/en/imagick.segmentimage.php
+ * @param int $COLORSPACE
+ * One of the COLORSPACE constants.
+ *
+ * @param float $cluster_threshold
+ * A percentage describing minimum number of pixels
+ * contained in hexedra before it is considered valid.
+ *
+ * @param float $smooth_threshold
+ * Eliminates noise from the histogram.
+ *
+ * @param bool $verbose [optional]
+ * Whether to output detailed information about recognised classes.
+ *
+ * @return bool
+ */
+ public function segmentImage ($COLORSPACE, $cluster_threshold, $smooth_threshold, $verbose = false) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Interpolates colors
+ * @link https://php.net/manual/en/imagick.sparsecolorimage.php
+ * @param int $SPARSE_METHOD
+ * Refer to this list of sparse method constants
+ *
+ * @param array $arguments
+ * An array containing the coordinates.
+ * The array is in format array(1,1, 2,45)
+ *
+ * @param int $channel [optional]
+ * @return bool TRUE on success.
+ */
+ public function sparseColorImage ($SPARSE_METHOD, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Remaps image colors
+ * @link https://php.net/manual/en/imagick.remapimage.php
+ * @param Imagick $replacement
+ * An Imagick object containing the replacement colors
+ *
+ * @param int $DITHER
+ * Refer to this list of dither method constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function remapImage (Imagick $replacement, $DITHER) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Exports raw image pixels
+ * @link https://php.net/manual/en/imagick.exportimagepixels.php
+ * @param int $x
+ * X-coordinate of the exported area
+ *
+ * @param int $y
+ * Y-coordinate of the exported area
+ *
+ * @param int $width
+ * Width of the exported aread
+ *
+ * @param int $height
+ * Height of the exported area
+ *
+ * @param string $map
+ * Ordering of the exported pixels. For example "RGB".
+ * Valid characters for the map are R, G, B, A, O, C, Y, M, K, I and P.
+ *
+ * @param int $STORAGE
+ * Refer to this list of pixel type constants
+ *
+ * @return array an array containing the pixels values.
+ */
+ public function exportImagePixels ($x, $y, $width, $height, $map, $STORAGE) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * The getImageChannelKurtosis purpose
+ * @link https://php.net/manual/en/imagick.getimagechannelkurtosis.php
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * @return array an array with kurtosis and skewness
+ * members.
+ */
+ public function getImageChannelKurtosis ($channel = Imagick::CHANNEL_DEFAULT) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Applies a function on the image
+ * @link https://php.net/manual/en/imagick.functionimage.php
+ * @param int $function
+ * Refer to this list of function constants
+ *
+ * @param array $arguments
+ * Array of arguments to pass to this function.
+ *
+ * @param int $channel [optional]
+ * @return bool TRUE on success.
+ */
+ public function functionImage ($function, array $arguments, $channel = Imagick::CHANNEL_DEFAULT) {}
+
+ /**
+ * @param $COLORSPACE
+ */
+ public function transformImageColorspace ($COLORSPACE) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Replaces colors in the image
+ * @link https://php.net/manual/en/imagick.haldclutimage.php
+ * @param Imagick $clut
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function haldClutImage (Imagick $clut, $channel = Imagick::CHANNEL_DEFAULT) {}
+
+ /**
+ * @param $CHANNEL [optional]
+ */
+ public function autoLevelImage ($CHANNEL) {}
+
+ /**
+ * @param $factor [optional]
+ */
+ public function blueShiftImage ($factor) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Get image artifact
+ * @link https://php.net/manual/en/imagick.getimageartifact.php
+ * @param string $artifact
+ * The name of the artifact
+ *
+ * @return string the artifact value on success.
+ */
+ public function getImageArtifact ($artifact) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Set image artifact
+ * @link https://php.net/manual/en/imagick.setimageartifact.php
+ * @param string $artifact
+ * The name of the artifact
+ *
+ * @param string $value
+ * The value of the artifact
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageArtifact ($artifact, $value) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Delete image artifact
+ * @link https://php.net/manual/en/imagick.deleteimageartifact.php
+ * @param string $artifact
+ * The name of the artifact to delete
+ *
+ * @return bool TRUE on success.
+ */
+ public function deleteImageArtifact ($artifact) {}
+
+ /**
+ * (PECL imagick 0.9.10-0.9.9)
+ * Gets the colorspace
+ * @link https://php.net/manual/en/imagick.getcolorspace.php
+ * @return int an integer which can be compared against COLORSPACE constants.
+ */
+ public function getColorspace () {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Set colorspace
+ * @link https://php.net/manual/en/imagick.setcolorspace.php
+ * @param int $COLORSPACE
+ * One of the COLORSPACE constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function setColorspace ($COLORSPACE) {}
+
+ /**
+ * @param $CHANNEL [optional]
+ */
+ public function clampImage ($CHANNEL) {}
+
+ /**
+ * @param $stack
+ * @param $offset
+ */
+ public function smushImages ($stack, $offset) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * The Imagick constructor
+ * @link https://php.net/manual/en/imagick.construct.php
+ * @param mixed $files
+ * The path to an image to load or an array of paths. Paths can include
+ * wildcards for file names, or can be URLs.
+ *
+ * @throws ImagickException Throws ImagickException on error.
+ */
+ public function __construct ($files = null) {}
+
+ /**
+ * @return string
+ */
+ public function __toString () {}
+
+ public function count () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns a MagickPixelIterator
+ * @link https://php.net/manual/en/imagick.getpixeliterator.php
+ * @return ImagickPixelIterator an ImagickPixelIterator on success.
+ */
+ public function getPixelIterator () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Get an ImagickPixelIterator for an image section
+ * @link https://php.net/manual/en/imagick.getpixelregioniterator.php
+ * @param int $x
+ * The x-coordinate of the region.
+ *
+ * @param int $y
+ * The y-coordinate of the region.
+ *
+ * @param int $columns
+ * The width of the region.
+ *
+ * @param int $rows
+ * The height of the region.
+ *
+ * @return ImagickPixelIterator an ImagickPixelIterator for an image section.
+ */
+ public function getPixelRegionIterator ($x, $y, $columns, $rows) {}
+
+ /**
+ * (PECL imagick 0.9.0-0.9.9)
+ * Reads image from filename
+ * @link https://php.net/manual/en/imagick.readimage.php
+ * @param string $filename
+ * @return bool TRUE on success.
+ * @throws ImagickException Throws ImagickException on error.
+ */
+ public function readImage ($filename) {}
+
+ /**
+ * @param $filenames
+ * @throws ImagickException Throws ImagickException on error.
+ */
+ public function readImages ($filenames) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Reads image from a binary string
+ * @link https://php.net/manual/en/imagick.readimageblob.php
+ * @param string $image
+ * @param string $filename [optional]
+ * @return bool TRUE on success.
+ * @throws ImagickException Throws ImagickException on error.
+ */
+ public function readImageBlob ($image, $filename = null) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the format of a particular image
+ * @link https://php.net/manual/en/imagick.setimageformat.php
+ * @param string $format
+ * String presentation of the image format. Format support
+ * depends on the ImageMagick installation.
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageFormat ($format) {}
+
+ /**
+ * Scales the size of an image to the given dimensions. Passing zero as either of the arguments will preserve dimension while scaling.
+ * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
+ * If false, the calculations should produce the same results as ImageMagick CLI does.
+ * @link https://php.net/manual/en/imagick.scaleimage.php
+ * @param int $cols
+ * @param int $rows
+ * @param bool $bestfit [optional] The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
+ * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
+ * @return bool TRUE on success.
+ * @throws ImagickException Throws ImagickException on error
+ * @since 2.0.0
+ */
+ public function scaleImage ($cols, $rows, $bestfit = false, $legacy = false) {}
+
+ /**
+ * (PECL imagick 0.9.0-0.9.9)
+ * Writes an image to the specified filename
+ * @link https://php.net/manual/en/imagick.writeimage.php
+ * @param string $filename [optional]
+ * Filename where to write the image. The extension of the filename
+ * defines the type of the file.
+ * Format can be forced regardless of file extension using format: prefix,
+ * for example "jpg:test.png".
+ *
+ * @return bool TRUE on success.
+ */
+ public function writeImage ($filename = null) {}
+
+ /**
+ * (PECL imagick 0.9.0-0.9.9)
+ * Writes an image or image sequence
+ * @link https://php.net/manual/en/imagick.writeimages.php
+ * @param string $filename
+ * @param bool $adjoin
+ * @return bool TRUE on success.
+ */
+ public function writeImages ($filename, $adjoin) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds blur filter to image
+ * @link https://php.net/manual/en/imagick.blurimage.php
+ * @param float $radius
+ * Blur radius
+ *
+ * @param float $sigma
+ * Standard deviation
+ *
+ * @param int $channel [optional]
+ * The Channeltype
+ * constant. When not supplied, all channels are blurred.
+ *
+ * @return bool TRUE on success.
+ */
+ public function blurImage ($radius, $sigma, $channel = null) {}
+
+ /**
+ * Changes the size of an image to the given dimensions and removes any associated profiles.
+ * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
+ * If false, the calculations should produce the same results as ImageMagick CLI does.
+ *
+ * Note: The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
+ * @link https://php.net/manual/en/imagick.thumbnailimage.php
+ * @param int $columns
+ * Image width
+ *
+ * @param int $rows
+ * Image height
+ *
+ * @param bool $bestfit [optional]
+ * Whether to force maximum values
+ *
+ * The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched. In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
+ * @param bool $fill [optional]
+ * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
+ * @return bool TRUE on success.
+ * @since 2.0.0
+ */
+ public function thumbnailImage ($columns, $rows, $bestfit = false, $fill = false, $legacy = false) {}
+
+ /**
+ * Creates a cropped thumbnail at the requested size.
+ * If legacy is true, uses the incorrect behaviour that was present until Imagick 3.4.0.
+ * If false it uses the correct behaviour.
+ * @link https://php.net/manual/en/imagick.cropthumbnailimage.php
+ * @param int $width The width of the thumbnail
+ * @param int $height The Height of the thumbnail
+ * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
+ * @return bool TRUE on succes
+ * @throws ImagickException Throws ImagickException on error
+ * @since 2.0.0
+ */
+ public function cropThumbnailImage ($width, $height, $legacy = false) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the filename of a particular image in a sequence
+ * @link https://php.net/manual/en/imagick.getimagefilename.php
+ * @return string a string with the filename of the image.
+ */
+ public function getImageFilename () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the filename of a particular image
+ * @link https://php.net/manual/en/imagick.setimagefilename.php
+ * @param string $filename
+ * @return bool TRUE on success.
+ */
+ public function setImageFilename ($filename) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the format of a particular image in a sequence
+ * @link https://php.net/manual/en/imagick.getimageformat.php
+ * @return string a string containing the image format on success.
+ */
+ public function getImageFormat () {}
+
+ /**
+ * @link https://secure.php.net/manual/en/imagick.getimagemimetype.php
+ * @return string Returns the image mime-type.
+ */
+ public function getImageMimeType () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Removes an image from the image list
+ * @link https://php.net/manual/en/imagick.removeimage.php
+ * @return bool TRUE on success.
+ */
+ public function removeImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Destroys the Imagick object
+ * @link https://php.net/manual/en/imagick.destroy.php
+ * @return bool TRUE on success.
+ */
+ public function destroy () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Clears all resources associated to Imagick object
+ * @link https://php.net/manual/en/imagick.clear.php
+ * @return bool TRUE on success.
+ */
+ public function clear () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the image length in bytes
+ * @link https://php.net/manual/en/imagick.getimagesize.php
+ * @return int an int containing the current image size.
+ * @deprecated use {@see Imagick::getImageLength()} instead
+ */
+ public function getImageSize () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the image sequence as a blob
+ * @link https://php.net/manual/en/imagick.getimageblob.php
+ * @return string a string containing the image.
+ */
+ public function getImageBlob () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns all image sequences as a blob
+ * @link https://php.net/manual/en/imagick.getimagesblob.php
+ * @return string a string containing the images. On failure, throws ImagickException on failure
+ * @throws ImagickException on failure
+ */
+ public function getImagesBlob () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the Imagick iterator to the first image
+ * @link https://php.net/manual/en/imagick.setfirstiterator.php
+ * @return bool TRUE on success.
+ */
+ public function setFirstIterator () {}
+
+ /**
+ * (PECL imagick 2.0.1)
+ * Sets the Imagick iterator to the last image
+ * @link https://php.net/manual/en/imagick.setlastiterator.php
+ * @return bool TRUE on success.
+ */
+ public function setLastIterator () {}
+
+ public function resetIterator () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Move to the previous image in the object
+ * @link https://php.net/manual/en/imagick.previousimage.php
+ * @return bool TRUE on success.
+ */
+ public function previousImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Moves to the next image
+ * @link https://php.net/manual/en/imagick.nextimage.php
+ * @return bool TRUE on success.
+ */
+ public function nextImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Checks if the object has a previous image
+ * @link https://php.net/manual/en/imagick.haspreviousimage.php
+ * @return bool TRUE if the object has more images when traversing the list in the
+ * reverse direction, returns FALSE if there are none.
+ */
+ public function hasPreviousImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Checks if the object has more images
+ * @link https://php.net/manual/en/imagick.hasnextimage.php
+ * @return bool TRUE if the object has more images when traversing the list in the
+ * forward direction, returns FALSE if there are none.
+ */
+ public function hasNextImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Set the iterator position
+ * @link https://php.net/manual/en/imagick.setimageindex.php
+ * @param int $index
+ * The position to set the iterator to
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageIndex ($index) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the index of the current active image
+ * @link https://php.net/manual/en/imagick.getimageindex.php
+ * @return int an integer containing the index of the image in the stack.
+ */
+ public function getImageIndex () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds a comment to your image
+ * @link https://php.net/manual/en/imagick.commentimage.php
+ * @param string $comment
+ * The comment to add
+ *
+ * @return bool TRUE on success.
+ */
+ public function commentImage ($comment) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Extracts a region of the image
+ * @link https://php.net/manual/en/imagick.cropimage.php
+ * @param int $width
+ * The width of the crop
+ *
+ * @param int $height
+ * The height of the crop
+ *
+ * @param int $x
+ * The X coordinate of the cropped region's top left corner
+ *
+ * @param int $y
+ * The Y coordinate of the cropped region's top left corner
+ *
+ * @return bool TRUE on success.
+ */
+ public function cropImage ($width, $height, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds a label to an image
+ * @link https://php.net/manual/en/imagick.labelimage.php
+ * @param string $label
+ * The label to add
+ *
+ * @return bool TRUE on success.
+ */
+ public function labelImage ($label) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the width and height as an associative array
+ * @link https://php.net/manual/en/imagick.getimagegeometry.php
+ * @return array an array with the width/height of the image.
+ */
+ public function getImageGeometry () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Renders the ImagickDraw object on the current image
+ * @link https://php.net/manual/en/imagick.drawimage.php
+ * @param ImagickDraw $draw
+ * The drawing operations to render on the image.
+ *
+ * @return bool TRUE on success.
+ */
+ public function drawImage (ImagickDraw $draw) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Sets the image compression quality
+ * @link https://php.net/manual/en/imagick.setimagecompressionquality.php
+ * @param int $quality
+ * The image compression quality as an integer
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageCompressionQuality ($quality) {}
+
+ /**
+ * (PECL imagick 2.2.2)
+ * Gets the current image's compression quality
+ * @link https://php.net/manual/en/imagick.getimagecompressionquality.php
+ * @return int integer describing the images compression quality
+ */
+ public function getImageCompressionQuality () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Annotates an image with text
+ * @link https://php.net/manual/en/imagick.annotateimage.php
+ * @param ImagickDraw $draw_settings
+ * The ImagickDraw object that contains settings for drawing the text
+ *
+ * @param float $x
+ * Horizontal offset in pixels to the left of text
+ *
+ * @param float $y
+ * Vertical offset in pixels to the baseline of text
+ *
+ * @param float $angle
+ * The angle at which to write the text
+ *
+ * @param string $text
+ * The string to draw
+ *
+ * @return bool TRUE on success.
+ */
+ public function annotateImage (ImagickDraw $draw_settings, $x, $y, $angle, $text) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Composite one image onto another
+ * @link https://php.net/manual/en/imagick.compositeimage.php
+ * @param Imagick $composite_object
+ * Imagick object which holds the composite image
+ *
+ * @param int $composite Composite operator
+ * @param int $x
+ * The column offset of the composited image
+ *
+ * @param int $y
+ * The row offset of the composited image
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function compositeImage (Imagick $composite_object, $composite, $x, $y, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Control the brightness, saturation, and hue
+ * @link https://php.net/manual/en/imagick.modulateimage.php
+ * @param float $brightness
+ * @param float $saturation
+ * @param float $hue
+ * @return bool TRUE on success.
+ */
+ public function modulateImage ($brightness, $saturation, $hue) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the number of unique colors in the image
+ * @link https://php.net/manual/en/imagick.getimagecolors.php
+ * @return int TRUE on success.
+ */
+ public function getImageColors () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a composite image
+ * @link https://php.net/manual/en/imagick.montageimage.php
+ * @param ImagickDraw $draw
+ * The font name, size, and color are obtained from this object.
+ *
+ * @param string $tile_geometry
+ * The number of tiles per row and page (e.g. 6x4+0+0).
+ *
+ * @param string $thumbnail_geometry
+ * Preferred image size and border size of each thumbnail
+ * (e.g. 120x120+4+3>).
+ *
+ * Surround the image with an ornamental border (e.g. 15x15+3+3). The
+ * frame color is that of the thumbnail's matte color.
+ *
+ * @return Imagick TRUE on success.
+ */
+ public function montageImage (ImagickDraw $draw, $tile_geometry, $thumbnail_geometry, $mode, $frame) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Identifies an image and fetches attributes
+ * @link https://php.net/manual/en/imagick.identifyimage.php
+ * @param bool $appendRawOutput [optional]
+ * @return array Identifies an image and returns the attributes. Attributes include
+ * the image width, height, size, and others.
+ */
+ public function identifyImage ($appendRawOutput = false) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Changes the value of individual pixels based on a threshold
+ * @link https://php.net/manual/en/imagick.thresholdimage.php
+ * @param float $threshold
+ * @param int $channel [optional]
+ * @return bool TRUE on success.
+ */
+ public function thresholdImage ($threshold, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Selects a threshold for each pixel based on a range of intensity
+ * @link https://php.net/manual/en/imagick.adaptivethresholdimage.php
+ * @param int $width
+ * Width of the local neighborhood.
+ *
+ * @param int $height
+ * Height of the local neighborhood.
+ *
+ * @param int $offset
+ * The mean offset
+ *
+ * @return bool TRUE on success.
+ */
+ public function adaptiveThresholdImage ($width, $height, $offset) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Forces all pixels below the threshold into black
+ * @link https://php.net/manual/en/imagick.blackthresholdimage.php
+ * @param mixed $threshold
+ * The threshold below which everything turns black
+ *
+ * @return bool TRUE on success.
+ */
+ public function blackThresholdImage ($threshold) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Force all pixels above the threshold into white
+ * @link https://php.net/manual/en/imagick.whitethresholdimage.php
+ * @param mixed $threshold
+ * @return bool TRUE on success.
+ */
+ public function whiteThresholdImage ($threshold) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Append a set of images
+ * @link https://php.net/manual/en/imagick.appendimages.php
+ * @param bool $stack [optional]
+ * Whether to stack the images vertically.
+ * By default (or if FALSE is specified) images are stacked left-to-right.
+ * If stack is TRUE, images are stacked top-to-bottom.
+ *
+ * The radius of the Gaussian, in pixels, not counting the center pixel
+ *
+ * @param float $sigma
+ * The standard deviation of the Gaussian, in pixels
+ *
+ * @return bool TRUE on success.
+ */
+ public function charcoalImage ($radius, $sigma) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Enhances the contrast of a color image
+ * @link https://php.net/manual/en/imagick.normalizeimage.php
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function normalizeImage ($channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Simulates an oil painting
+ * @link https://php.net/manual/en/imagick.oilpaintimage.php
+ * @param float $radius
+ * The radius of the circular neighborhood.
+ *
+ * @return bool TRUE on success.
+ */
+ public function oilPaintImage ($radius) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Reduces the image to a limited number of color level
+ * @link https://php.net/manual/en/imagick.posterizeimage.php
+ * @param int $levels
+ * @param bool $dither
+ * @return bool TRUE on success.
+ */
+ public function posterizeImage ($levels, $dither) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Radial blurs an image
+ * @link https://php.net/manual/en/imagick.radialblurimage.php
+ * @param float $angle
+ * @param int $channel [optional]
+ * @return bool TRUE on success.
+ */
+ public function radialBlurImage ($angle, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a simulated 3d button-like effect
+ * @link https://php.net/manual/en/imagick.raiseimage.php
+ * @param int $width
+ * @param int $height
+ * @param int $x
+ * @param int $y
+ * @param bool $raise
+ * @return bool TRUE on success.
+ */
+ public function raiseImage ($width, $height, $x, $y, $raise) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Resample image to desired resolution
+ * @link https://php.net/manual/en/imagick.resampleimage.php
+ * @param float $x_resolution
+ * @param float $y_resolution
+ * @param int $filter
+ * @param float $blur
+ * @return bool TRUE on success.
+ */
+ public function resampleImage ($x_resolution, $y_resolution, $filter, $blur) {}
+
+ /**
+ * Scales an image to the desired dimensions with one of these filters:
+ * If legacy is true, the calculations are done with the small rounding bug that existed in Imagick before 3.4.0.
+ * If false, the calculations should produce the same results as ImageMagick CLI does.
+ *
+ * Note: The behavior of the parameter bestfit changed in Imagick 3.0.0. Before this version given dimensions 400x400 an image of dimensions 200x150 would be left untouched.
+ * In Imagick 3.0.0 and later the image would be scaled up to size 400x300 as this is the "best fit" for the given dimensions. If bestfit parameter is used both width and height must be given.
+ * @link https://php.net/manual/en/imagick.resizeimage.php
+ * @param int $columns Width of the image
+ * @param int $rows Height of the image
+ * @param int $filter Refer to the list of filter constants.
+ * @param float $blur The blur factor where > 1 is blurry, < 1 is sharp.
+ * @param bool $bestfit [optional] Added since 2.1.0. Added optional fit parameter. This method now supports proportional scaling. Pass zero as either parameter for proportional scaling
+ * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
+ * @return bool TRUE on success
+ * @since 2.0.0
+ */
+ public function resizeImage ($columns, $rows, $filter, $blur, $bestfit = false, $legacy = false) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Offsets an image
+ * @link https://php.net/manual/en/imagick.rollimage.php
+ * @param int $x
+ * The X offset.
+ *
+ * @param int $y
+ * The Y offset.
+ *
+ * @return bool TRUE on success.
+ */
+ public function rollImage ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Rotates an image
+ * @link https://php.net/manual/en/imagick.rotateimage.php
+ * @param mixed $background
+ * The background color
+ *
+ * @param float $degrees
+ * The number of degrees to rotate the image
+ *
+ * @return bool TRUE on success.
+ */
+ public function rotateImage ($background, $degrees) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Scales an image with pixel sampling
+ * @link https://php.net/manual/en/imagick.sampleimage.php
+ * @param int $columns
+ * @param int $rows
+ * @return bool TRUE on success.
+ */
+ public function sampleImage ($columns, $rows) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Applies a solarizing effect to the image
+ * @link https://php.net/manual/en/imagick.solarizeimage.php
+ * @param int $threshold
+ * @return bool TRUE on success.
+ */
+ public function solarizeImage ($threshold) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Simulates an image shadow
+ * @link https://php.net/manual/en/imagick.shadowimage.php
+ * @param float $opacity
+ * @param float $sigma
+ * @param int $x
+ * @param int $y
+ * @return bool TRUE on success.
+ */
+ public function shadowImage ($opacity, $sigma, $x, $y) {}
+
+ /**
+ * @param $key
+ * @param $value
+ */
+ public function setImageAttribute ($key, $value) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image background color
+ * @link https://php.net/manual/en/imagick.setimagebackgroundcolor.php
+ * @param mixed $background
+ * @return bool TRUE on success.
+ */
+ public function setImageBackgroundColor ($background) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image composite operator
+ * @link https://php.net/manual/en/imagick.setimagecompose.php
+ * @param int $compose
+ * @return bool TRUE on success.
+ */
+ public function setImageCompose ($compose) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image compression
+ * @link https://php.net/manual/en/imagick.setimagecompression.php
+ * @param int $compression
+ * One of the COMPRESSION constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageCompression ($compression) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image delay
+ * @link https://php.net/manual/en/imagick.setimagedelay.php
+ * @param int $delay
+ * The amount of time expressed in 'ticks' that the image should be
+ * displayed for. For animated GIFs there are 100 ticks per second, so a
+ * value of 20 would be 20/100 of a second aka 1/5th of a second.
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageDelay ($delay) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image depth
+ * @link https://php.net/manual/en/imagick.setimagedepth.php
+ * @param int $depth
+ * @return bool TRUE on success.
+ */
+ public function setImageDepth ($depth) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image gamma
+ * @link https://php.net/manual/en/imagick.setimagegamma.php
+ * @param float $gamma
+ * @return bool TRUE on success.
+ */
+ public function setImageGamma ($gamma) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image iterations
+ * @link https://php.net/manual/en/imagick.setimageiterations.php
+ * @param int $iterations
+ * The number of iterations the image should loop over. Set to '0' to loop
+ * continuously.
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageIterations ($iterations) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image matte color
+ * @link https://php.net/manual/en/imagick.setimagemattecolor.php
+ * @param mixed $matte
+ * @return bool TRUE on success.
+ */
+ public function setImageMatteColor ($matte) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the page geometry of the image
+ * @link https://php.net/manual/en/imagick.setimagepage.php
+ * @param int $width
+ * @param int $height
+ * @param int $x
+ * @param int $y
+ * @return bool TRUE on success.
+ */
+ public function setImagePage ($width, $height, $x, $y) {}
+
+ /**
+ * @param $filename
+ */
+ public function setImageProgressMonitor ($filename) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image resolution
+ * @link https://php.net/manual/en/imagick.setimageresolution.php
+ * @param float $x_resolution
+ * @param float $y_resolution
+ * @return bool TRUE on success.
+ */
+ public function setImageResolution ($x_resolution, $y_resolution) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image scene
+ * @link https://php.net/manual/en/imagick.setimagescene.php
+ * @param int $scene
+ * @return bool TRUE on success.
+ */
+ public function setImageScene ($scene) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image ticks-per-second
+ * @link https://php.net/manual/en/imagick.setimagetickspersecond.php
+ * @param int $ticks_per_second
+ * The duration for which an image should be displayed expressed in ticks
+ * per second.
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageTicksPerSecond ($ticks_per_second) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image type
+ * @link https://php.net/manual/en/imagick.setimagetype.php
+ * @param int $image_type
+ * @return bool TRUE on success.
+ */
+ public function setImageType ($image_type) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image units of resolution
+ * @link https://php.net/manual/en/imagick.setimageunits.php
+ * @param int $units
+ * @return bool TRUE on success.
+ */
+ public function setImageUnits ($units) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sharpens an image
+ * @link https://php.net/manual/en/imagick.sharpenimage.php
+ * @param float $radius
+ * @param float $sigma
+ * @param int $channel [optional]
+ * @return bool TRUE on success.
+ */
+ public function sharpenImage ($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Shaves pixels from the image edges
+ * @link https://php.net/manual/en/imagick.shaveimage.php
+ * @param int $columns
+ * @param int $rows
+ * @return bool TRUE on success.
+ */
+ public function shaveImage ($columns, $rows) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creating a parallelogram
+ * @link https://php.net/manual/en/imagick.shearimage.php
+ * @param mixed $background
+ * The background color
+ *
+ * @param float $x_shear
+ * The number of degrees to shear on the x axis
+ *
+ * @param float $y_shear
+ * The number of degrees to shear on the y axis
+ *
+ * @return bool TRUE on success.
+ */
+ public function shearImage ($background, $x_shear, $y_shear) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Splices a solid color into the image
+ * @link https://php.net/manual/en/imagick.spliceimage.php
+ * @param int $width
+ * @param int $height
+ * @param int $x
+ * @param int $y
+ * @return bool TRUE on success.
+ */
+ public function spliceImage ($width, $height, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Fetch basic attributes about the image
+ * @link https://php.net/manual/en/imagick.pingimage.php
+ * @param string $filename
+ * The filename to read the information from.
+ *
+ * @return bool TRUE on success.
+ */
+ public function pingImage ($filename) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Reads image from open filehandle
+ * @link https://php.net/manual/en/imagick.readimagefile.php
+ * @param resource $filehandle
+ * @param string $fileName [optional]
+ * @return bool TRUE on success.
+ */
+ public function readImageFile ($filehandle, $fileName = null) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Displays an image
+ * @link https://php.net/manual/en/imagick.displayimage.php
+ * @param string $servername
+ * The X server name
+ *
+ * @return bool TRUE on success.
+ */
+ public function displayImage ($servername) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Displays an image or image sequence
+ * @link https://php.net/manual/en/imagick.displayimages.php
+ * @param string $servername
+ * The X server name
+ *
+ * @return bool TRUE on success.
+ */
+ public function displayImages ($servername) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Randomly displaces each pixel in a block
+ * @link https://php.net/manual/en/imagick.spreadimage.php
+ * @param float $radius
+ * @return bool TRUE on success.
+ */
+ public function spreadImage ($radius) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Swirls the pixels about the center of the image
+ * @link https://php.net/manual/en/imagick.swirlimage.php
+ * @param float $degrees
+ * @return bool TRUE on success.
+ */
+ public function swirlImage ($degrees) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Strips an image of all profiles and comments
+ * @link https://php.net/manual/en/imagick.stripimage.php
+ * @return bool TRUE on success.
+ */
+ public function stripImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns formats supported by Imagick
+ * @link https://php.net/manual/en/imagick.queryformats.php
+ * @param string $pattern [optional]
+ * @return array an array containing the formats supported by Imagick.
+ */
+ public static function queryFormats ($pattern = "*") {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the configured fonts
+ * @link https://php.net/manual/en/imagick.queryfonts.php
+ * @param string $pattern [optional]
+ * The query pattern
+ *
+ * @return array an array containing the configured fonts.
+ */
+ public static function queryFonts ($pattern = "*") {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns an array representing the font metrics
+ * @link https://php.net/manual/en/imagick.queryfontmetrics.php
+ * @param ImagickDraw $properties
+ * ImagickDraw object containing font properties
+ *
+ * @param string $text
+ * The text
+ *
+ * @param bool $multiline [optional]
+ * Multiline parameter. If left empty it is autodetected
+ *
+ * @return array a multi-dimensional array representing the font metrics.
+ */
+ public function queryFontMetrics (ImagickDraw $properties, $text, $multiline = null) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Hides a digital watermark within the image
+ * @link https://php.net/manual/en/imagick.steganoimage.php
+ * @param Imagick $watermark_wand
+ * @param int $offset
+ * @return Imagick TRUE on success.
+ */
+ public function steganoImage (Imagick $watermark_wand, $offset) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds random noise to the image
+ * @link https://php.net/manual/en/imagick.addnoiseimage.php
+ * @param int $noise_type
+ * The type of the noise. Refer to this list of
+ * noise constants.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * The radius of the Gaussian, in pixels, not counting the center pixel.
+ *
+ * @param float $sigma
+ * The standard deviation of the Gaussian, in pixels.
+ *
+ * @param float $angle
+ * Apply the effect along this angle.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ * The channel argument affects only if Imagick is compiled against ImageMagick version
+ * 6.4.4 or greater.
+ *
+ * @return bool TRUE on success.
+ */
+ public function motionBlurImage ($radius, $sigma, $angle, $channel = Imagick::CHANNEL_DEFAULT) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Forms a mosaic from images
+ * @link https://php.net/manual/en/imagick.mosaicimages.php
+ * @return Imagick TRUE on success.
+ */
+ public function mosaicImages () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Method morphs a set of images
+ * @link https://php.net/manual/en/imagick.morphimages.php
+ * @param int $number_frames
+ * The number of in-between images to generate.
+ *
+ * @return Imagick This method returns a new Imagick object on success.
+ * Throw an ImagickException on error.
+ * @throws ImagickException on error
+ */
+ public function morphImages ($number_frames) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Scales an image proportionally to half its size
+ * @link https://php.net/manual/en/imagick.minifyimage.php
+ * @return bool TRUE on success.
+ */
+ public function minifyImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Transforms an image
+ * @link https://php.net/manual/en/imagick.affinetransformimage.php
+ * @param ImagickDraw $matrix
+ * The affine matrix
+ *
+ * @return bool TRUE on success.
+ */
+ public function affineTransformImage (ImagickDraw $matrix) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Average a set of images
+ * @link https://php.net/manual/en/imagick.averageimages.php
+ * @return Imagick a new Imagick object on success.
+ */
+ public function averageImages () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Surrounds the image with a border
+ * @link https://php.net/manual/en/imagick.borderimage.php
+ * @param mixed $bordercolor
+ * ImagickPixel object or a string containing the border color
+ *
+ * @param int $width
+ * Border width
+ *
+ * @param int $height
+ * Border height
+ *
+ * @return bool TRUE on success.
+ */
+ public function borderImage ($bordercolor, $width, $height) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Removes a region of an image and trims
+ * @link https://php.net/manual/en/imagick.chopimage.php
+ * @param int $width
+ * Width of the chopped area
+ *
+ * @param int $height
+ * Height of the chopped area
+ *
+ * @param int $x
+ * X origo of the chopped area
+ *
+ * @param int $y
+ * Y origo of the chopped area
+ *
+ * @return bool TRUE on success.
+ */
+ public function chopImage ($width, $height, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Clips along the first path from the 8BIM profile
+ * @link https://php.net/manual/en/imagick.clipimage.php
+ * @return bool TRUE on success.
+ */
+ public function clipImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Clips along the named paths from the 8BIM profile
+ * @link https://php.net/manual/en/imagick.clippathimage.php
+ * @param string $pathname
+ * The name of the path
+ *
+ * @param bool $inside
+ * If TRUE later operations take effect inside clipping path.
+ * Otherwise later operations take effect outside clipping path.
+ *
+ * @return bool TRUE on success.
+ */
+ public function clipPathImage ($pathname, $inside) {}
+
+ /**
+ * @param $pathname
+ * @param $inside
+ */
+ public function clipImagePath ($pathname, $inside) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Composites a set of images
+ * @link https://php.net/manual/en/imagick.coalesceimages.php
+ * @return Imagick a new Imagick object on success.
+ */
+ public function coalesceImages () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Changes the color value of any pixel that matches target
+ * @link https://php.net/manual/en/imagick.colorfloodfillimage.php
+ * @param mixed $fill
+ * ImagickPixel object containing the fill color
+ *
+ * @param float $fuzz
+ * The amount of fuzz. For example, set fuzz to 10 and the color red at
+ * intensities of 100 and 102 respectively are now interpreted as the
+ * same color for the purposes of the floodfill.
+ *
+ * @param mixed $bordercolor
+ * ImagickPixel object containing the border color
+ *
+ * @param int $x
+ * X start position of the floodfill
+ *
+ * @param int $y
+ * Y start position of the floodfill
+ *
+ * @return bool TRUE on success.
+ */
+ public function colorFloodfillImage ($fill, $fuzz, $bordercolor, $x, $y) {}
+
+ /**
+ * Blends the fill color with each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
+ * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
+ * @link https://php.net/manual/en/imagick.colorizeimage.php
+ * @param mixed $colorize
+ * ImagickPixel object or a string containing the colorize color
+ *
+ * @param mixed $opacity
+ * ImagickPixel object or an float containing the opacity value.
+ * 1.0 is fully opaque and 0.0 is fully transparent.
+ *
+ * @param bool $legacy [optional] Added since 3.4.0. Default value FALSE
+ * @return bool TRUE on success.
+ * @throws ImagickException Throws ImagickException on error
+ * @since 2.0.0
+ */
+ public function colorizeImage ($colorize, $opacity, $legacy = false) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the difference in one or more images
+ * @link https://php.net/manual/en/imagick.compareimagechannels.php
+ * @param Imagick $image
+ * Imagick object containing the image to compare.
+ *
+ * @param int $channelType
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @param int $metricType
+ * One of the metric type constants.
+ *
+ * @return array Array consisting of new_wand and
+ * distortion.
+ */
+ public function compareImageChannels (Imagick $image, $channelType, $metricType) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Compares an image to a reconstructed image
+ * @link https://php.net/manual/en/imagick.compareimages.php
+ * @param Imagick $compare
+ * An image to compare to.
+ *
+ * @param int $metric
+ * Provide a valid metric type constant. Refer to this
+ * list of metric constants.
+ *
+ * @return array Array consisting of an Imagick object of the
+ * reconstructed image and a float representing the difference.
+ * @throws ImagickException Throws ImagickException on error.
+ */
+ public function compareImages (Imagick $compare, $metric) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Change the contrast of the image
+ * @link https://php.net/manual/en/imagick.contrastimage.php
+ * @param bool $sharpen
+ * The sharpen value
+ *
+ * @return bool TRUE on success.
+ */
+ public function contrastImage ($sharpen) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Combines one or more images into a single image
+ * @link https://php.net/manual/en/imagick.combineimages.php
+ * @param int $channelType
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return Imagick TRUE on success.
+ */
+ public function combineImages ($channelType) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Applies a custom convolution kernel to the image
+ * @link https://php.net/manual/en/imagick.convolveimage.php
+ * @param array $kernel
+ * The convolution kernel
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function convolveImage (array $kernel, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Displaces an image's colormap
+ * @link https://php.net/manual/en/imagick.cyclecolormapimage.php
+ * @param int $displace
+ * The amount to displace the colormap.
+ *
+ * @return bool TRUE on success.
+ */
+ public function cycleColormapImage ($displace) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns certain pixel differences between images
+ * @link https://php.net/manual/en/imagick.deconstructimages.php
+ * @return Imagick a new Imagick object on success.
+ */
+ public function deconstructImages () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Reduces the speckle noise in an image
+ * @link https://php.net/manual/en/imagick.despeckleimage.php
+ * @return bool TRUE on success.
+ */
+ public function despeckleImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Enhance edges within the image
+ * @link https://php.net/manual/en/imagick.edgeimage.php
+ * @param float $radius
+ * The radius of the operation.
+ *
+ * @return bool TRUE on success.
+ */
+ public function edgeImage ($radius) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns a grayscale image with a three-dimensional effect
+ * @link https://php.net/manual/en/imagick.embossimage.php
+ * @param float $radius
+ * The radius of the effect
+ *
+ * @param float $sigma
+ * The sigma of the effect
+ *
+ * @return bool TRUE on success.
+ */
+ public function embossImage ($radius, $sigma) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Improves the quality of a noisy image
+ * @link https://php.net/manual/en/imagick.enhanceimage.php
+ * @return bool TRUE on success.
+ */
+ public function enhanceImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Equalizes the image histogram
+ * @link https://php.net/manual/en/imagick.equalizeimage.php
+ * @return bool TRUE on success.
+ */
+ public function equalizeImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Applies an expression to an image
+ * @link https://php.net/manual/en/imagick.evaluateimage.php
+ * @param int $op
+ * The evaluation operator
+ *
+ * @param float $constant
+ * The value of the operator
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function evaluateImage ($op, $constant, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * Merges a sequence of images. This is useful for combining Photoshop layers into a single image.
+ * This is replaced by:
+ *
+ * @link https://php.net/manual/en/imagick.flattenimages.php
+ * @return Imagick Returns an Imagick object containing the merged image.
+ * @throws ImagickException Throws ImagickException on error.
+ * @since 2.0.0
+ */
+ public function flattenImages () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a vertical mirror image
+ * @link https://php.net/manual/en/imagick.flipimage.php
+ * @return bool TRUE on success.
+ */
+ public function flipImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a horizontal mirror image
+ * @link https://php.net/manual/en/imagick.flopimage.php
+ * @return bool TRUE on success.
+ */
+ public function flopImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds a simulated three-dimensional border
+ * @link https://php.net/manual/en/imagick.frameimage.php
+ * @param mixed $matte_color
+ * ImagickPixel object or a string representing the matte color
+ *
+ * @param int $width
+ * The width of the border
+ *
+ * @param int $height
+ * The height of the border
+ *
+ * @param int $inner_bevel
+ * The inner bevel width
+ *
+ * @param int $outer_bevel
+ * The outer bevel width
+ *
+ * @return bool TRUE on success.
+ */
+ public function frameImage ($matte_color, $width, $height, $inner_bevel, $outer_bevel) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Evaluate expression for each pixel in the image
+ * @link https://php.net/manual/en/imagick.fximage.php
+ * @param string $expression
+ * The expression.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return Imagick TRUE on success.
+ */
+ public function fxImage ($expression, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gamma-corrects an image
+ * @link https://php.net/manual/en/imagick.gammaimage.php
+ * @param float $gamma
+ * The amount of gamma-correction.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function gammaImage ($gamma, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Blurs an image
+ * @link https://php.net/manual/en/imagick.gaussianblurimage.php
+ * @param float $radius
+ * The radius of the Gaussian, in pixels, not counting the center pixel.
+ *
+ * @param float $sigma
+ * The standard deviation of the Gaussian, in pixels.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function gaussianBlurImage ($radius, $sigma, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * @param $key
+ */
+ public function getImageAttribute ($key) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the image background color
+ * @link https://php.net/manual/en/imagick.getimagebackgroundcolor.php
+ * @return ImagickPixel an ImagickPixel set to the background color of the image.
+ */
+ public function getImageBackgroundColor () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the chromaticy blue primary point
+ * @link https://php.net/manual/en/imagick.getimageblueprimary.php
+ * @return array Array consisting of "x" and "y" coordinates of point.
+ */
+ public function getImageBluePrimary () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the image border color
+ * @link https://php.net/manual/en/imagick.getimagebordercolor.php
+ * @return ImagickPixel TRUE on success.
+ */
+ public function getImageBorderColor () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the depth for a particular image channel
+ * @link https://php.net/manual/en/imagick.getimagechanneldepth.php
+ * @param int $channel
+ * Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ *
+ * @return int TRUE on success.
+ */
+ public function getImageChannelDepth ($channel) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Compares image channels of an image to a reconstructed image
+ * @link https://php.net/manual/en/imagick.getimagechanneldistortion.php
+ * @param Imagick $reference
+ * Imagick object to compare to.
+ *
+ * @param int $channel
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @param int $metric
+ * One of the metric type constants.
+ *
+ * @return float TRUE on success.
+ */
+ public function getImageChannelDistortion (Imagick $reference, $channel, $metric) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the extrema for one or more image channels
+ * @link https://php.net/manual/en/imagick.getimagechannelextrema.php
+ * @param int $channel
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return array TRUE on success.
+ */
+ public function getImageChannelExtrema ($channel) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the mean and standard deviation
+ * @link https://php.net/manual/en/imagick.getimagechannelmean.php
+ * @param int $channel
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return array TRUE on success.
+ */
+ public function getImageChannelMean ($channel) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns statistics for each channel in the image
+ * @link https://php.net/manual/en/imagick.getimagechannelstatistics.php
+ * @return array TRUE on success.
+ */
+ public function getImageChannelStatistics () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the color of the specified colormap index
+ * @link https://php.net/manual/en/imagick.getimagecolormapcolor.php
+ * @param int $index
+ * The offset into the image colormap.
+ *
+ * @return ImagickPixel TRUE on success.
+ */
+ public function getImageColormapColor ($index) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image colorspace
+ * @link https://php.net/manual/en/imagick.getimagecolorspace.php
+ * @return int TRUE on success.
+ */
+ public function getImageColorspace () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the composite operator associated with the image
+ * @link https://php.net/manual/en/imagick.getimagecompose.php
+ * @return int TRUE on success.
+ */
+ public function getImageCompose () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image delay
+ * @link https://php.net/manual/en/imagick.getimagedelay.php
+ * @return int the image delay.
+ */
+ public function getImageDelay () {}
+
+ /**
+ * (PECL imagick 0.9.1-0.9.9)
+ * Gets the image depth
+ * @link https://php.net/manual/en/imagick.getimagedepth.php
+ * @return int The image depth.
+ */
+ public function getImageDepth () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Compares an image to a reconstructed image
+ * @link https://php.net/manual/en/imagick.getimagedistortion.php
+ * @param Imagick $reference
+ * Imagick object to compare to.
+ *
+ * @param int $metric
+ * One of the metric type constants.
+ *
+ * @return float the distortion metric used on the image (or the best guess
+ * thereof).
+ */
+ public function getImageDistortion (Imagick $reference, $metric) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the extrema for the image
+ * @link https://php.net/manual/en/imagick.getimageextrema.php
+ * @return array an associative array with the keys "min" and "max".
+ */
+ public function getImageExtrema () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image disposal method
+ * @link https://php.net/manual/en/imagick.getimagedispose.php
+ * @return int the dispose method on success.
+ */
+ public function getImageDispose () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image gamma
+ * @link https://php.net/manual/en/imagick.getimagegamma.php
+ * @return float the image gamma on success.
+ */
+ public function getImageGamma () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the chromaticy green primary point
+ * @link https://php.net/manual/en/imagick.getimagegreenprimary.php
+ * @return array an array with the keys "x" and "y" on success, throws an ImagickException on failure.
+ * @throws ImagickException on failure
+ */
+ public function getImageGreenPrimary () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the image height
+ * @link https://php.net/manual/en/imagick.getimageheight.php
+ * @return int the image height in pixels.
+ */
+ public function getImageHeight () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image histogram
+ * @link https://php.net/manual/en/imagick.getimagehistogram.php
+ * @return array the image histogram as an array of ImagickPixel objects.
+ */
+ public function getImageHistogram () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image interlace scheme
+ * @link https://php.net/manual/en/imagick.getimageinterlacescheme.php
+ * @return int the interlace scheme as an integer on success.
+ * Trhow an ImagickException on error.
+ * @throws ImagickException on error
+ */
+ public function getImageInterlaceScheme () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image iterations
+ * @link https://php.net/manual/en/imagick.getimageiterations.php
+ * @return int the image iterations as an integer.
+ */
+ public function getImageIterations () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the image matte color
+ * @link https://php.net/manual/en/imagick.getimagemattecolor.php
+ * @return ImagickPixel ImagickPixel object on success.
+ */
+ public function getImageMatteColor () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the page geometry
+ * @link https://php.net/manual/en/imagick.getimagepage.php
+ * @return array the page geometry associated with the image in an array with the
+ * keys "width", "height", "x", and "y".
+ */
+ public function getImagePage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the color of the specified pixel
+ * @link https://php.net/manual/en/imagick.getimagepixelcolor.php
+ * @param int $x
+ * The x-coordinate of the pixel
+ *
+ * @param int $y
+ * The y-coordinate of the pixel
+ *
+ * @return ImagickPixel an ImagickPixel instance for the color at the coordinates given.
+ */
+ public function getImagePixelColor ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the named image profile
+ * @link https://php.net/manual/en/imagick.getimageprofile.php
+ * @param string $name
+ * The name of the profile to return.
+ *
+ * @return string a string containing the image profile.
+ */
+ public function getImageProfile ($name) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the chromaticity red primary point
+ * @link https://php.net/manual/en/imagick.getimageredprimary.php
+ * @return array the chromaticity red primary point as an array with the keys "x"
+ * and "y".
+ * Throw an ImagickException on error.
+ * @throws ImagickException on error
+ */
+ public function getImageRedPrimary () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image rendering intent
+ * @link https://php.net/manual/en/imagick.getimagerenderingintent.php
+ * @return int the image rendering intent.
+ */
+ public function getImageRenderingIntent () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image X and Y resolution
+ * @link https://php.net/manual/en/imagick.getimageresolution.php
+ * @return array the resolution as an array.
+ */
+ public function getImageResolution () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image scene
+ * @link https://php.net/manual/en/imagick.getimagescene.php
+ * @return int the image scene.
+ */
+ public function getImageScene () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Generates an SHA-256 message digest
+ * @link https://php.net/manual/en/imagick.getimagesignature.php
+ * @return string a string containing the SHA-256 hash of the file.
+ */
+ public function getImageSignature () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image ticks-per-second
+ * @link https://php.net/manual/en/imagick.getimagetickspersecond.php
+ * @return int the image ticks-per-second.
+ */
+ public function getImageTicksPerSecond () {}
+
+ /**
+ * (PECL imagick 0.9.10-0.9.9)
+ * Gets the potential image type
+ * @link https://php.net/manual/en/imagick.getimagetype.php
+ * @return int the potential image type.
+ * imagick::IMGTYPE_UNDEFINED
+ * imagick::IMGTYPE_BILEVEL
+ * imagick::IMGTYPE_GRAYSCALE
+ * imagick::IMGTYPE_GRAYSCALEMATTE
+ * imagick::IMGTYPE_PALETTE
+ * imagick::IMGTYPE_PALETTEMATTE
+ * imagick::IMGTYPE_TRUECOLOR
+ * imagick::IMGTYPE_TRUECOLORMATTE
+ * imagick::IMGTYPE_COLORSEPARATION
+ * imagick::IMGTYPE_COLORSEPARATIONMATTE
+ * imagick::IMGTYPE_OPTIMIZE
+ */
+ public function getImageType () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image units of resolution
+ * @link https://php.net/manual/en/imagick.getimageunits.php
+ * @return int the image units of resolution.
+ */
+ public function getImageUnits () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the virtual pixel method
+ * @link https://php.net/manual/en/imagick.getimagevirtualpixelmethod.php
+ * @return int the virtual pixel method on success.
+ */
+ public function getImageVirtualPixelMethod () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the chromaticity white point
+ * @link https://php.net/manual/en/imagick.getimagewhitepoint.php
+ * @return array the chromaticity white point as an associative array with the keys
+ * "x" and "y".
+ */
+ public function getImageWhitePoint () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the image width
+ * @link https://php.net/manual/en/imagick.getimagewidth.php
+ * @return int the image width.
+ */
+ public function getImageWidth () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the number of images in the object
+ * @link https://php.net/manual/en/imagick.getnumberimages.php
+ * @return int the number of images associated with Imagick object.
+ */
+ public function getNumberImages () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the image total ink density
+ * @link https://php.net/manual/en/imagick.getimagetotalinkdensity.php
+ * @return float the image total ink density of the image.
+ * Throw an ImagickException on error.
+ * @throws ImagickException on error
+ */
+ public function getImageTotalInkDensity () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Extracts a region of the image
+ * @link https://php.net/manual/en/imagick.getimageregion.php
+ * @param int $width
+ * The width of the extracted region.
+ *
+ * @param int $height
+ * The height of the extracted region.
+ *
+ * @param int $x
+ * X-coordinate of the top-left corner of the extracted region.
+ *
+ * @param int $y
+ * Y-coordinate of the top-left corner of the extracted region.
+ *
+ * @return Imagick Extracts a region of the image and returns it as a new wand.
+ */
+ public function getImageRegion ($width, $height, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a new image as a copy
+ * @link https://php.net/manual/en/imagick.implodeimage.php
+ * @param float $radius
+ * The radius of the implode
+ *
+ * @return bool TRUE on success.
+ */
+ public function implodeImage ($radius) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adjusts the levels of an image
+ * @link https://php.net/manual/en/imagick.levelimage.php
+ * @param float $blackPoint
+ * The image black point
+ *
+ * @param float $gamma
+ * The gamma value
+ *
+ * @param float $whitePoint
+ * The image white point
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function levelImage ($blackPoint, $gamma, $whitePoint, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Scales an image proportionally 2x
+ * @link https://php.net/manual/en/imagick.magnifyimage.php
+ * @return bool TRUE on success.
+ */
+ public function magnifyImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Replaces the colors of an image with the closest color from a reference image.
+ * @link https://php.net/manual/en/imagick.mapimage.php
+ * @param Imagick $map
+ * @param bool $dither
+ * @return bool TRUE on success.
+ */
+ public function mapImage (Imagick $map, $dither) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Changes the transparency value of a color
+ * @link https://php.net/manual/en/imagick.mattefloodfillimage.php
+ * @param float $alpha
+ * The level of transparency: 1.0 is fully opaque and 0.0 is fully
+ * transparent.
+ *
+ * @param float $fuzz
+ * The fuzz member of image defines how much tolerance is acceptable to
+ * consider two colors as the same.
+ *
+ * @param mixed $bordercolor
+ * An ImagickPixel object or string representing the border color.
+ *
+ * @param int $x
+ * The starting x coordinate of the operation.
+ *
+ * @param int $y
+ * The starting y coordinate of the operation.
+ *
+ * @return bool TRUE on success.
+ */
+ public function matteFloodfillImage ($alpha, $fuzz, $bordercolor, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Applies a digital filter
+ * @link https://php.net/manual/en/imagick.medianfilterimage.php
+ * @param float $radius
+ * The radius of the pixel neighborhood.
+ *
+ * @return bool TRUE on success.
+ */
+ public function medianFilterImage ($radius) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Negates the colors in the reference image
+ * @link https://php.net/manual/en/imagick.negateimage.php
+ * @param bool $gray
+ * Whether to only negate grayscale pixels within the image.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function negateImage ($gray, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Change any pixel that matches color
+ * @link https://php.net/manual/en/imagick.paintopaqueimage.php
+ * @param mixed $target
+ * Change this target color to the fill color within the image. An
+ * ImagickPixel object or a string representing the target color.
+ *
+ * @param mixed $fill
+ * An ImagickPixel object or a string representing the fill color.
+ *
+ * @param float $fuzz
+ * The fuzz member of image defines how much tolerance is acceptable to
+ * consider two colors as the same.
+ *
+ * @param int $channel [optional]
+ * Provide any channel constant that is valid for your channel mode. To
+ * apply to more than one channel, combine channeltype constants using
+ * bitwise operators. Refer to this
+ * list of channel constants.
+ *
+ * @return bool TRUE on success.
+ */
+ public function paintOpaqueImage ($target, $fill, $fuzz, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Changes any pixel that matches color with the color defined by fill
+ * @link https://php.net/manual/en/imagick.painttransparentimage.php
+ * @param mixed $target
+ * Change this target color to specified opacity value within the image.
+ *
+ * @param float $alpha
+ * The level of transparency: 1.0 is fully opaque and 0.0 is fully
+ * transparent.
+ *
+ * @param float $fuzz
+ * The fuzz member of image defines how much tolerance is acceptable to
+ * consider two colors as the same.
+ *
+ * @return bool TRUE on success.
+ */
+ public function paintTransparentImage ($target, $alpha, $fuzz) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Quickly pin-point appropriate parameters for image processing
+ * @link https://php.net/manual/en/imagick.previewimages.php
+ * @param int $preview
+ * Preview type. See Preview type constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function previewImages ($preview) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds or removes a profile from an image
+ * @link https://php.net/manual/en/imagick.profileimage.php
+ * @param string $name
+ * @param string $profile
+ * @return bool TRUE on success.
+ */
+ public function profileImage ($name, $profile) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Analyzes the colors within a reference image
+ * @link https://php.net/manual/en/imagick.quantizeimage.php
+ * @param int $numberColors
+ * @param int $colorspace
+ * @param int $treedepth
+ * @param bool $dither
+ * @param bool $measureError
+ * @return bool TRUE on success.
+ */
+ public function quantizeImage ($numberColors, $colorspace, $treedepth, $dither, $measureError) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Analyzes the colors within a sequence of images
+ * @link https://php.net/manual/en/imagick.quantizeimages.php
+ * @param int $numberColors
+ * @param int $colorspace
+ * @param int $treedepth
+ * @param bool $dither
+ * @param bool $measureError
+ * @return bool TRUE on success.
+ */
+ public function quantizeImages ($numberColors, $colorspace, $treedepth, $dither, $measureError) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Smooths the contours of an image
+ * @link https://php.net/manual/en/imagick.reducenoiseimage.php
+ * @param float $radius
+ * @return bool TRUE on success.
+ */
+ public function reduceNoiseImage ($radius) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Removes the named image profile and returns it
+ * @link https://php.net/manual/en/imagick.removeimageprofile.php
+ * @param string $name
+ * @return string a string containing the profile of the image.
+ */
+ public function removeImageProfile ($name) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Separates a channel from the image
+ * @link https://php.net/manual/en/imagick.separateimagechannel.php
+ * @param int $channel
+ * @return bool TRUE on success.
+ */
+ public function separateImageChannel ($channel) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sepia tones an image
+ * @link https://php.net/manual/en/imagick.sepiatoneimage.php
+ * @param float $threshold
+ * @return bool TRUE on success.
+ */
+ public function sepiaToneImage ($threshold) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image bias for any method that convolves an image
+ * @link https://php.net/manual/en/imagick.setimagebias.php
+ * @param float $bias
+ * @return bool TRUE on success.
+ */
+ public function setImageBias ($bias) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image chromaticity blue primary point
+ * @link https://php.net/manual/en/imagick.setimageblueprimary.php
+ * @param float $x
+ * @param float $y
+ * @return bool TRUE on success.
+ */
+ public function setImageBluePrimary ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image border color
+ * @link https://php.net/manual/en/imagick.setimagebordercolor.php
+ * @param mixed $border
+ * The border color
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageBorderColor ($border) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the depth of a particular image channel
+ * @link https://php.net/manual/en/imagick.setimagechanneldepth.php
+ * @param int $channel
+ * @param int $depth
+ * @return bool TRUE on success.
+ */
+ public function setImageChannelDepth ($channel, $depth) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the color of the specified colormap index
+ * @link https://php.net/manual/en/imagick.setimagecolormapcolor.php
+ * @param int $index
+ * @param ImagickPixel $color
+ * @return bool TRUE on success.
+ */
+ public function setImageColormapColor ($index, ImagickPixel $color) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image colorspace
+ * @link https://php.net/manual/en/imagick.setimagecolorspace.php
+ * @param int $colorspace
+ * One of the COLORSPACE constants
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImageColorspace ($colorspace) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image disposal method
+ * @link https://php.net/manual/en/imagick.setimagedispose.php
+ * @param int $dispose
+ * @return bool TRUE on success.
+ */
+ public function setImageDispose ($dispose) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image size
+ * @link https://php.net/manual/en/imagick.setimageextent.php
+ * @param int $columns
+ * @param int $rows
+ * @return bool TRUE on success.
+ */
+ public function setImageExtent ($columns, $rows) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image chromaticity green primary point
+ * @link https://php.net/manual/en/imagick.setimagegreenprimary.php
+ * @param float $x
+ * @param float $y
+ * @return bool TRUE on success.
+ */
+ public function setImageGreenPrimary ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image compression
+ * @link https://php.net/manual/en/imagick.setimageinterlacescheme.php
+ * @param int $interlace_scheme
+ * @return bool TRUE on success.
+ */
+ public function setImageInterlaceScheme ($interlace_scheme) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds a named profile to the Imagick object
+ * @link https://php.net/manual/en/imagick.setimageprofile.php
+ * @param string $name
+ * @param string $profile
+ * @return bool TRUE on success.
+ */
+ public function setImageProfile ($name, $profile) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image chromaticity red primary point
+ * @link https://php.net/manual/en/imagick.setimageredprimary.php
+ * @param float $x
+ * @param float $y
+ * @return bool TRUE on success.
+ */
+ public function setImageRedPrimary ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image rendering intent
+ * @link https://php.net/manual/en/imagick.setimagerenderingintent.php
+ * @param int $rendering_intent
+ * @return bool TRUE on success.
+ */
+ public function setImageRenderingIntent ($rendering_intent) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image virtual pixel method
+ * @link https://php.net/manual/en/imagick.setimagevirtualpixelmethod.php
+ * @param int $method
+ * @return bool TRUE on success.
+ */
+ public function setImageVirtualPixelMethod ($method) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image chromaticity white point
+ * @link https://php.net/manual/en/imagick.setimagewhitepoint.php
+ * @param float $x
+ * @param float $y
+ * @return bool TRUE on success.
+ */
+ public function setImageWhitePoint ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adjusts the contrast of an image
+ * @link https://php.net/manual/en/imagick.sigmoidalcontrastimage.php
+ * @param bool $sharpen
+ * @param float $alpha
+ * @param float $beta
+ * @param int $channel [optional]
+ * @return bool TRUE on success.
+ */
+ public function sigmoidalContrastImage ($sharpen, $alpha, $beta, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Composites two images
+ * @link https://php.net/manual/en/imagick.stereoimage.php
+ * @param Imagick $offset_wand
+ * @return bool TRUE on success.
+ */
+ public function stereoImage (Imagick $offset_wand) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Repeatedly tiles the texture image
+ * @link https://php.net/manual/en/imagick.textureimage.php
+ * @param Imagick $texture_wand
+ * @return bool TRUE on success.
+ */
+ public function textureImage (Imagick $texture_wand) {}
+
+ /**
+ * pplies a color vector to each pixel in the image. The 'opacity' color is a per channel strength factor for how strongly the color should be applied.
+ * If legacy is true, the behaviour of this function is incorrect, but consistent with how it behaved before Imagick version 3.4.0
+ * @link https://php.net/manual/en/imagick.tintimage.php
+ * @param mixed $tint
+ * @param mixed $opacity
+ * @param bool $legacy [optional]
+ * @return bool TRUE on success.
+ * @throws ImagickException Throws ImagickException on error
+ * @since 2.0.0
+ */
+ public function tintImage ($tint, $opacity, $legacy = false) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sharpens an image
+ * @link https://php.net/manual/en/imagick.unsharpmaskimage.php
+ * @param float $radius
+ * @param float $sigma
+ * @param float $amount
+ * @param float $threshold
+ * @param int $channel [optional]
+ * @return bool TRUE on success.
+ */
+ public function unsharpMaskImage ($radius, $sigma, $amount, $threshold, $channel = Imagick::CHANNEL_ALL) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns a new Imagick object
+ * @link https://php.net/manual/en/imagick.getimage.php
+ * @return Imagick a new Imagick object with the current image sequence.
+ */
+ public function getImage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds new image to Imagick object image list
+ * @link https://php.net/manual/en/imagick.addimage.php
+ * @param Imagick $source
+ * The source Imagick object
+ *
+ * @return bool TRUE on success.
+ */
+ public function addImage (Imagick $source) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Replaces image in the object
+ * @link https://php.net/manual/en/imagick.setimage.php
+ * @param Imagick $replace
+ * The replace Imagick object
+ *
+ * @return bool TRUE on success.
+ */
+ public function setImage (Imagick $replace) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a new image
+ * @link https://php.net/manual/en/imagick.newimage.php
+ * @param int $cols
+ * Columns in the new image
+ *
+ * @param int $rows
+ * Rows in the new image
+ *
+ * @param mixed $background
+ * The background color used for this image
+ *
+ * @param string $format [optional]
+ * Image format. This parameter was added in Imagick version 2.0.1.
+ *
+ * @return bool TRUE on success.
+ */
+ public function newImage ($cols, $rows, $background, $format = null) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Creates a new image
+ * @link https://php.net/manual/en/imagick.newpseudoimage.php
+ * @param int $columns
+ * @return bool TRUE on success.
+ */
+ public function newPseudoImage ($columns, $rows, $pseudoString) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the object compression type
+ * @link https://php.net/manual/en/imagick.getcompression.php
+ * @return int the compression constant
+ */
+ public function getCompression () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the object compression quality
+ * @link https://php.net/manual/en/imagick.getcompressionquality.php
+ * @return int integer describing the compression quality
+ */
+ public function getCompressionQuality () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the ImageMagick API copyright as a string
+ * @link https://php.net/manual/en/imagick.getcopyright.php
+ * @return string a string containing the copyright notice of Imagemagick and
+ * Magickwand C API.
+ */
+ public static function getCopyright () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * The filename associated with an image sequence
+ * @link https://php.net/manual/en/imagick.getfilename.php
+ * @return string a string on success.
+ */
+ public function getFilename () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the format of the Imagick object
+ * @link https://php.net/manual/en/imagick.getformat.php
+ * @return string the format of the image.
+ */
+ public function getFormat () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the ImageMagick home URL
+ * @link https://php.net/manual/en/imagick.gethomeurl.php
+ * @return string a link to the imagemagick homepage.
+ */
+ public static function getHomeURL () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the object interlace scheme
+ * @link https://php.net/manual/en/imagick.getinterlacescheme.php
+ * @return int Gets the wand interlace
+ * scheme.
+ */
+ public function getInterlaceScheme () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns a value associated with the specified key
+ * @link https://php.net/manual/en/imagick.getoption.php
+ * @param string $key
+ * The name of the option
+ *
+ * @return string a value associated with a wand and the specified key.
+ */
+ public function getOption ($key) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the ImageMagick package name
+ * @link https://php.net/manual/en/imagick.getpackagename.php
+ * @return string the ImageMagick package name as a string.
+ */
+ public static function getPackageName () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the page geometry
+ * @link https://php.net/manual/en/imagick.getpage.php
+ * @return array the page geometry associated with the Imagick object in
+ * an associative array with the keys "width", "height", "x", and "y",
+ * throwing ImagickException on error.
+ * @throws ImagickException on error
+ */
+ public function getPage () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the quantum depth
+ * @link https://php.net/manual/en/imagick.getquantumdepth.php
+ * @return array the Imagick quantum depth as a string.
+ */
+ public static function getQuantumDepth () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the Imagick quantum range
+ * @link https://php.net/manual/en/imagick.getquantumrange.php
+ * @return array the Imagick quantum range as a string.
+ */
+ public static function getQuantumRange () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the ImageMagick release date
+ * @link https://php.net/manual/en/imagick.getreleasedate.php
+ * @return string the ImageMagick release date as a string.
+ */
+ public static function getReleaseDate () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the specified resource's memory usage
+ * @link https://php.net/manual/en/imagick.getresource.php
+ * @param int $type
+ * Refer to the list of resourcetype constants.
+ *
+ * @return int the specified resource's memory usage in megabytes.
+ */
+ public static function getResource ($type) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the specified resource limit
+ * @link https://php.net/manual/en/imagick.getresourcelimit.php
+ * @param int $type
+ * Refer to the list of resourcetype constants.
+ *
+ * @return int the specified resource limit in megabytes.
+ */
+ public static function getResourceLimit ($type) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the horizontal and vertical sampling factor
+ * @link https://php.net/manual/en/imagick.getsamplingfactors.php
+ * @return array an associative array with the horizontal and vertical sampling
+ * factors of the image.
+ */
+ public function getSamplingFactors () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the size associated with the Imagick object
+ * @link https://php.net/manual/en/imagick.getsize.php
+ * @return array the size associated with the Imagick object as an array with the
+ * keys "columns" and "rows".
+ */
+ public function getSize () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the ImageMagick API version
+ * @link https://php.net/manual/en/imagick.getversion.php
+ * @return array the ImageMagick API version as a string and as a number.
+ */
+ public static function getVersion () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the object's default background color
+ * @link https://php.net/manual/en/imagick.setbackgroundcolor.php
+ * @param mixed $background
+ * @return bool TRUE on success.
+ */
+ public function setBackgroundColor ($background) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the object's default compression type
+ * @link https://php.net/manual/en/imagick.setcompression.php
+ * @param int $compression
+ * @return bool TRUE on success.
+ */
+ public function setCompression ($compression) {}
+
+ /**
+ * (PECL imagick 0.9.10-0.9.9)
+ * Sets the object's default compression quality
+ * @link https://php.net/manual/en/imagick.setcompressionquality.php
+ * @param int $quality
+ * @return bool TRUE on success.
+ */
+ public function setCompressionQuality ($quality) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the filename before you read or write the image
+ * @link https://php.net/manual/en/imagick.setfilename.php
+ * @param string $filename
+ * @return bool TRUE on success.
+ */
+ public function setFilename ($filename) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the format of the Imagick object
+ * @link https://php.net/manual/en/imagick.setformat.php
+ * @param string $format
+ * @return bool TRUE on success.
+ */
+ public function setFormat ($format) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image compression
+ * @link https://php.net/manual/en/imagick.setinterlacescheme.php
+ * @param int $interlace_scheme
+ * @return bool TRUE on success.
+ */
+ public function setInterlaceScheme ($interlace_scheme) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Set an option
+ * @link https://php.net/manual/en/imagick.setoption.php
+ * @param string $key
+ * @param string $value
+ * @return bool TRUE on success.
+ */
+ public function setOption ($key, $value) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the page geometry of the Imagick object
+ * @link https://php.net/manual/en/imagick.setpage.php
+ * @param int $width
+ * @param int $height
+ * @param int $x
+ * @param int $y
+ * @return bool TRUE on success.
+ */
+ public function setPage ($width, $height, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the limit for a particular resource in megabytes
+ * @link https://php.net/manual/en/imagick.setresourcelimit.php
+ * @param int $type
+ * Refer to the list of resourcetype constants.
+ *
+ * @param int $limit
+ * The resource limit. The unit depends on the type of the resource being limited.
+ *
+ * @return bool TRUE on success.
+ */
+ public static function setResourceLimit ($type, $limit) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image resolution
+ * @link https://php.net/manual/en/imagick.setresolution.php
+ * @param float $x_resolution
+ * The horizontal resolution.
+ *
+ * @param float $y_resolution
+ * The vertical resolution.
+ *
+ * @return bool TRUE on success.
+ */
+ public function setResolution ($x_resolution, $y_resolution) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image sampling factors
+ * @link https://php.net/manual/en/imagick.setsamplingfactors.php
+ * @param array $factors
+ * @return bool TRUE on success.
+ */
+ public function setSamplingFactors (array $factors) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the size of the Imagick object
+ * @link https://php.net/manual/en/imagick.setsize.php
+ * @param int $columns
+ * @param int $rows
+ * @return bool TRUE on success.
+ */
+ public function setSize ($columns, $rows) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the image type attribute
+ * @link https://php.net/manual/en/imagick.settype.php
+ * @param int $image_type
+ * @return bool TRUE on success.
+ */
+ public function setType ($image_type) {}
+
+ public function key () {}
+
+ public function next () {}
+
+ public function rewind () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Checks if the current item is valid
+ * @link https://php.net/manual/en/imagick.valid.php
+ * @return bool TRUE on success.
+ */
+ public function valid () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns a reference to the current Imagick object
+ * @link https://php.net/manual/en/imagick.current.php
+ * @return Imagick self on success.
+ */
+ public function current () {}
+
+ /**
+ * Change the brightness and/or contrast of an image. It converts the brightness and contrast parameters into slope and intercept and calls a polynomical function to apply to the image.
+ * @link https://php.net/manual/en/imagick.brightnesscontrastimage.php
+ * @param string $brightness
+ * @param string $contrast
+ * @param int $CHANNEL [optional]
+ * @return void
+ * @since 3.3.0
+ */
+ public function brightnessContrastImage ($brightness, $contrast, $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
+
+ /**
+ * Applies a user supplied kernel to the image according to the given morphology method.
+ * @link https://php.net/manual/en/imagick.morphology.php
+ * @param int $morphologyMethod Which morphology method to use one of the \Imagick::MORPHOLOGY_* constants.
+ * @param int $iterations The number of iteration to apply the morphology function. A value of -1 means loop until no change found. How this is applied may depend on the morphology method. Typically this is a value of 1.
+ * @param ImagickKernel $ImagickKernel
+ * @param int $CHANNEL [optional]
+ * @return void
+ * @since 3.3.0
+ */
+ public function morphology ($morphologyMethod, $iterations, ImagickKernel $ImagickKernel, $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
+
+ /**
+ * Applies a custom convolution kernel to the image.
+ * @link https://php.net/manual/en/imagick.filter.php
+ * @param ImagickKernel $ImagickKernel An instance of ImagickKernel that represents either a single kernel or a linked series of kernels.
+ * @param int $CHANNEL [optional] Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ * @return void
+ * @since 3.3.0
+ */
+ public function filter (ImagickKernel $ImagickKernel , $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
+
+ /**
+ * Apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets).
+ * The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255)
+ * @link https://php.net/manual/en/imagick.colormatriximage.php
+ * @param string $color_matrix
+ * @return void
+ * @since 3.3.0
+ */
+ public function colorMatrixImage ($color_matrix = Imagick::CHANNEL_DEFAULT) { }
+
+ /**
+ * Deletes an image property.
+ * @link https://php.net/manual/en/imagick.deleteimageproperty.php
+ * @param string $name The name of the property to delete.
+ * @return void
+ * @since 3.3.0
+ */
+ public function deleteImageProperty ($name) { }
+
+ /**
+ * Implements the discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
+ * @link https://php.net/manual/en/imagick.forwardfouriertransformimage.php
+ * @param bool $magnitude If true, return as magnitude / phase pair otherwise a real / imaginary image pair.
+ * @return void
+ * @since 3.3.0
+ */
+ public function forwardFourierTransformimage ($magnitude) { }
+
+ /**
+ * Gets the current image's compression type.
+ * @link https://php.net/manual/en/imagick.getimagecompression.php
+ * @return int
+ * @since 3.3.0
+ */
+ public function getImageCompression () { }
+
+ /**
+ * Get the StringRegistry entry for the named key or false if not set.
+ * @link https://php.net/manual/en/imagick.getregistry.php
+ * @param string $key
+ * @return string|false
+ * @throws Exception Since version >=3.4.3. Throws an exception if the key does not exist, rather than terminating the program.
+ * @since 3.3.0
+ */
+ public static function getRegistry ($key) { }
+
+ /**
+ * Returns the ImageMagick quantum range as an integer.
+ * @link https://php.net/manual/en/imagick.getquantum.php
+ * @return int
+ * @since 3.3.0
+ */
+ public static function getQuantum () { }
+
+ /**
+ * Replaces any embedded formatting characters with the appropriate image property and returns the interpreted text. See https://www.imagemagick.org/script/escape.php for escape sequences.
+ * @link https://php.net/manual/en/imagick.identifyformat.php
+ * @see https://www.imagemagick.org/script/escape.php
+ * @param string $embedText A string containing formatting sequences e.g. "Trim box: %@ number of unique colors: %k".
+ * @return bool
+ * @since 3.3.0
+ */
+ public function identifyFormat ($embedText) { }
+
+ /**
+ * Implements the inverse discrete Fourier transform (DFT) of the image either as a magnitude / phase or real / imaginary image pair.
+ * @link https://php.net/manual/en/imagick.inversefouriertransformimage.php
+ * @param Imagick $complement The second image to combine with this one to form either the magnitude / phase or real / imaginary image pair.
+ * @param bool $magnitude If true, combine as magnitude / phase pair otherwise a real / imaginary image pair.
+ * @return void
+ * @since 3.3.0
+ */
+ public function inverseFourierTransformImage ($complement, $magnitude) { }
+
+ /**
+ * List all the registry settings. Returns an array of all the key/value pairs in the registry
+ * @link https://php.net/manual/en/imagick.listregistry.php
+ * @return array An array containing the key/values from the registry.
+ * @since 3.3.0
+ */
+ public static function listRegistry () { }
+
+ /**
+ * Rotational blurs an image.
+ * @link https://php.net/manual/en/imagick.rotationalblurimage.php
+ * @param string $angle
+ * @param string $CHANNEL
+ * @return void
+ * @since 3.3.0
+ */
+ public function rotationalBlurImage ($angle, $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
+
+ /**
+ * Selectively blur an image within a contrast threshold. It is similar to the unsharpen mask that sharpens everything with contrast above a certain threshold.
+ * @link https://php.net/manual/en/imagick.selectiveblurimage.php
+ * @param float $radius
+ * @param float $sigma
+ * @param float $threshold
+ * @param int $CHANNEL Provide any channel constant that is valid for your channel mode. To apply to more than one channel, combine channel constants using bitwise operators. Defaults to Imagick::CHANNEL_DEFAULT. Refer to this list of channel constants
+ * @return void
+ * @since 3.3.0
+ */
+ public function selectiveBlurImage ($radius, $sigma, $threshold, $CHANNEL = Imagick::CHANNEL_DEFAULT) { }
+
+ /**
+ * Set whether antialiasing should be used for operations. On by default.
+ * @param bool $antialias
+ * @return int
+ * @since 3.3.0
+ */
+ public function setAntiAlias ($antialias) { }
+
+ /**
+ * @link https://php.net/manual/en/imagick.setimagebiasquantum.php
+ * @param string $bias
+ * @return void
+ * @since 3.3.0
+ */
+ public function setImageBiasQuantum ($bias) { }
+
+ /**
+ * Set a callback that will be called during the processing of the Imagick image.
+ * @link https://php.net/manual/en/imagick.setprogressmonitor.php
+ * @param callable $callback The progress function to call. It should return true if image processing should continue, or false if it should be cancelled.
+ * The offset parameter indicates the progress and the span parameter indicates the total amount of work needed to be done.
+ *
bool callback ( mixed $offset , mixed $span )
+ * Caution
+ * The values passed to the callback function are not consistent. In particular the span parameter can increase during image processing. Because of this calculating the percentage complete of an image operation is not trivial.
+ * @return void
+ * @since 3.3.0
+ */
+ public function setProgressMonitor ($callback) { }
+
+ /**
+ * Sets the ImageMagick registry entry named key to value. This is most useful for setting "temporary-path" which controls where ImageMagick creates temporary images e.g. while processing PDFs.
+ * @link https://php.net/manual/en/imagick.setregistry.php
+ * @param string $key
+ * @param string $value
+ * @return void
+ * @since 3.3.0
+ */
+ public static function setRegistry ($key, $value) { }
+
+ /**
+ * Replace each pixel with corresponding statistic from the neighborhood of the specified width and height.
+ * @link https://php.net/manual/en/imagick.statisticimage.php
+ * @param int $type
+ * @param int $width
+ * @param int $height
+ * @param int $channel [optional]
+ * @return void
+ * @since 3.3.0
+ */
+ public function statisticImage ($type, $width, $height, $channel = Imagick::CHANNEL_DEFAULT ) { }
+
+ /**
+ * Searches for a subimage in the current image and returns a similarity image such that an exact match location is
+ * completely white and if none of the pixels match, black, otherwise some gray level in-between.
+ * You can also pass in the optional parameters bestMatch and similarity. After calling the function similarity will
+ * be set to the 'score' of the similarity between the subimage and the matching position in the larger image,
+ * bestMatch will contain an associative array with elements x, y, width, height that describe the matching region.
+ *
+ * @link https://php.net/manual/en/imagick.subimagematch.php
+ * @param Imagick $imagick
+ * @param array &$bestMatch [optional]
+ * @param float &$similarity [optional] A new image that displays the amount of similarity at each pixel.
+ * @param float $similarity_threshold [optional] Only used if compiled with ImageMagick (library) > 7
+ * @param int $metric [optional] Only used if compiled with ImageMagick (library) > 7
+ * @return Imagick
+ * @since 3.3.0
+ */
+ public function subImageMatch (Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) { }
+
+ /**
+ * Is an alias of Imagick::subImageMatch
+ *
+ * @param Imagick $imagick
+ * @param array $bestMatch [optional]
+ * @param float $similarity [optional] A new image that displays the amount of similarity at each pixel.
+ * @param float $similarity_threshold [optional]
+ * @param int $metric [optional]
+ * @return Imagick
+ * @see Imagick::subImageMatch() This function is an alias of subImageMatch()
+ * @since 3.4.0
+ */
+ public function similarityImage (Imagick $imagick, array &$bestMatch, &$similarity, $similarity_threshold, $metric) { }
+
+ /**
+ * Returns any ImageMagick configure options that match the specified pattern (e.g. "*" for all). Options include NAME, VERSION, LIB_VERSION, etc.
+ * @return string
+ * @since 3.4.0
+ */
+ public function getConfigureOptions () { }
+
+ /**
+ * GetFeatures() returns the ImageMagick features that have been compiled into the runtime.
+ * @return string
+ * @since 3.4.0
+ */
+ public function getFeatures () { }
+
+ /**
+ * @return int
+ * @since 3.4.0
+ */
+ public function getHDRIEnabled () { }
+
+ /**
+ * Sets the image channel mask. Returns the previous set channel mask.
+ * Only works with Imagick >=7
+ * @param int $channel
+ * @since 3.4.0
+ */
+ public function setImageChannelMask ($channel) {}
+
+ /**
+ * Merge multiple images of the same size together with the selected operator. https://www.imagemagick.org/Usage/layers/#evaluate-sequence
+ * @param int $EVALUATE_CONSTANT
+ * @return bool
+ * @see https://www.imagemagick.org/Usage/layers/#evaluate-sequence
+ * @since 3.4.0
+ */
+ public function evaluateImages ($EVALUATE_CONSTANT) { }
+
+ /**
+ * Extracts the 'mean' from the image and adjust the image to try make set its gamma appropriately.
+ * @param int $channel [optional] Default value Imagick::CHANNEL_ALL
+ * @return bool
+ * @since 3.4.1
+ */
+ public function autoGammaImage ($channel = Imagick::CHANNEL_ALL) { }
+
+ /**
+ * Adjusts an image so that its orientation is suitable $ for viewing (i.e. top-left orientation).
+ * @return bool
+ * @since 3.4.1
+ */
+ public function autoOrient () { }
+
+ /**
+ * Composite one image onto another using the specified gravity.
+ *
+ * @param Imagick $imagick
+ * @param int $COMPOSITE_CONSTANT
+ * @param int $GRAVITY_CONSTANT
+ * @return bool
+ * @since 3.4.1
+ */
+ public function compositeImageGravity(Imagick $imagick, $COMPOSITE_CONSTANT, $GRAVITY_CONSTANT) { }
+
+ /**
+ * Attempts to increase the appearance of large-scale light-dark transitions.
+ *
+ * @param float $radius
+ * @param float $strength
+ * @return bool
+ * @since 3.4.1
+ */
+ public function localContrastImage($radius, $strength) { }
+
+ /**
+ * Identifies the potential image type, returns one of the Imagick::IMGTYPE_* constants
+ * @return int
+ * @since 3.4.3
+ */
+ public function identifyImageType() { }
+
+ /**
+ * Sets the image to the specified alpha level. Will replace ImagickDraw::setOpacity()
+ *
+ * @param float $alpha
+ * @return bool
+ * @since 3.4.3
+ */
+ public function setImageAlpha($alpha) { }
+}
+
+/**
+ * @method ImagickDraw clone() (PECL imagick 2.0.0) Makes an exact copy of the specified ImagickDraw object
+ * @link https://php.net/manual/en/class.imagickdraw.php
+ */
+class ImagickDraw {
+
+ public function resetVectorGraphics () {}
+
+ public function getTextKerning () {}
+
+ /**
+ * @param $kerning
+ */
+ public function setTextKerning ($kerning) {}
+
+ public function getTextInterWordSpacing () {}
+
+ /**
+ * @param $spacing
+ */
+ public function setTextInterWordSpacing ($spacing) {}
+
+ public function getTextInterLineSpacing () {}
+
+ /**
+ * @param $spacing
+ */
+ public function setTextInterLineSpacing ($spacing) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * The ImagickDraw constructor
+ * @link https://php.net/manual/en/imagickdraw.construct.php
+ */
+ public function __construct () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the fill color to be used for drawing filled objects
+ * @link https://php.net/manual/en/imagickdraw.setfillcolor.php
+ * @param ImagickPixel $fill_pixel
+ * ImagickPixel to use to set the color
+ *
+ * @return bool No value is returned.
+ */
+ public function setFillColor (ImagickPixel $fill_pixel) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the opacity to use when drawing using the fill color or fill texture
+ * @link https://php.net/manual/en/imagickdraw.setfillalpha.php
+ * @param float $opacity
+ * fill alpha
+ *
+ * @return bool No value is returned.
+ */
+ public function setFillAlpha ($opacity) {}
+
+ /**
+ * @param $x_resolution
+ * @param $y_resolution
+ */
+ public function setResolution ($x_resolution, $y_resolution) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the color used for stroking object outlines
+ * @link https://php.net/manual/en/imagickdraw.setstrokecolor.php
+ * @param ImagickPixel $stroke_pixel
+ * the stroke color
+ *
+ * @return bool No value is returned.
+ */
+ public function setStrokeColor (ImagickPixel $stroke_pixel) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies the opacity of stroked object outlines
+ * @link https://php.net/manual/en/imagickdraw.setstrokealpha.php
+ * @param float $opacity
+ * opacity
+ *
+ * @return bool No value is returned.
+ */
+ public function setStrokeAlpha ($opacity) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the width of the stroke used to draw object outlines
+ * @link https://php.net/manual/en/imagickdraw.setstrokewidth.php
+ * @param float $stroke_width
+ * stroke width
+ *
+ * @return bool No value is returned.
+ */
+ public function setStrokeWidth ($stroke_width) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Clears the ImagickDraw
+ * @link https://php.net/manual/en/imagickdraw.clear.php
+ * @return bool an ImagickDraw object.
+ */
+ public function clear () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a circle
+ * @link https://php.net/manual/en/imagickdraw.circle.php
+ * @param float $ox
+ * origin x coordinate
+ *
+ * @param float $oy
+ * origin y coordinate
+ *
+ * @param float $px
+ * perimeter x coordinate
+ *
+ * @param float $py
+ * perimeter y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function circle ($ox, $oy, $px, $py) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws text on the image
+ * @link https://php.net/manual/en/imagickdraw.annotation.php
+ * @param float $x
+ * The x coordinate where text is drawn
+ *
+ * @param float $y
+ * The y coordinate where text is drawn
+ *
+ * @param string $text
+ * The text to draw on the image
+ *
+ * @return bool No value is returned.
+ */
+ public function annotation ($x, $y, $text) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Controls whether text is antialiased
+ * @link https://php.net/manual/en/imagickdraw.settextantialias.php
+ * @param bool $antiAlias
+ * @return bool No value is returned.
+ */
+ public function setTextAntialias ($antiAlias) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies specifies the text code set
+ * @link https://php.net/manual/en/imagickdraw.settextencoding.php
+ * @param string $encoding
+ * the encoding name
+ *
+ * @return bool No value is returned.
+ */
+ public function setTextEncoding ($encoding) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the fully-specified font to use when annotating with text
+ * @link https://php.net/manual/en/imagickdraw.setfont.php
+ * @param string $font_name
+ * @return bool TRUE on success.
+ */
+ public function setFont ($font_name) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the font family to use when annotating with text
+ * @link https://php.net/manual/en/imagickdraw.setfontfamily.php
+ * @param string $font_family
+ * the font family
+ *
+ * @return bool TRUE on success.
+ */
+ public function setFontFamily ($font_family) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the font pointsize to use when annotating with text
+ * @link https://php.net/manual/en/imagickdraw.setfontsize.php
+ * @param float $pointsize
+ * the point size
+ *
+ * @return bool No value is returned.
+ */
+ public function setFontSize ($pointsize) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the font style to use when annotating with text
+ * @link https://php.net/manual/en/imagickdraw.setfontstyle.php
+ * @param int $style
+ * STYLETYPE_ constant
+ *
+ * @return bool No value is returned.
+ */
+ public function setFontStyle ($style) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the font weight
+ * @link https://php.net/manual/en/imagickdraw.setfontweight.php
+ * @param int $font_weight
+ * @return bool
+ */
+ public function setFontWeight ($font_weight) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the font
+ * @link https://php.net/manual/en/imagickdraw.getfont.php
+ * @return string|false a string on success and false if no font is set.
+ */
+ public function getFont () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the font family
+ * @link https://php.net/manual/en/imagickdraw.getfontfamily.php
+ * @return string|false the font family currently selected or false if font family is not set.
+ */
+ public function getFontFamily () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the font pointsize
+ * @link https://php.net/manual/en/imagickdraw.getfontsize.php
+ * @return float the font size associated with the current ImagickDraw object.
+ */
+ public function getFontSize () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the font style
+ * @link https://php.net/manual/en/imagickdraw.getfontstyle.php
+ * @return int the font style constant (STYLE_) associated with the ImagickDraw object
+ * or 0 if no style is set.
+ */
+ public function getFontStyle () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the font weight
+ * @link https://php.net/manual/en/imagickdraw.getfontweight.php
+ * @return int an int on success and 0 if no weight is set.
+ */
+ public function getFontWeight () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Frees all associated resources
+ * @link https://php.net/manual/en/imagickdraw.destroy.php
+ * @return bool No value is returned.
+ */
+ public function destroy () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a rectangle
+ * @link https://php.net/manual/en/imagickdraw.rectangle.php
+ * @param float $x1
+ * x coordinate of the top left corner
+ *
+ * @param float $y1
+ * y coordinate of the top left corner
+ *
+ * @param float $x2
+ * x coordinate of the bottom right corner
+ *
+ * @param float $y2
+ * y coordinate of the bottom right corner
+ *
+ * @return bool No value is returned.
+ */
+ public function rectangle ($x1, $y1, $x2, $y2) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a rounded rectangle
+ * @link https://php.net/manual/en/imagickdraw.roundrectangle.php
+ * @param float $x1
+ * x coordinate of the top left corner
+ *
+ * @param float $y1
+ * y coordinate of the top left corner
+ *
+ * @param float $x2
+ * x coordinate of the bottom right
+ *
+ * @param float $y2
+ * y coordinate of the bottom right
+ *
+ * @param float $rx
+ * x rounding
+ *
+ * @param float $ry
+ * y rounding
+ *
+ * @return bool No value is returned.
+ */
+ public function roundRectangle ($x1, $y1, $x2, $y2, $rx, $ry) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws an ellipse on the image
+ * @link https://php.net/manual/en/imagickdraw.ellipse.php
+ * @param float $ox
+ * @param float $oy
+ * @param float $rx
+ * @param float $ry
+ * @param float $start
+ * @param float $end
+ * @return bool No value is returned.
+ */
+ public function ellipse ($ox, $oy, $rx, $ry, $start, $end) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Skews the current coordinate system in the horizontal direction
+ * @link https://php.net/manual/en/imagickdraw.skewx.php
+ * @param float $degrees
+ * degrees to skew
+ *
+ * @return bool No value is returned.
+ */
+ public function skewX ($degrees) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Skews the current coordinate system in the vertical direction
+ * @link https://php.net/manual/en/imagickdraw.skewy.php
+ * @param float $degrees
+ * degrees to skew
+ *
+ * @return bool No value is returned.
+ */
+ public function skewY ($degrees) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Applies a translation to the current coordinate system
+ * @link https://php.net/manual/en/imagickdraw.translate.php
+ * @param float $x
+ * horizontal translation
+ *
+ * @param float $y
+ * vertical translation
+ *
+ * @return bool No value is returned.
+ */
+ public function translate ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a line
+ * @link https://php.net/manual/en/imagickdraw.line.php
+ * @param float $sx
+ * starting x coordinate
+ *
+ * @param float $sy
+ * starting y coordinate
+ *
+ * @param float $ex
+ * ending x coordinate
+ *
+ * @param float $ey
+ * ending y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function line ($sx, $sy, $ex, $ey) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws an arc
+ * @link https://php.net/manual/en/imagickdraw.arc.php
+ * @param float $sx
+ * Starting x ordinate of bounding rectangle
+ *
+ * @param float $sy
+ * starting y ordinate of bounding rectangle
+ *
+ * @param float $ex
+ * ending x ordinate of bounding rectangle
+ *
+ * @param float $ey
+ * ending y ordinate of bounding rectangle
+ *
+ * @param float $sd
+ * starting degrees of rotation
+ *
+ * @param float $ed
+ * ending degrees of rotation
+ *
+ * @return bool No value is returned.
+ */
+ public function arc ($sx, $sy, $ex, $ey, $sd, $ed) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Paints on the image's opacity channel
+ * @link https://php.net/manual/en/imagickdraw.matte.php
+ * @param float $x
+ * x coordinate of the matte
+ *
+ * @param float $y
+ * y coordinate of the matte
+ *
+ * @param int $paintMethod
+ * PAINT_ constant
+ *
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function matte ($x, $y, $paintMethod) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a polygon
+ * @link https://php.net/manual/en/imagickdraw.polygon.php
+ * @param array $coordinates
+ * @return bool TRUE on success.
+ */
+ public function polygon (array $coordinates) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a point
+ * @link https://php.net/manual/en/imagickdraw.point.php
+ * @param float $x
+ * point's x coordinate
+ *
+ * @param float $y
+ * point's y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function point ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the text decoration
+ * @link https://php.net/manual/en/imagickdraw.gettextdecoration.php
+ * @return int one of the DECORATION_ constants
+ * and 0 if no decoration is set.
+ */
+ public function getTextDecoration () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the code set used for text annotations
+ * @link https://php.net/manual/en/imagickdraw.gettextencoding.php
+ * @return string a string specifying the code set
+ * or false if text encoding is not set.
+ */
+ public function getTextEncoding () {}
+
+ public function getFontStretch () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the font stretch to use when annotating with text
+ * @link https://php.net/manual/en/imagickdraw.setfontstretch.php
+ * @param int $fontStretch
+ * STRETCH_ constant
+ *
+ * @return bool No value is returned.
+ */
+ public function setFontStretch ($fontStretch) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Controls whether stroked outlines are antialiased
+ * @link https://php.net/manual/en/imagickdraw.setstrokeantialias.php
+ * @param bool $stroke_antialias
+ * the antialias setting
+ *
+ * @return bool No value is returned.
+ */
+ public function setStrokeAntialias ($stroke_antialias) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies a text alignment
+ * @link https://php.net/manual/en/imagickdraw.settextalignment.php
+ * @param int $alignment
+ * ALIGN_ constant
+ *
+ * @return bool No value is returned.
+ */
+ public function setTextAlignment ($alignment) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies a decoration
+ * @link https://php.net/manual/en/imagickdraw.settextdecoration.php
+ * @param int $decoration
+ * DECORATION_ constant
+ *
+ * @return bool No value is returned.
+ */
+ public function setTextDecoration ($decoration) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies the color of a background rectangle
+ * @link https://php.net/manual/en/imagickdraw.settextundercolor.php
+ * @param ImagickPixel $under_color
+ * the under color
+ *
+ * @return bool No value is returned.
+ */
+ public function setTextUnderColor (ImagickPixel $under_color) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the overall canvas size
+ * @link https://php.net/manual/en/imagickdraw.setviewbox.php
+ * @param int $x1
+ * left x coordinate
+ *
+ * @param int $y1
+ * left y coordinate
+ *
+ * @param int $x2
+ * right x coordinate
+ *
+ * @param int $y2
+ * right y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function setViewbox ($x1, $y1, $x2, $y2) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adjusts the current affine transformation matrix
+ * @link https://php.net/manual/en/imagickdraw.affine.php
+ * @param array $affine
+ * Affine matrix parameters
+ *
+ * @return bool No value is returned.
+ */
+ public function affine (array $affine) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a bezier curve
+ * @link https://php.net/manual/en/imagickdraw.bezier.php
+ * @param array $coordinates
+ * @return bool No value is returned.
+ */
+ public function bezier (array $coordinates) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Composites an image onto the current image
+ * @link https://php.net/manual/en/imagickdraw.composite.php
+ * @param int $compose
+ * composition operator. One of COMPOSITE_ constants
+ *
+ * @param float $x
+ * x coordinate of the top left corner
+ *
+ * @param float $y
+ * y coordinate of the top left corner
+ *
+ * @param float $width
+ * width of the composition image
+ *
+ * @param float $height
+ * height of the composition image
+ *
+ * @param Imagick $compositeWand
+ * the Imagick object where composition image is taken from
+ *
+ * @return bool TRUE on success.
+ */
+ public function composite ($compose, $x, $y, $width, $height, Imagick $compositeWand) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws color on image
+ * @link https://php.net/manual/en/imagickdraw.color.php
+ * @param float $x
+ * x coordinate of the paint
+ *
+ * @param float $y
+ * y coordinate of the paint
+ *
+ * @param int $paintMethod
+ * one of the PAINT_ constants
+ *
+ * @return bool No value is returned.
+ */
+ public function color ($x, $y, $paintMethod) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds a comment
+ * @link https://php.net/manual/en/imagickdraw.comment.php
+ * @param string $comment
+ * The comment string to add to vector output stream
+ *
+ * @return bool No value is returned.
+ */
+ public function comment ($comment) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Obtains the current clipping path ID
+ * @link https://php.net/manual/en/imagickdraw.getclippath.php
+ * @return string|false a string containing the clip path ID or false if no clip path exists.
+ */
+ public function getClipPath () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the current polygon fill rule
+ * @link https://php.net/manual/en/imagickdraw.getcliprule.php
+ * @return int one of the FILLRULE_ constants.
+ */
+ public function getClipRule () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the interpretation of clip path units
+ * @link https://php.net/manual/en/imagickdraw.getclipunits.php
+ * @return int an int on success.
+ */
+ public function getClipUnits () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the fill color
+ * @link https://php.net/manual/en/imagickdraw.getfillcolor.php
+ * @return ImagickPixel an ImagickPixel object.
+ */
+ public function getFillColor () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the opacity used when drawing
+ * @link https://php.net/manual/en/imagickdraw.getfillopacity.php
+ * @return float The opacity.
+ */
+ public function getFillOpacity () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the fill rule
+ * @link https://php.net/manual/en/imagickdraw.getfillrule.php
+ * @return int a FILLRULE_ constant
+ */
+ public function getFillRule () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the text placement gravity
+ * @link https://php.net/manual/en/imagickdraw.getgravity.php
+ * @return int a GRAVITY_ constant on success and 0 if no gravity is set.
+ */
+ public function getGravity () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the current stroke antialias setting
+ * @link https://php.net/manual/en/imagickdraw.getstrokeantialias.php
+ * @return bool TRUE if antialiasing is on and false if it is off.
+ */
+ public function getStrokeAntialias () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the color used for stroking object outlines
+ * @link https://php.net/manual/en/imagickdraw.getstrokecolor.php
+ * @return ImagickPixel an ImagickPixel object which describes the color.
+ */
+ public function getStrokeColor () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns an array representing the pattern of dashes and gaps used to stroke paths
+ * @link https://php.net/manual/en/imagickdraw.getstrokedasharray.php
+ * @return array an array on success and empty array if not set.
+ */
+ public function getStrokeDashArray () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the offset into the dash pattern to start the dash
+ * @link https://php.net/manual/en/imagickdraw.getstrokedashoffset.php
+ * @return float a float representing the offset and 0 if it's not set.
+ */
+ public function getStrokeDashOffset () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the shape to be used at the end of open subpaths when they are stroked
+ * @link https://php.net/manual/en/imagickdraw.getstrokelinecap.php
+ * @return int one of the LINECAP_ constants or 0 if stroke linecap is not set.
+ */
+ public function getStrokeLineCap () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the shape to be used at the corners of paths when they are stroked
+ * @link https://php.net/manual/en/imagickdraw.getstrokelinejoin.php
+ * @return int one of the LINEJOIN_ constants or 0 if stroke line join is not set.
+ */
+ public function getStrokeLineJoin () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the stroke miter limit
+ * @link https://php.net/manual/en/imagickdraw.getstrokemiterlimit.php
+ * @return int an int describing the miter limit
+ * and 0 if no miter limit is set.
+ */
+ public function getStrokeMiterLimit () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the opacity of stroked object outlines
+ * @link https://php.net/manual/en/imagickdraw.getstrokeopacity.php
+ * @return float a float describing the opacity.
+ */
+ public function getStrokeOpacity () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the width of the stroke used to draw object outlines
+ * @link https://php.net/manual/en/imagickdraw.getstrokewidth.php
+ * @return float a float describing the stroke width.
+ */
+ public function getStrokeWidth () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the text alignment
+ * @link https://php.net/manual/en/imagickdraw.gettextalignment.php
+ * @return int one of the ALIGN_ constants and 0 if no align is set.
+ */
+ public function getTextAlignment () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the current text antialias setting
+ * @link https://php.net/manual/en/imagickdraw.gettextantialias.php
+ * @return bool TRUE if text is antialiased and false if not.
+ */
+ public function getTextAntialias () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns a string containing vector graphics
+ * @link https://php.net/manual/en/imagickdraw.getvectorgraphics.php
+ * @return string a string containing the vector graphics.
+ */
+ public function getVectorGraphics () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the text under color
+ * @link https://php.net/manual/en/imagickdraw.gettextundercolor.php
+ * @return ImagickPixel an ImagickPixel object describing the color.
+ */
+ public function getTextUnderColor () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adds a path element to the current path
+ * @link https://php.net/manual/en/imagickdraw.pathclose.php
+ * @return bool No value is returned.
+ */
+ public function pathClose () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a cubic Bezier curve
+ * @link https://php.net/manual/en/imagickdraw.pathcurvetoabsolute.php
+ * @param float $x1
+ * x coordinate of the first control point
+ *
+ * @param float $y1
+ * y coordinate of the first control point
+ *
+ * @param float $x2
+ * x coordinate of the second control point
+ *
+ * @param float $y2
+ * y coordinate of the first control point
+ *
+ * @param float $x
+ * x coordinate of the curve end
+ *
+ * @param float $y
+ * y coordinate of the curve end
+ *
+ * @return bool No value is returned.
+ */
+ public function pathCurveToAbsolute ($x1, $y1, $x2, $y2, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a cubic Bezier curve
+ * @link https://php.net/manual/en/imagickdraw.pathcurvetorelative.php
+ * @param float $x1
+ * x coordinate of starting control point
+ *
+ * @param float $y1
+ * y coordinate of starting control point
+ *
+ * @param float $x2
+ * x coordinate of ending control point
+ *
+ * @param float $y2
+ * y coordinate of ending control point
+ *
+ * @param float $x
+ * ending x coordinate
+ *
+ * @param float $y
+ * ending y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathCurveToRelative ($x1, $y1, $x2, $y2, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a quadratic Bezier curve
+ * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierabsolute.php
+ * @param float $x1
+ * x coordinate of the control point
+ *
+ * @param float $y1
+ * y coordinate of the control point
+ *
+ * @param float $x
+ * x coordinate of the end point
+ *
+ * @param float $y
+ * y coordinate of the end point
+ *
+ * @return bool No value is returned.
+ */
+ public function pathCurveToQuadraticBezierAbsolute ($x1, $y1, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a quadratic Bezier curve
+ * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbezierrelative.php
+ * @param float $x1
+ * starting x coordinate
+ *
+ * @param float $y1
+ * starting y coordinate
+ *
+ * @param float $x
+ * ending x coordinate
+ *
+ * @param float $y
+ * ending y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathCurveToQuadraticBezierRelative ($x1, $y1, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a quadratic Bezier curve
+ * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothabsolute.php
+ * @param float $x
+ * ending x coordinate
+ *
+ * @param float $y
+ * ending y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathCurveToQuadraticBezierSmoothAbsolute ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a quadratic Bezier curve
+ * @link https://php.net/manual/en/imagickdraw.pathcurvetoquadraticbeziersmoothrelative.php
+ * @param float $x
+ * ending x coordinate
+ *
+ * @param float $y
+ * ending y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathCurveToQuadraticBezierSmoothRelative ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a cubic Bezier curve
+ * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothabsolute.php
+ * @param float $x2
+ * x coordinate of the second control point
+ *
+ * @param float $y2
+ * y coordinate of the second control point
+ *
+ * @param float $x
+ * x coordinate of the ending point
+ *
+ * @param float $y
+ * y coordinate of the ending point
+ *
+ * @return bool No value is returned.
+ */
+ public function pathCurveToSmoothAbsolute ($x2, $y2, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a cubic Bezier curve
+ * @link https://php.net/manual/en/imagickdraw.pathcurvetosmoothrelative.php
+ * @param float $x2
+ * x coordinate of the second control point
+ *
+ * @param float $y2
+ * y coordinate of the second control point
+ *
+ * @param float $x
+ * x coordinate of the ending point
+ *
+ * @param float $y
+ * y coordinate of the ending point
+ *
+ * @return bool No value is returned.
+ */
+ public function pathCurveToSmoothRelative ($x2, $y2, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws an elliptical arc
+ * @link https://php.net/manual/en/imagickdraw.pathellipticarcabsolute.php
+ * @param float $rx
+ * x radius
+ *
+ * @param float $ry
+ * y radius
+ *
+ * @param float $x_axis_rotation
+ * x axis rotation
+ *
+ * @param bool $large_arc_flag
+ * large arc flag
+ *
+ * @param bool $sweep_flag
+ * sweep flag
+ *
+ * @param float $x
+ * x coordinate
+ *
+ * @param float $y
+ * y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathEllipticArcAbsolute ($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws an elliptical arc
+ * @link https://php.net/manual/en/imagickdraw.pathellipticarcrelative.php
+ * @param float $rx
+ * x radius
+ *
+ * @param float $ry
+ * y radius
+ *
+ * @param float $x_axis_rotation
+ * x axis rotation
+ *
+ * @param bool $large_arc_flag
+ * large arc flag
+ *
+ * @param bool $sweep_flag
+ * sweep flag
+ *
+ * @param float $x
+ * x coordinate
+ *
+ * @param float $y
+ * y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathEllipticArcRelative ($rx, $ry, $x_axis_rotation, $large_arc_flag, $sweep_flag, $x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Terminates the current path
+ * @link https://php.net/manual/en/imagickdraw.pathfinish.php
+ * @return bool No value is returned.
+ */
+ public function pathFinish () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a line path
+ * @link https://php.net/manual/en/imagickdraw.pathlinetoabsolute.php
+ * @param float $x
+ * starting x coordinate
+ *
+ * @param float $y
+ * ending x coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathLineToAbsolute ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a line path
+ * @link https://php.net/manual/en/imagickdraw.pathlinetorelative.php
+ * @param float $x
+ * starting x coordinate
+ *
+ * @param float $y
+ * starting y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathLineToRelative ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a horizontal line path
+ * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalabsolute.php
+ * @param float $x
+ * x coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathLineToHorizontalAbsolute ($x) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a horizontal line
+ * @link https://php.net/manual/en/imagickdraw.pathlinetohorizontalrelative.php
+ * @param float $x
+ * x coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathLineToHorizontalRelative ($x) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a vertical line
+ * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalabsolute.php
+ * @param float $y
+ * y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathLineToVerticalAbsolute ($y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a vertical line path
+ * @link https://php.net/manual/en/imagickdraw.pathlinetoverticalrelative.php
+ * @param float $y
+ * y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathLineToVerticalRelative ($y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Starts a new sub-path
+ * @link https://php.net/manual/en/imagickdraw.pathmovetoabsolute.php
+ * @param float $x
+ * x coordinate of the starting point
+ *
+ * @param float $y
+ * y coordinate of the starting point
+ *
+ * @return bool No value is returned.
+ */
+ public function pathMoveToAbsolute ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Starts a new sub-path
+ * @link https://php.net/manual/en/imagickdraw.pathmovetorelative.php
+ * @param float $x
+ * target x coordinate
+ *
+ * @param float $y
+ * target y coordinate
+ *
+ * @return bool No value is returned.
+ */
+ public function pathMoveToRelative ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Declares the start of a path drawing list
+ * @link https://php.net/manual/en/imagickdraw.pathstart.php
+ * @return bool No value is returned.
+ */
+ public function pathStart () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Draws a polyline
+ * @link https://php.net/manual/en/imagickdraw.polyline.php
+ * @param array $coordinates
+ * array of x and y coordinates: array( array( 'x' => 4, 'y' => 6 ), array( 'x' => 8, 'y' => 10 ) )
+ *
+ * @return bool TRUE on success.
+ */
+ public function polyline (array $coordinates) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Terminates a clip path definition
+ * @link https://php.net/manual/en/imagickdraw.popclippath.php
+ * @return bool No value is returned.
+ */
+ public function popClipPath () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Terminates a definition list
+ * @link https://php.net/manual/en/imagickdraw.popdefs.php
+ * @return bool No value is returned.
+ */
+ public function popDefs () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Terminates a pattern definition
+ * @link https://php.net/manual/en/imagickdraw.poppattern.php
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function popPattern () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Starts a clip path definition
+ * @link https://php.net/manual/en/imagickdraw.pushclippath.php
+ * @param string $clip_mask_id
+ * Clip mask Id
+ *
+ * @return bool No value is returned.
+ */
+ public function pushClipPath ($clip_mask_id) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Indicates that following commands create named elements for early processing
+ * @link https://php.net/manual/en/imagickdraw.pushdefs.php
+ * @return bool No value is returned.
+ */
+ public function pushDefs () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Indicates that subsequent commands up to a ImagickDraw::opPattern() command comprise the definition of a named pattern
+ * @link https://php.net/manual/en/imagickdraw.pushpattern.php
+ * @param string $pattern_id
+ * the pattern Id
+ *
+ * @param float $x
+ * x coordinate of the top-left corner
+ *
+ * @param float $y
+ * y coordinate of the top-left corner
+ *
+ * @param float $width
+ * width of the pattern
+ *
+ * @param float $height
+ * height of the pattern
+ *
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function pushPattern ($pattern_id, $x, $y, $width, $height) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Renders all preceding drawing commands onto the image
+ * @link https://php.net/manual/en/imagickdraw.render.php
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function render () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Applies the specified rotation to the current coordinate space
+ * @link https://php.net/manual/en/imagickdraw.rotate.php
+ * @param float $degrees
+ * degrees to rotate
+ *
+ * @return bool No value is returned.
+ */
+ public function rotate ($degrees) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Adjusts the scaling factor
+ * @link https://php.net/manual/en/imagickdraw.scale.php
+ * @param float $x
+ * horizontal factor
+ *
+ * @param float $y
+ * vertical factor
+ *
+ * @return bool No value is returned.
+ */
+ public function scale ($x, $y) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Associates a named clipping path with the image
+ * @link https://php.net/manual/en/imagickdraw.setclippath.php
+ * @param string $clip_mask
+ * the clipping path name
+ *
+ * @return bool No value is returned.
+ */
+ public function setClipPath ($clip_mask) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Set the polygon fill rule to be used by the clipping path
+ * @link https://php.net/manual/en/imagickdraw.setcliprule.php
+ * @param int $fill_rule
+ * FILLRULE_ constant
+ *
+ * @return bool No value is returned.
+ */
+ public function setClipRule ($fill_rule) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the interpretation of clip path units
+ * @link https://php.net/manual/en/imagickdraw.setclipunits.php
+ * @param int $clip_units
+ * the number of clip units
+ *
+ * @return bool No value is returned.
+ */
+ public function setClipUnits ($clip_units) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the opacity to use when drawing using the fill color or fill texture
+ * @link https://php.net/manual/en/imagickdraw.setfillopacity.php
+ * @param float $fillOpacity
+ * the fill opacity
+ *
+ * @return bool No value is returned.
+ */
+ public function setFillOpacity ($fillOpacity) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the URL to use as a fill pattern for filling objects
+ * @link https://php.net/manual/en/imagickdraw.setfillpatternurl.php
+ * @param string $fill_url
+ * URL to use to obtain fill pattern.
+ *
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function setFillPatternURL ($fill_url) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the fill rule to use while drawing polygons
+ * @link https://php.net/manual/en/imagickdraw.setfillrule.php
+ * @param int $fill_rule
+ * FILLRULE_ constant
+ *
+ * @return bool No value is returned.
+ */
+ public function setFillRule ($fill_rule) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the text placement gravity
+ * @link https://php.net/manual/en/imagickdraw.setgravity.php
+ * @param int $gravity
+ * GRAVITY_ constant
+ *
+ * @return bool No value is returned.
+ */
+ public function setGravity ($gravity) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the pattern used for stroking object outlines
+ * @link https://php.net/manual/en/imagickdraw.setstrokepatternurl.php
+ * @param string $stroke_url
+ * stroke URL
+ *
+ * @return bool imagick.imagickdraw.return.success;
+ */
+ public function setStrokePatternURL ($stroke_url) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies the offset into the dash pattern to start the dash
+ * @link https://php.net/manual/en/imagickdraw.setstrokedashoffset.php
+ * @param float $dash_offset
+ * dash offset
+ *
+ * @return bool No value is returned.
+ */
+ public function setStrokeDashOffset ($dash_offset) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies the shape to be used at the end of open subpaths when they are stroked
+ * @link https://php.net/manual/en/imagickdraw.setstrokelinecap.php
+ * @param int $linecap
+ * LINECAP_ constant
+ *
+ * @return bool No value is returned.
+ */
+ public function setStrokeLineCap ($linecap) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies the shape to be used at the corners of paths when they are stroked
+ * @link https://php.net/manual/en/imagickdraw.setstrokelinejoin.php
+ * @param int $linejoin
+ * LINEJOIN_ constant
+ *
+ * @return bool No value is returned.
+ */
+ public function setStrokeLineJoin ($linejoin) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies the miter limit
+ * @link https://php.net/manual/en/imagickdraw.setstrokemiterlimit.php
+ * @param int $miterlimit
+ * the miter limit
+ *
+ * @return bool No value is returned.
+ */
+ public function setStrokeMiterLimit ($miterlimit) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies the opacity of stroked object outlines
+ * @link https://php.net/manual/en/imagickdraw.setstrokeopacity.php
+ * @param float $stroke_opacity
+ * stroke opacity. 1.0 is fully opaque
+ *
+ * @return bool No value is returned.
+ */
+ public function setStrokeOpacity ($stroke_opacity) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the vector graphics
+ * @link https://php.net/manual/en/imagickdraw.setvectorgraphics.php
+ * @param string $xml
+ * xml containing the vector graphics
+ *
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function setVectorGraphics ($xml) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Destroys the current ImagickDraw in the stack, and returns to the previously pushed ImagickDraw
+ * @link https://php.net/manual/en/imagickdraw.pop.php
+ * @return bool TRUE on success and false on failure.
+ */
+ public function pop () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Clones the current ImagickDraw and pushes it to the stack
+ * @link https://php.net/manual/en/imagickdraw.push.php
+ * @return bool TRUE on success or FALSE on failure.
+ */
+ public function push () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Specifies the pattern of dashes and gaps used to stroke paths
+ * @link https://php.net/manual/en/imagickdraw.setstrokedasharray.php
+ * @param array $dashArray
+ * array of floats
+ *
+ * @return bool TRUE on success.
+ */
+ public function setStrokeDashArray (array $dashArray) {}
+
+ /**
+ * Sets the opacity to use when drawing using the fill or stroke color or texture. Fully opaque is 1.0.
+ *
+ * @param float $opacity
+ * @return void
+ * @since 3.4.1
+ */
+ public function setOpacity($opacity) { }
+
+ /**
+ * Returns the opacity used when drawing with the fill or stroke color or texture. Fully opaque is 1.0.
+ *
+ * @return float
+ * @since 3.4.1
+ */
+ public function getOpacity() { }
+
+ /**
+ * Sets the image font resolution.
+ *
+ * @param float $x
+ * @param float $y
+ * @return bool
+ * @since 3.4.1
+ */
+ public function setFontResolution($x, $y) { }
+
+ /**
+ * Gets the image X and Y resolution.
+ *
+ * @return array
+ * @since 3.4.1
+ */
+ public function getFontResolution() { }
+
+ /**
+ * Returns the direction that will be used when annotating with text.
+ * @return bool
+ * @since 3.4.1
+ */
+ public function getTextDirection() { }
+
+ /**
+ * Sets the font style to use when annotating with text. The AnyStyle enumeration acts as a wild-card "don't care" option.
+ *
+ * @param int $direction
+ * @return bool
+ * @since 3.4.1
+ */
+ public function setTextDirection($direction) { }
+
+ /**
+ * Returns the border color used for drawing bordered objects.
+ *
+ * @return ImagickPixel
+ * @since 3.4.1
+ */
+ public function getBorderColor() { }
+
+ /**
+ * Sets the border color to be used for drawing bordered objects.
+ * @param ImagickPixel $color
+ * @return bool
+ * @since 3.4.1
+ */
+ public function setBorderColor(ImagickPixel $color) { }
+
+ /**
+ * Obtains the vertical and horizontal resolution.
+ *
+ * @return string|null
+ * @since 3.4.1
+ */
+ public function getDensity() { }
+
+ /**
+ * Sets the vertical and horizontal resolution.
+ * @param string $density_string
+ * @return bool
+ * @since 3.4.1
+ */
+ public function setDensity($density_string) { }
+}
+
+/**
+ * @link https://php.net/manual/en/class.imagickpixeliterator.php
+ */
+class ImagickPixelIterator implements Iterator {
+
+ /**
+ * (PECL imagick 2.0.0)
+ * The ImagickPixelIterator constructor
+ * @link https://php.net/manual/en/imagickpixeliterator.construct.php
+ * @param Imagick $wand
+ */
+ public function __construct (Imagick $wand) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns a new pixel iterator
+ * @link https://php.net/manual/en/imagickpixeliterator.newpixeliterator.php
+ * @param Imagick $wand
+ * @return bool TRUE on success. Throwing ImagickPixelIteratorException.
+ * @throws ImagickPixelIteratorException
+ */
+ public function newPixelIterator (Imagick $wand) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns a new pixel iterator
+ * @link https://php.net/manual/en/imagickpixeliterator.newpixelregioniterator.php
+ * @param Imagick $wand
+ * @param int $x
+ * @param int $y
+ * @param int $columns
+ * @param int $rows
+ * @return bool a new ImagickPixelIterator on success; on failure, throws ImagickPixelIteratorException
+ * @throws ImagickPixelIteratorException
+ */
+ public function newPixelRegionIterator (Imagick $wand, $x, $y, $columns, $rows) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the current pixel iterator row
+ * @link https://php.net/manual/en/imagickpixeliterator.getiteratorrow.php
+ * @return int the integer offset of the row, throwing ImagickPixelIteratorException on error.
+ * @throws ImagickPixelIteratorException on error
+ */
+ public function getIteratorRow () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Set the pixel iterator row
+ * @link https://php.net/manual/en/imagickpixeliterator.setiteratorrow.php
+ * @param int $row
+ * @return bool TRUE on success.
+ */
+ public function setIteratorRow ($row) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the pixel iterator to the first pixel row
+ * @link https://php.net/manual/en/imagickpixeliterator.setiteratorfirstrow.php
+ * @return bool TRUE on success.
+ */
+ public function setIteratorFirstRow () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the pixel iterator to the last pixel row
+ * @link https://php.net/manual/en/imagickpixeliterator.setiteratorlastrow.php
+ * @return bool TRUE on success.
+ */
+ public function setIteratorLastRow () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the previous row
+ * @link https://php.net/manual/en/imagickpixeliterator.getpreviousiteratorrow.php
+ * @return array the previous row as an array of ImagickPixelWand objects from the
+ * ImagickPixelIterator, throwing ImagickPixelIteratorException on error.
+ * @throws ImagickPixelIteratorException on error
+ */
+ public function getPreviousIteratorRow () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the current row of ImagickPixel objects
+ * @link https://php.net/manual/en/imagickpixeliterator.getcurrentiteratorrow.php
+ * @return array a row as an array of ImagickPixel objects that can themselves be iterated.
+ */
+ public function getCurrentIteratorRow () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the next row of the pixel iterator
+ * @link https://php.net/manual/en/imagickpixeliterator.getnextiteratorrow.php
+ * @return array the next row as an array of ImagickPixel objects, throwing
+ * ImagickPixelIteratorException on error.
+ * @throws ImagickPixelIteratorException on error
+ */
+ public function getNextIteratorRow () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Resets the pixel iterator
+ * @link https://php.net/manual/en/imagickpixeliterator.resetiterator.php
+ * @return bool TRUE on success.
+ */
+ public function resetIterator () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Syncs the pixel iterator
+ * @link https://php.net/manual/en/imagickpixeliterator.synciterator.php
+ * @return bool TRUE on success.
+ */
+ public function syncIterator () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Deallocates resources associated with a PixelIterator
+ * @link https://php.net/manual/en/imagickpixeliterator.destroy.php
+ * @return bool TRUE on success.
+ */
+ public function destroy () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Clear resources associated with a PixelIterator
+ * @link https://php.net/manual/en/imagickpixeliterator.clear.php
+ * @return bool TRUE on success.
+ */
+ public function clear () {}
+
+ /**
+ * @param Imagick $Imagick
+ */
+ public static function getpixeliterator (Imagick $Imagick) {}
+
+ /**
+ * @param Imagick $Imagick
+ * @param $x
+ * @param $y
+ * @param $columns
+ * @param $rows
+ */
+ public static function getpixelregioniterator (Imagick $Imagick, $x, $y, $columns, $rows) {}
+
+ public function key () {}
+
+ public function next () {}
+
+ public function rewind () {}
+
+ public function current () {}
+
+ public function valid () {}
+
+}
+
+/**
+ * @method clone()
+ * @link https://php.net/manual/en/class.imagickpixel.php
+ */
+class ImagickPixel {
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the normalized HSL color of the ImagickPixel object
+ * @link https://php.net/manual/en/imagickpixel.gethsl.php
+ * @return array the HSL value in an array with the keys "hue",
+ * "saturation", and "luminosity". Throws ImagickPixelException on failure.
+ * @throws ImagickPixelException on failure
+ */
+ public function getHSL () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the normalized HSL color
+ * @link https://php.net/manual/en/imagickpixel.sethsl.php
+ * @param float $hue
+ * The normalized value for hue, described as a fractional arc
+ * (between 0 and 1) of the hue circle, where the zero value is
+ * red.
+ *
+ * @param float $saturation
+ * The normalized value for saturation, with 1 as full saturation.
+ *
+ * @param float $luminosity
+ * The normalized value for luminosity, on a scale from black at
+ * 0 to white at 1, with the full HS value at 0.5 luminosity.
+ *
+ * @return bool TRUE on success.
+ */
+ public function setHSL ($hue, $saturation, $luminosity) {}
+
+ public function getColorValueQuantum () {}
+
+ /**
+ * @param $color_value
+ */
+ public function setColorValueQuantum ($color_value) {}
+
+ public function getIndex () {}
+
+ /**
+ * @param $index
+ */
+ public function setIndex ($index) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * The ImagickPixel constructor
+ * @link https://php.net/manual/en/imagickpixel.construct.php
+ * @param string $color [optional]
+ * The optional color string to use as the initial value of this object.
+ *
+ */
+ public function __construct ($color = null) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the color
+ * @link https://php.net/manual/en/imagickpixel.setcolor.php
+ * @param string $color
+ * The color definition to use in order to initialise the
+ * ImagickPixel object.
+ *
+ * @return bool TRUE if the specified color was set, FALSE otherwise.
+ */
+ public function setColor ($color) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Sets the normalized value of one of the channels
+ * @link https://php.net/manual/en/imagickpixel.setcolorvalue.php
+ * @param int $color
+ * One of the Imagick color constants e.g. \Imagick::COLOR_GREEN or \Imagick::COLOR_ALPHA.
+ *
+ * @param float $value
+ * The value to set this channel to, ranging from 0 to 1.
+ *
+ * @return bool TRUE on success.
+ */
+ public function setColorValue ($color, $value) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Gets the normalized value of the provided color channel
+ * @link https://php.net/manual/en/imagickpixel.getcolorvalue.php
+ * @param int $color
+ * The color to get the value of, specified as one of the Imagick color
+ * constants. This can be one of the RGB colors, CMYK colors, alpha and
+ * opacity e.g (Imagick::COLOR_BLUE, Imagick::COLOR_MAGENTA).
+ *
+ * @return float The value of the channel, as a normalized floating-point number, throwing
+ * ImagickPixelException on error.
+ * @throws ImagickPixelException on error
+ */
+ public function getColorValue ($color) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Clears resources associated with this object
+ * @link https://php.net/manual/en/imagickpixel.clear.php
+ * @return bool TRUE on success.
+ */
+ public function clear () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Deallocates resources associated with this object
+ * @link https://php.net/manual/en/imagickpixel.destroy.php
+ * @return bool TRUE on success.
+ */
+ public function destroy () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Check the distance between this color and another
+ * @link https://php.net/manual/en/imagickpixel.issimilar.php
+ * @param ImagickPixel $color
+ * The ImagickPixel object to compare this object against.
+ *
+ * @param float $fuzz
+ * The maximum distance within which to consider these colors as similar.
+ * The theoretical maximum for this value is the square root of three
+ * (1.732).
+ *
+ * @return bool TRUE on success.
+ */
+ public function isSimilar (ImagickPixel $color, $fuzz) {}
+
+ /**
+ * (No version information available, might only be in SVN)
+ * Check the distance between this color and another
+ * @link https://php.net/manual/en/imagickpixel.ispixelsimilar.php
+ * @param ImagickPixel $color
+ * The ImagickPixel object to compare this object against.
+ *
+ * @param float $fuzz
+ * The maximum distance within which to consider these colors as similar.
+ * The theoretical maximum for this value is the square root of three
+ * (1.732).
+ *
+ * @return bool TRUE on success.
+ */
+ public function isPixelSimilar (ImagickPixel $color, $fuzz) {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the color
+ * @link https://php.net/manual/en/imagickpixel.getcolor.php
+ * @param bool $normalized [optional]
+ * Normalize the color values
+ *
+ * @return array An array of channel values, each normalized if TRUE is given as param. Throws
+ * ImagickPixelException on error.
+ * @throws ImagickPixelException on error.
+ */
+ public function getColor ($normalized = false) {}
+
+ /**
+ * (PECL imagick 2.1.0)
+ * Returns the color as a string
+ * @link https://php.net/manual/en/imagickpixel.getcolorasstring.php
+ * @return string the color of the ImagickPixel object as a string.
+ */
+ public function getColorAsString () {}
+
+ /**
+ * (PECL imagick 2.0.0)
+ * Returns the color count associated with this color
+ * @link https://php.net/manual/en/imagickpixel.getcolorcount.php
+ * @return int the color count as an integer on success, throws
+ * ImagickPixelException on failure.
+ * @throws ImagickPixelException on failure.
+ */
+ public function getColorCount () {}
+
+ /**
+ * @param $colorCount
+ */
+ public function setColorCount ($colorCount) {}
+
+
+ /**
+ * Returns true if the distance between two colors is less than the specified distance. The fuzz value should be in the range 0-QuantumRange.
+ * The maximum value represents the longest possible distance in the colorspace. e.g. from RGB(0, 0, 0) to RGB(255, 255, 255) for the RGB colorspace
+ * @link https://php.net/manual/en/imagickpixel.ispixelsimilarquantum.php
+ * @param string $pixel
+ * @param string $fuzz
+ * @return bool
+ * @since 3.3.0
+ */
+ public function isPixelSimilarQuantum($color, $fuzz) { }
+
+ /**
+ * Returns the color of the pixel in an array as Quantum values. If ImageMagick was compiled as HDRI these will be floats, otherwise they will be integers.
+ * @link https://php.net/manual/en/imagickpixel.getcolorquantum.php
+ * @return mixed The quantum value of the color element. Float if ImageMagick was compiled with HDRI, otherwise an int.
+ * @since 3.3.0
+ */
+ public function getColorQuantum() { }
+
+ /**
+ * Sets the color count associated with this color from another ImagickPixel object.
+ *
+ * @param ImagickPixel $srcPixel
+ * @return bool
+ * @since 3.4.1
+ */
+ public function setColorFromPixel(ImagickPixel $srcPixel) { }
+}
+// End of imagick v.3.2.0RC1
+
+// Start of Imagick v3.3.0RC1
+
+/**
+ * @link https://php.net/manual/en/class.imagickkernel.php
+ */
+class ImagickKernel {
+ /**
+ * Attach another kernel to this kernel to allow them to both be applied in a single morphology or filter function. Returns the new combined kernel.
+ * @link https://php.net/manual/en/imagickkernel.addkernel.php
+ * @param ImagickKernel $imagickKernel
+ * @return void
+ * @since 3.3.0
+ */
+ public function addKernel(ImagickKernel $imagickKernel) { }
+
+ /**
+ * Adds a given amount of the 'Unity' Convolution Kernel to the given pre-scaled and normalized Kernel. This in effect adds that amount of the original image into the resulting convolution kernel. The resulting effect is to convert the defined kernels into blended soft-blurs, unsharp kernels or into sharpening kernels.
+ * @link https://php.net/manual/en/imagickkernel.addunitykernel.php
+ * @return void
+ * @since 3.3.0
+ */
+ public function addUnityKernel() { }
+
+ /**
+ * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.
+ * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
+ * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
+ * @param string $kernelType The type of kernel to build e.g. \Imagick::KERNEL_DIAMOND
+ * @param string $kernelString A string that describes the parameters e.g. "4,2.5"
+ * @return void
+ * @since 3.3.0
+ */
+ public static function fromBuiltin($kernelType, $kernelString) { }
+
+ /**
+ * Create a kernel from a builtin in kernel. See https://www.imagemagick.org/Usage/morphology/#kernel for examples.
+ * Currently the 'rotation' symbols are not supported. Example: $diamondKernel = ImagickKernel::fromBuiltIn(\Imagick::KERNEL_DIAMOND, "2");
+ * @link https://php.net/manual/en/imagickkernel.frombuiltin.php
+ * @see https://www.imagemagick.org/Usage/morphology/#kernel
+ * @param array $matrix A matrix (i.e. 2d array) of values that define the kernel. Each element should be either a float value, or FALSE if that element shouldn't be used by the kernel.
+ * @param array $origin [optional] Which element of the kernel should be used as the origin pixel. e.g. For a 3x3 matrix specifying the origin as [2, 2] would specify that the bottom right element should be the origin pixel.
+ * @return ImagickKernel
+ * @since 3.3.0
+ */
+ public static function fromMatrix($matrix, $origin) { }
+
+ /**
+ * Get the 2d matrix of values used in this kernel. The elements are either float for elements that are used or 'false' if the element should be skipped.
+ * @link https://php.net/manual/en/imagickkernel.getmatrix.php
+ * @return array A matrix (2d array) of the values that represent the kernel.
+ * @since 3.3.0
+ */
+ public function getMatrix() { }
+
+ /**
+ * ScaleKernelInfo() scales the given kernel list by the given amount, with or without normalization of the sum of the kernel values (as per given flags).
+ * The exact behaviour of this function depends on the normalization type being used please see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo for details.
+ * Flag should be one of Imagick::NORMALIZE_KERNEL_VALUE, Imagick::NORMALIZE_KERNEL_CORRELATE, Imagick::NORMALIZE_KERNEL_PERCENT or not set.
+ * @link https://php.net/manual/en/imagickkernel.scale.php
+ * @see https://www.imagemagick.org/api/morphology.php#ScaleKernelInfo
+ * @return void
+ * @since 3.3.0
+ */
+ public function scale() { }
+
+ /**
+ * Separates a linked set of kernels and returns an array of ImagickKernels.
+ * @link https://php.net/manual/en/imagickkernel.separate.php
+ * @return void
+ * @since 3.3.0
+ */
+ public function seperate() { }
+}
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/.scrutinizer.yml b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/.scrutinizer.yml
new file mode 100644
index 0000000..0be10f3
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/.scrutinizer.yml
@@ -0,0 +1,11 @@
+build:
+ nodes:
+ analysis:
+ tests:
+ override:
+ - php-scrutinizer-run
+filter:
+ excluded_paths:
+ - examples/*
+ - tests/*
+ - vendor/*
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/.travis.yml b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/.travis.yml
new file mode 100644
index 0000000..5628430
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/.travis.yml
@@ -0,0 +1,35 @@
+addons:
+ apt:
+ packages:
+ - imagemagick
+
+language: php
+
+env:
+ global:
+ - PHAN_ALLOW_XDEBUG=0 PHAN_DISABLE_XDEBUG_WARN=1
+
+matrix:
+ include:
+ - php: 7.4
+ - php: nightly
+ allow_failures:
+ - php: nightly
+
+before_install:
+ - pecl channel-update pecl.php.net
+ - pecl install ast
+ - |
+ if [ $TRAVIS_PHP_VERSION != 'nightly' ]; then
+ printf "\n" | pecl install imagick;
+ fi
+
+install:
+ - composer install --no-interaction --prefer-source
+ - composer validate
+
+script:
+ - vendor/bin/phpunit --configuration phpunit.xml
+ - vendor/bin/phan
+
+after_script: bash <(curl -s https://codecov.io/bash)
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/LICENSE b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/LICENSE
new file mode 100644
index 0000000..dac8528
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/LICENSE
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015 Smiley
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/README.md b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/README.md
new file mode 100644
index 0000000..31fb155
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/README.md
@@ -0,0 +1,108 @@
+# chillerlan/php-qrcode
+
+A PHP 7.4+ QR Code library based on the [implementation](https://github.com/kazuhikoarase/qrcode-generator) by [Kazuhiko Arase](https://github.com/kazuhikoarase),
+namespaced, cleaned up, improved and other stuff.
+
+[![Packagist version][packagist-badge]][packagist]
+[![License][license-badge]][license]
+[![Travis CI][travis-badge]][travis]
+[![CodeCov][coverage-badge]][coverage]
+[![Scrunitizer CI][scrutinizer-badge]][scrutinizer]
+[![Packagist downloads][downloads-badge]][downloads]
+[![PayPal donate][donate-badge]][donate]
+
+[![Continuous Integration][gh-action-badge]][gh-action] [![phpDocs][gh-docs-badge]][gh-docs]
+
+[packagist-badge]: https://img.shields.io/packagist/v/chillerlan/php-qrcode.svg?style=flat-square
+[packagist]: https://packagist.org/packages/chillerlan/php-qrcode
+[license-badge]: https://img.shields.io/github/license/chillerlan/php-qrcode.svg?style=flat-square
+[license]: https://github.com/chillerlan/php-qrcode/blob/main/LICENSE
+[travis-badge]: https://img.shields.io/travis/chillerlan/php-qrcode.svg?style=flat-square
+[travis]: https://travis-ci.org/chillerlan/php-qrcode
+[coverage-badge]: https://img.shields.io/codecov/c/github/chillerlan/php-qrcode.svg?style=flat-square
+[coverage]: https://codecov.io/github/chillerlan/php-qrcode
+[scrutinizer-badge]: https://img.shields.io/scrutinizer/g/chillerlan/php-qrcode.svg?style=flat-square
+[scrutinizer]: https://scrutinizer-ci.com/g/chillerlan/php-qrcode
+[downloads-badge]: https://img.shields.io/packagist/dt/chillerlan/php-qrcode.svg?style=flat-square
+[downloads]: https://packagist.org/packages/chillerlan/php-qrcode/stats
+[donate-badge]: https://img.shields.io/badge/donate-paypal-ff33aa.svg?style=flat-square
+[donate]: https://www.paypal.com/donate?hosted_button_id=WLYUNAT9ZTJZ4
+[gh-action-badge]: https://github.com/chillerlan/php-qrcode/workflows/Continuous%20Integration/badge.svg
+[gh-action]: https://github.com/chillerlan/php-qrcode/actions?query=workflow%3A%22Continuous+Integration%22
+[gh-docs-badge]: https://github.com/chillerlan/php-qrcode/workflows/Docs/badge.svg
+[gh-docs]: https://github.com/chillerlan/php-qrcode/actions?query=workflow%3ADocs
+
+## Documentation
+
+See [the wiki](https://github.com/chillerlan/php-qrcode/wiki) for advanced documentation.
+An API documentation created with [phpDocumentor](https://www.phpdoc.org/) can be found at https://chillerlan.github.io/php-qrcode/ (WIP).
+
+### Requirements
+- PHP 7.4+
+ - `ext-mbstring`
+ - optional:
+ - `ext-json`, `ext-gd`
+ - `ext-imagick` with [ImageMagick](https://imagemagick.org) installed
+ - [`setasign/fpdf`](https://github.com/setasign/fpdf) for the PDF output module
+
+### Installation
+**requires [composer](https://getcomposer.org)**
+
+via terminal: `composer require chillerlan/php-qrcode`
+
+*composer.json*
+```json
+{
+ "require": {
+ "php": "^7.4",
+ "chillerlan/php-qrcode": "dev-main"
+ }
+}
+```
+
+Note: replace `dev-main` with a [version constraint](https://getcomposer.org/doc/articles/versions.md#writing-version-constraints), e.g. `^3.2` - see [releases](https://github.com/chillerlan/php-qrcode/releases) for valid versions.
+For PHP version ...
+ - 7.4+ use `^4.2`
+ - 7.2+ use `^3.3`
+ - 7.0+ use `^2.0` (PHP 7.0 and 7.1 are EOL!)
+ - 5.6+ use `^1.0` (please let PHP 5 die!)
+
+### Quickstart
+We want to encode this URI for a mobile authenticator into a QRcode image:
+```php
+$data = 'otpauth://totp/test?secret=B3JX4VCVJDVNXNZ5&issuer=chillerlan.net';
+
+// quick and simple:
+echo '';
+```
+
+
+
+
+
+
+Wait, what was that? Please again, slower! See [Advanced usage](https://github.com/chillerlan/php-qrcode/wiki/Advanced-usage) on the wiki.
+
+### Framework Integration
+- Drupal [Google Authenticator Login `ga_login`](https://www.drupal.org/project/ga_login)
+- WordPress [`wp-two-factor-auth`](https://github.com/sjinks/wp-two-factor-auth)
+- WordPress [Simple 2FA `simple-2fa`](https://wordpress.org/plugins/simple-2fa/)
+- WoltLab Suite [two-step-verification](http://pluginstore.woltlab.com/file/3007-two-step-verification/)
+- [Cachet](https://github.com/CachetHQ/Cachet)
+- [Appwrite](https://github.com/appwrite/appwrite)
+- other uses: [dependents](https://github.com/chillerlan/php-qrcode/network/dependents) / [packages](https://github.com/chillerlan/php-qrcode/network/dependents?dependent_type=PACKAGE)
+
+### Shameless advertising
+Hi, please check out my other projects that are way cooler than qrcodes!
+
+- [php-oauth-core](https://github.com/chillerlan/php-oauth-core) - an OAuth 1/2 client library along with a bunch of [providers](https://github.com/chillerlan/php-oauth-providers)
+- [php-httpinterface](https://github.com/chillerlan/php-httpinterface) - a PSR-7/15/17/18 implemetation
+- [php-database](https://github.com/chillerlan/php-database) - a database client & querybuilder for MySQL, Postgres, SQLite, MSSQL, Firebird
+
+### Disclaimer!
+I don't take responsibility for molten CPUs, misled applications, failed log-ins etc.. Use at your own risk!
+
+#### Trademark Notice
+
+The word "QR Code" is registered trademark of *DENSO WAVE INCORPORATED*
+http://www.denso-wave.com/qrcode/faqpatent-e.html
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/composer.json b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/composer.json
new file mode 100644
index 0000000..c7f140e
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/composer.json
@@ -0,0 +1,52 @@
+{
+ "name": "chillerlan/php-qrcode",
+ "description": "A QR code generator. PHP 7.4+",
+ "homepage": "https://github.com/chillerlan/php-qrcode",
+ "license": "MIT",
+ "minimum-stability": "stable",
+ "type": "library",
+ "keywords": [
+ "QR code", "qrcode", "qr", "qrcode-generator", "phpqrcode"
+ ],
+ "authors": [
+ {
+ "name": "Kazuhiko Arase",
+ "homepage": "https://github.com/kazuhikoarase"
+ },
+ {
+ "name": "Smiley",
+ "email": "smiley@chillerlan.net",
+ "homepage": "https://github.com/codemasher"
+ },
+ {
+ "name": "Contributors",
+ "homepage":"https://github.com/chillerlan/php-qrcode/graphs/contributors"
+ }
+ ],
+ "require": {
+ "php": "^7.4 || ^8.0",
+ "ext-mbstring": "*",
+ "chillerlan/php-settings-container": "^2.1"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "^9.4",
+ "phan/phan": "^3.2.2",
+ "setasign/fpdf": "^1.8.2"
+ },
+ "suggest": {
+ "chillerlan/php-authenticator": "Yet another Google authenticator! Also creates URIs for mobile apps.",
+ "setasign/fpdf": "Required to use the QR FPDF output."
+ },
+ "autoload": {
+ "psr-4": {
+ "chillerlan\\QRCode\\": "src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "chillerlan\\QRCodePublic\\": "public/",
+ "chillerlan\\QRCodeTest\\": "tests/",
+ "chillerlan\\QRCodeExamples\\": "examples/"
+ }
+ }
+}
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/MyCustomOutput.php b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/MyCustomOutput.php
new file mode 100644
index 0000000..3664989
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/MyCustomOutput.php
@@ -0,0 +1,38 @@
+
+ * @copyright 2017 Smiley
+ * @license MIT
+ */
+
+namespace chillerlan\QRCodeExamples;
+
+use chillerlan\QRCode\Output\QROutputAbstract;
+
+class MyCustomOutput extends QROutputAbstract{
+
+ protected function setModuleValues():void{
+ // TODO: Implement setModuleValues() method.
+ }
+
+ public function dump(string $file = null){
+
+ $output = '';
+
+ for($row = 0; $row < $this->moduleCount; $row++){
+ for($col = 0; $col < $this->moduleCount; $col++){
+ $output .= (int)$this->matrix->check($col, $row);
+ }
+
+ $output .= \PHP_EOL;
+ }
+
+ return $output;
+ }
+
+}
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/QRImageWithLogo.php b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/QRImageWithLogo.php
new file mode 100644
index 0000000..f9d94ae
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/QRImageWithLogo.php
@@ -0,0 +1,81 @@
+
+ * @copyright 2020 smiley
+ * @license MIT
+ *
+ * @noinspection PhpComposerExtensionStubsInspection
+ */
+
+namespace chillerlan\QRCodeExamples;
+
+use chillerlan\QRCode\Output\{QRCodeOutputException, QRImage};
+
+use function imagecopyresampled, imagecreatefrompng, imagesx, imagesy, is_file, is_readable;
+
+/**
+ * @property \chillerlan\QRCodeExamples\LogoOptions $options
+ */
+class QRImageWithLogo extends QRImage{
+
+ /**
+ * @param string|null $file
+ * @param string|null $logo
+ *
+ * @return string
+ * @throws \chillerlan\QRCode\Output\QRCodeOutputException
+ */
+ public function dump(string $file = null, string $logo = null):string{
+ // set returnResource to true to skip further processing for now
+ $this->options->returnResource = true;
+
+ // of course you could accept other formats too (such as resource or Imagick)
+ // i'm not checking for the file type either for simplicity reasons (assuming PNG)
+ if(!is_file($logo) || !is_readable($logo)){
+ throw new QRCodeOutputException('invalid logo');
+ }
+
+ $this->matrix->setLogoSpace(
+ $this->options->logoWidth,
+ $this->options->logoHeight
+ // not utilizing the position here
+ );
+
+ // there's no need to save the result of dump() into $this->image here
+ parent::dump($file);
+
+ $im = imagecreatefrompng($logo);
+
+ // get logo image size
+ $w = imagesx($im);
+ $h = imagesy($im);
+
+ // set new logo size, leave a border of 1 module
+ $lw = ($this->options->logoWidth - 2) * $this->options->scale;
+ $lh = ($this->options->logoHeight - 2) * $this->options->scale;
+
+ // get the qrcode size
+ $ql = $this->matrix->size() * $this->options->scale;
+
+ // scale the logo and copy it over. done!
+ imagecopyresampled($this->image, $im, ($ql - $lw) / 2, ($ql - $lh) / 2, 0, 0, $lw, $lh, $w, $h);
+
+ $imageData = $this->dumpImage();
+
+ if($file !== null){
+ $this->saveToFile($imageData, $file);
+ }
+
+ if($this->options->imageBase64){
+ $imageData = 'data:image/'.$this->options->outputType.';base64,'.base64_encode($imageData);
+ }
+
+ return $imageData;
+ }
+
+}
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/QRImageWithText.php b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/QRImageWithText.php
new file mode 100644
index 0000000..fe6b962
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/QRImageWithText.php
@@ -0,0 +1,100 @@
+
+ * @copyright 2019 smiley
+ * @license MIT
+ *
+ * @noinspection PhpComposerExtensionStubsInspection
+ */
+
+namespace chillerlan\QRCodeExamples;
+
+use chillerlan\QRCode\Output\QRImage;
+
+use function base64_encode, imagechar, imagecolorallocate, imagecolortransparent, imagecopymerge, imagecreatetruecolor,
+ imagedestroy, imagefilledrectangle, imagefontwidth, in_array, round, str_split, strlen;
+
+class QRImageWithText extends QRImage{
+
+ /**
+ * @param string|null $file
+ * @param string|null $text
+ *
+ * @return string
+ */
+ public function dump(string $file = null, string $text = null):string{
+ // set returnResource to true to skip further processing for now
+ $this->options->returnResource = true;
+
+ // there's no need to save the result of dump() into $this->image here
+ parent::dump($file);
+
+ // render text output if a string is given
+ if($text !== null){
+ $this->addText($text);
+ }
+
+ $imageData = $this->dumpImage();
+
+ if($file !== null){
+ $this->saveToFile($imageData, $file);
+ }
+
+ if($this->options->imageBase64){
+ $imageData = 'data:image/'.$this->options->outputType.';base64,'.base64_encode($imageData);
+ }
+
+ return $imageData;
+ }
+
+ /**
+ * @param string $text
+ */
+ protected function addText(string $text):void{
+ // save the qrcode image
+ $qrcode = $this->image;
+
+ // options things
+ $textSize = 3; // see imagefontheight() and imagefontwidth()
+ $textBG = [200, 200, 200];
+ $textColor = [50, 50, 50];
+
+ $bgWidth = $this->length;
+ $bgHeight = $bgWidth + 20; // 20px extra space
+
+ // create a new image with additional space
+ $this->image = imagecreatetruecolor($bgWidth, $bgHeight);
+ $background = imagecolorallocate($this->image, ...$textBG);
+
+ // allow transparency
+ if($this->options->imageTransparent && in_array($this->options->outputType, $this::TRANSPARENCY_TYPES, true)){
+ imagecolortransparent($this->image, $background);
+ }
+
+ // fill the background
+ imagefilledrectangle($this->image, 0, 0, $bgWidth, $bgHeight, $background);
+
+ // copy over the qrcode
+ imagecopymerge($this->image, $qrcode, 0, 0, 0, 0, $this->length, $this->length, 100);
+ imagedestroy($qrcode);
+
+ $fontColor = imagecolorallocate($this->image, ...$textColor);
+ $w = imagefontwidth($textSize);
+ $x = round(($bgWidth - strlen($text) * $w) / 2);
+
+ // loop through the string and draw the letters
+ foreach(str_split($text) as $i => $chr){
+ imagechar($this->image, $textSize, (int)($i * $w + $x), $this->length, $chr, $fontColor);
+ }
+ }
+
+}
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/custom_output.php b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/custom_output.php
new file mode 100644
index 0000000..71ea626
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/custom_output.php
@@ -0,0 +1,38 @@
+
+ * @copyright 2017 Smiley
+ * @license MIT
+ */
+
+namespace chillerlan\QRCodeExamples;
+
+use chillerlan\QRCode\{QRCode, QROptions};
+
+require_once __DIR__.'/../vendor/autoload.php';
+
+$data = 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s';
+
+// invoke the QROutputInterface manually
+$options = new QROptions([
+ 'version' => 5,
+ 'eccLevel' => QRCode::ECC_L,
+]);
+
+$qrOutputInterface = new MyCustomOutput($options, (new QRCode($options))->getMatrix($data));
+
+var_dump($qrOutputInterface->dump());
+
+
+// or just
+$options = new QROptions([
+ 'version' => 5,
+ 'eccLevel' => QRCode::ECC_L,
+ 'outputType' => QRCode::OUTPUT_CUSTOM,
+ 'outputInterface' => MyCustomOutput::class,
+]);
+
+var_dump((new QRCode($options))->render($data));
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/example_image.png b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/example_image.png
new file mode 100644
index 0000000..b4a80f2
Binary files /dev/null and b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/example_image.png differ
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/example_svg.png b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/example_svg.png
new file mode 100644
index 0000000..f1e7b32
Binary files /dev/null and b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/example_svg.png differ
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/fpdf.php b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/fpdf.php
new file mode 100644
index 0000000..9c690a7
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/fpdf.php
@@ -0,0 +1,47 @@
+ 7,
+ 'outputType' => QRCode::OUTPUT_FPDF,
+ 'eccLevel' => QRCode::ECC_L,
+ 'scale' => 5,
+ 'imageBase64' => false,
+ 'moduleValues' => [
+ // finder
+ 1536 => [0, 63, 255], // dark (true)
+ 6 => [255, 255, 255], // light (false), white is the transparency color and is enabled by default
+ // alignment
+ 2560 => [255, 0, 255],
+ 10 => [255, 255, 255],
+ // timing
+ 3072 => [255, 0, 0],
+ 12 => [255, 255, 255],
+ // format
+ 3584 => [67, 191, 84],
+ 14 => [255, 255, 255],
+ // version
+ 4096 => [62, 174, 190],
+ 16 => [255, 255, 255],
+ // data
+ 1024 => [0, 0, 0],
+ 4 => [255, 255, 255],
+ // darkmodule
+ 512 => [0, 0, 0],
+ // separator
+ 8 => [255, 255, 255],
+ // quietzone
+ 18 => [255, 255, 255],
+ ],
+]);
+
+\header('Content-type: application/pdf');
+
+echo (new QRCode($options))->render($data);
diff --git a/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/html.php b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/html.php
new file mode 100644
index 0000000..aa5305d
--- /dev/null
+++ b/user/plugins/seans-qrcode/vendor/chillerlan/php-qrcode/examples/html.php
@@ -0,0 +1,102 @@
+
+ * @copyright 2017 Smiley
+ * @license MIT
+ */
+
+namespace chillerlan\QRCodeExamples;
+
+use chillerlan\QRCode\{QRCode, QROptions};
+
+require_once '../vendor/autoload.php';
+
+header('Content-Type: text/html; charset=utf-8');
+
+?>
+
+
+
+
+
+ QRCode test
+
+
+
+