Home
last modified time | relevance | path

Searched refs:Imagick (Results 1 – 25 of 311) sorted by relevance

12345678910>>...13

/imagick/tests/
H A D072_Imagick_evaluateImage_basic.phpt2 Test Imagick, evaluateImage
18 \Imagick::EVALUATE_ADD,
19 \Imagick::EVALUATE_AND,
20 \Imagick::EVALUATE_MAX,
21 \Imagick::EVALUATE_MIN,
22 \Imagick::EVALUATE_OR,
23 \Imagick::EVALUATE_SET,
25 \Imagick::EVALUATE_XOR,
35 \Imagick::EVALUATE_POW,
36 \Imagick::EVALUATE_LOG,
[all …]
H A D286_Imagick_setMask_basic.phpt2 Test Imagick, setImageMask basic
6 checkClassMethods('Imagick', array('getImageMask', 'setImageMask'));
13 $imagick = new \Imagick();
16 $default_mask = $imagick->getImageMask(Imagick::PIXELMASK_READ);
23 $mask = new Imagick();
27 $imagick->setImageMask($mask, Imagick::PIXELMASK_READ);
29 $mask = $imagick->getImageMask(Imagick::PIXELMASK_READ);
32 //if ( !== Imagick::PIXELMASK_READ) {
33 // echo "Failed to set/get Imagick::PIXELMASK_READ";
36 $imagick->setImageMask($mask, Imagick::PIXELMASK_WRITE);
[all …]
H A D257_Imagick_setImageChannelMask_basic.phpt2 Test Imagick, Imagick::exportImagePixels
11 $imagick = new \Imagick();
14 $initialMask = $imagick->setImageChannelMask(\Imagick::CHANNEL_RED);
19 $redMask = $imagick->setImageChannelMask(\Imagick::CHANNEL_DEFAULT);
21 if ($initialMask != \Imagick::CHANNEL_DEFAULT) {
22 echo "initialMask is not equal to \Imagick::CHANNEL_DEFAULT but instead is $initialMask\n";
25 if ($redMask != \Imagick::CHANNEL_RED) {
26 echo "redMask is not equal to \Imagick::CHANNEL_RED but instead is $redMask\n";
H A D002_thumbnail.phpt8 $imagick = new Imagick();
15 $imagick = new Imagick();
22 $imagick = new Imagick();
29 $imagick = new Imagick();
42 $imagick = new Imagick();
49 $imagick = new Imagick();
62 $imagick = new Imagick();
75 $imagick = new Imagick();
88 $imagick = new Imagick();
100 $imagick = new Imagick();
[all …]
H A D289_Imagick_setImageMask_basic.phpt2 Test Imagick, medianFilterImage
11 $canvas = new Imagick(__DIR__ . '/houghline_input_image.png');
13 $mask = new Imagick();
42 \Imagick::PIXELMASK_READ => "PIXELMASK_READ",
43 \Imagick::PIXELMASK_WRITE => "PIXELMASK_WRITE",
48 \Imagick::CHANNEL_ALL => "CHANNEL_ALL",
49 \Imagick::CHANNEL_RED => "CHANNEL_RED",
50 \Imagick::CHANNEL_ALPHA => "CHANNEL_ALPHA",
51 \Imagick::CHANNEL_RGBA => "CHANNEL_RGBA",
52 \Imagick::CHANNEL_BLACK => "CHANNEL_BLACK",
[all …]
H A D212_ImagickDraw_setGravity_basic.phpt26Imagick::GRAVITY_NORTHWEST => 'NorthWest', \Imagick::GRAVITY_NORTH => 'North', \Imagick::GRAVITY_N…
34 $imagick = new \Imagick();
H A D256_Imagick_exportImagePixels_basic.phpt2 Test Imagick, Imagick::exportImagePixels
11 $imagick = new \Imagick();
15 Imagick::PIXEL_CHAR => function($v) { return $v / 255; } ,
16 Imagick::PIXEL_DOUBLE => function($v) { return $v; } ,
17 Imagick::PIXEL_FLOAT => function($v) { return $v; } ,
18 Imagick::PIXEL_LONG => function($v) { return $v / 4294967295; },
19 Imagick::PIXEL_QUANTUM => function($v) { return $v / Imagick::getQuantum(); } ,
20 Imagick::PIXEL_SHORT => function($v) { return $v / 65535; } ,
23 // Imagick::PIXEL_LONGLONG => function($v) { return $v / (2 << 64 -1 ); } ,
26 $v = Imagick::getVersion();
[all …]
H A D014-setresourcelimit.phpt2 Imagick::setResourceLimit test
22 Imagick::RESOURCETYPE_AREA => 100000000,
25 Imagick::RESOURCETYPE_DISK => 100,
29 Imagick::RESOURCETYPE_FILE => 100,
32 Imagick::RESOURCETYPE_MAP => 10 * $g,
35 Imagick::RESOURCETYPE_MEMORY => 10 * $g,
38 if (defined('Imagick::RESOURCETYPE_TIME')) {
39 $tests[Imagick::RESOURCETYPE_TIME] = 30;
46 $tests[Imagick::RESOURCETYPE_THREAD] = 1;
49 $tests[Imagick::RESOURCETYPE_WIDTH] = $g;
[all …]
H A D155_Imagick_thresholdImage_basic.phpt2 Test Imagick, thresholdImage
12 //$channel = Imagick::CHANNEL_DEFAULT;
13 $channel = Imagick::CHANNEL_RED|Imagick::CHANNEL_GREEN|Imagick::CHANNEL_BLUE;
16 $imagick = new \Imagick();
18 $imagick->thresholdimage($threshold * \Imagick::getQuantum(), $channel);
H A D208_ImagickDraw_setFontStretch_basic.phpt27Imagick::STRETCH_ULTRACONDENSED, \Imagick::STRETCH_CONDENSED, \Imagick::STRETCH_SEMICONDENSED, \Im…
36 $imagick = new \Imagick();
H A D274_imagick_setImageAlpha.phpt2 Imagick::setImageAlpha
15 $imagick = new Imagick();
23 Imagick::PIXEL_CHAR => array(128, 0, 128, 128),
24 Imagick::PIXEL_FLOAT => array(0.50196081399918, 0, 0.50196081399918, 0.5),
25 Imagick::PIXEL_DOUBLE => array(0.50196078431373, 0, 0.50196078431373, 0.5),
26 Imagick::PIXEL_SHORT => array(32896, 0, 32896, 32768),
31 if ($type == Imagick::PIXEL_CHAR ||
32 $type == Imagick::PIXEL_SHORT) {
39 if ($type == Imagick::PIXEL_FLOAT) {
43 if ($type == Imagick::PIXEL_DOUBLE) {
H A D261_compositeImageGravity.phpt6 $v = Imagick::getVersion();
16 $im1 = new Imagick("magick:logo");
19 $im2 = new Imagick("magick:logo");
28 \Imagick::COMPOSITE_ATOP,
29 \Imagick::GRAVITY_NORTHEAST
34 \Imagick::COMPOSITE_ATOP,
35 \Imagick::GRAVITY_SOUTH
H A D045_Imagick_compositeImage_basic.phpt2 Test Imagick, compositeImage
14 $img1 = new \Imagick();
17 $img2 = new \Imagick();
26 \Imagick::FILTER_LANCZOS,
30 $opacity = new \Imagick();
38 $img2->compositeImage($opacity, \Imagick::COMPOSITE_COPYOPACITY, 0, 0);
39 $img1->compositeImage($img2, \Imagick::COMPOSITE_ATOP, 0, 0);
H A D102_Imagick_radialBlurImage_basic.phpt2 Test Imagick, radialBlurImage
7 checkClassMethods('Imagick', array('radialBlurImage'));
14 $imagick = new \Imagick();
27 Deprecated: %s Imagick::radialBlurImage() is deprecated in %s
29 Deprecated: %s Imagick::radialBlurImage() is deprecated in %s
31 Deprecated: %s Imagick::radialBlurImage() is deprecated in %s
H A D121_Imagick_setImageBias_basic.phpt2 Test Imagick, setImageBias
6 checkClassMethods('Imagick', array('setImageBias'));
15 $imagick = new \Imagick();
24 $imagick->setImageBias($bias * \Imagick::getQuantum());
25 $imagick->convolveImage($xKernel, \Imagick::CHANNEL_ALL);
37 Deprecated: %s Imagick::setImageBias() is deprecated in %s
H A D118_Imagick_setImageArtifact_basic.phpt2 Test Imagick, setImageArtifact
13 $src1 = new \Imagick();
16 $src2 = new \Imagick();
19 $src2->setImageVirtualPixelMethod(\Imagick::VIRTUALPIXELMETHOD_TRANSPARENT);
21 $src1->compositeImage($src2, Imagick::COMPOSITE_MATHEMATICS, 0, 0);
H A D104_Imagick_randomThresholdImage_basic.phpt2 Test Imagick, randomThresholdImage
13 $channel = Imagick::CHANNEL_DEFAULT;
16 $imagick = new \Imagick();
20 $lowThreshold * \Imagick::getQuantum(),
21 $highThreshold * \Imagick::getQuantum(),
H A D278_Imagick_optimaze_gif.phpt2 Test Imagick::optimizeimagelayers and Imagick::optimizeimagetransparency
9 checkClassMethods('Imagick', array('optimizeimagelayers'));
10 checkClassMethods('Imagick', array('optimizeimagetransparency'));
17 $aniGif = new \Imagick();
24 $background = new \Imagick();
27 $blackWhite = new \Imagick();
31 $backgroundPalette->quantizeImage(240, \Imagick::COLORSPACE_RGB, 8, false, false);
34 $blackWhitePalette->quantizeImage(16, \Imagick::COLORSPACE_RGB, 8, false, false);
H A D025-get-color.phpt28 $v = Imagick::getVersion();
35 if (Imagick::getHDRIEnabled()) {
55 if (Imagick::getHDRIEnabled()) {
59 $v = Imagick::getVersion();
84 array('r', getExpectedValue(\Imagick::getQuantum()), 0),
85 array('a', getExpectedValue(\Imagick::getQuantum()), 0)
92 array('r', getExpectedValue(\Imagick::getQuantum() / 4), 0),
93 array('a', getExpectedValue(\Imagick::getQuantum()), 0),
98 $version = Imagick::getVersion();
106 array('a', getExpectedValue(\Imagick::getQuantum()), 1)
[all …]
/imagick/
H A DImagick_arginfo.h5384 ZEND_METHOD(Imagick, setFont);
5387 ZEND_METHOD(Imagick, getFont);
5503 ZEND_METHOD(Imagick, count);
5506 ZEND_METHOD(Imagick, count);
5525 ZEND_METHOD(Imagick, clear);
5526 ZEND_METHOD(Imagick, clone);
5666 ZEND_METHOD(Imagick, fxImage);
5796 ZEND_METHOD(Imagick, getPage);
5805 ZEND_METHOD(Imagick, getSize);
5827 ZEND_METHOD(Imagick, valid);
[all …]
H A DChangeLog16 * Imagick::setImageMask(Imagick $clip_mask, int $pixelmask_type)
71 Imagick::filter
81 Imagick::mapimage
183 * Imagick::evaluateImages(int EVALUATE_CONSTANT) : Imagick
185 * Imagick::setImageWhitePoint, Imagick::setImageRedPrimary, Imagick::setImageGreenPrimary,
187 * Imagick::getImageWhitePoint, Imagick::getImageRedPrimary, Imagick::getImageGreenPrimary,
205 * Imagick::adaptiveResizeImage, Imagick::cropThumbnailImage Imagick::resizeImage,
646 + Added Imagick::distortImage and Imagick::setlastiterator
669 + Imagick::setImage
692 + Added Imagick::getIteratorIndex() and Imagick::setIteratorIndex().
[all …]
H A DImagick.stub.php5 class Imagick class
189 …public function clutImage(Imagick $lookup_table, int $channel = Imagick::CHANNEL_DEFAULT): bool {}
295 Imagick $reference_image,
395 public function haldClutImage(Imagick $clut, int $channel = Imagick::CHANNEL_DEFAULT): bool {}
496 public function clone(): Imagick {}
560 Imagick $composite_image,
578 * @return Imagick
586 ): Imagick {}
715 public function steganoImage(Imagick $watermark, int $offset): Imagick {}
847 … public function fxImage(string $expression, int $channel = Imagick::CHANNEL_DEFAULT): Imagick {}
[all …]
/imagick/examples/
H A Dwatermark.php8 $Imagick = new Imagick(); variable
15 $Imagick->readImage( '/tmp/test.jpg' );
18 $ImagickDraw->setGravity( Imagick::GRAVITY_CENTER );
21 $Imagick->annotateImage( $ImagickDraw, 4, 20, 0, "Test Watermark" );
24 $Imagick->setImageFormat( 'png' );
27 header( "Content-Type: image/{$Imagick->getImageFormat()}" );
28 echo $Imagick->getImageBlob();
H A Dpolygon.php7 $Imagick = new Imagick(); variable
59 $Imagick->newImage( 700, 500, $ImagickPixel );
60 $Imagick->setImageFormat( 'png' );
66 $Imagick->drawImage( $ImagickDraw );
69 header( "Content-Type: image/{$Imagick->getImageFormat()}" );
70 echo $Imagick->getImageBlob( );
H A Dcaptcha.php8 $Imagick = new Imagick(); variable
28 $Imagick->newImage( 85, 30, $bg );
31 $Imagick->annotateImage( $ImagickDraw, 4, 20, 0, $string );
34 $Imagick->swirlImage( 20 );
44 $Imagick->drawImage( $ImagickDraw );
47 $Imagick->setImageFormat( 'png' );
50 header( "Content-Type: image/{$Imagick->getImageFormat()}" );
51 echo $Imagick->getImageBlob( );

Completed in 41 milliseconds

12345678910>>...13