Home
last modified time | relevance | path

Searched refs:im (Results 1 – 25 of 37) sorted by relevance

12

/imagick/tests/
H A D006_cropthumbnail.phpt8 $im = new Imagick("magick:rose");
9 $im->cropThumbnailImage(200, 200);
10 var_dump($im->getImageGeometry());
12 $im = new Imagick("magick:rose");
13 $im->cropThumbnailImage(170, 120);
14 var_dump($im->getImageGeometry());
16 $im = new Imagick("magick:rose");
17 $im->cropThumbnailImage(50, 50);
20 $im = new Imagick("magick:rose");
21 $im->cropThumbnailImage(60, 120);
[all …]
H A D017-clear-destroy.phpt8 $im = new Imagick ();
9 $im->clear ();
10 $im->destroy ();
12 $im = new ImagickDraw ();
13 $im->clear ();
14 $im->destroy ();
16 $im = new ImagickPixel ();
17 $im->clear ();
18 $im->destroy ();
23 $im->clear ();
[all …]
H A D008_newpseudoimage.phpt8 $im = new Imagick();
9 $im->newPseudoImage(100, 100, "XC:red");
10 var_dump($im->getImageGeometry());
12 $im->newPseudoImage(10, 10, "magick:logo");
13 var_dump($im->getImageGeometry());
15 $im->readImage("magick:logo");
16 var_dump($im->getImageGeometry());
18 $im->newPseudoImage(10, 10, "rose:");
19 var_dump($im->getImageGeometry());
22 $im->newPseudoImage(10, 10, "png:");
[all …]
H A D246_antialias_image.phpt8 $im = new Imagick();
9 $im->newPseudoImage(10, 10, "magick:logo");
11 var_export($im->getAntiAlias());
15 $im->setAntiAlias(false);
16 var_export($im->getAntiAlias());
20 $im->setAntiAlias(true);
21 var_export($im->getAntiAlias());
H A D009_properties.phpt11 $im = new Imagick();
12 $im->newPseudoImage(100, 100, "XC:red");
13 $im->setImageFormat("png");
15 echo $im->width . "x" . $im->height . "\n";
16 echo $im->format;
H A D022-writeimagefileformat.phpt16 $im->writeImage (JPEG_FILE);
17 $im->clear ();
24 $im->readImage (JPEG_FILE);
25 $im->setImageFormat ('png');
26 $im->writeImageFile ($fp);
27 $im->clear ();
37 $im->readImage (JPEG_FILE);
39 $im->writeImageFile ($fp);
40 $im->clear ();
49 $im->readImage (JPEG_FILE);
[all …]
H A D239_Tutorial_gradientReflection_basic.phpt10 $im = new \Imagick();
11 $im->newPseudoImage(640, 480, "magick:logo");
13 $reflection = clone $im;
17 $reflection->cropImage($im->getImageWidth(), $im->getImageHeight() * 0.75, 0, 0);
34 …$canvas->newImage($im->getImageWidth(), $im->getImageHeight() * 1.75, new \ImagickPixel('rgba(255,…
35 $canvas->compositeImage($im, \Imagick::COMPOSITE_BLEND, 0, 0);
37 $canvas->compositeImage($reflection, \Imagick::COMPOSITE_BLEND, 0, $im->getImageHeight());
H A D012-clone-separation.phpt7 $im = new Imagick();
8 $im->newImage(100, 100, new ImagickPixel("white"));
10 $new = clone $im;
12 var_dump($im->width, $new->width);
14 $new2 = $im->clone();
16 var_dump($im->width, $new2->width);
H A Dbug64015.phpt7 $im = new Imagick(dirname(__FILE__) . '/php.gif');
8 var_dump($im->getImageLength());
12 var_dump($im->getImageLength());
15 $cloned_im = clone $im;
16 var_dump($im->getImageLength());
H A D005_bestfit.phpt8 $im = new Imagick();
9 $im->newImage(50, 100, 'white');
11 $im->thumbnailImage(100, 50, true);
12 var_dump($im->getImageGeometry());
H A D263_autoGammaImage.phpt11 $im = new Imagick("magick:logo");
12 $im->autoGammaImage();
15 $im = new Imagick("magick:logo");
16 $im->autoGammaImage(\Imagick::CHANNEL_RED);
H A D003_cast_color_opacity.phpt10 $im = new Imagick();
11 $im->newImage(100, 100, "red");
12 $im->tintImage("red", "gray(50%)");
19 $im = new Imagick();
22 $im->newImage(100, 100, $pixel);
23 $im->tintImage($pixel, $strengthPixel);
H A D015-imagickdrawsetresolution.phpt11 $im = new Imagick();
12 $im->newImage(1000,1000, "white","png");
19 $small = $im->queryFontMetrics($draw, "Hello World");
22 $large = $im->queryFontMetrics($draw, "Hello World");
29 $oneLine = $im->queryFontMetrics($draw, "Hello Hello");
30 $forceOneLine = $im->queryFontMetrics($draw, "Hello \nHello", false);
33 $forceMultiLine = $im->queryFontMetrics($draw, "Hello \nHello", true);
34 $guessLine = $im->queryFontMetrics($draw, "Hello\nHello");
H A D007_thumbnail_fill.phpt16 $im = new Imagick("magick:logo");
17 $im->setImageBackgroundColor("pink");
18 $im->thumbnailImage(200, 200, true, true);
20 $color = $im->getImagePixelColor(5, 5);
26 $color = $im->getImagePixelColor(199, 5);
H A D276_Imagick_artifacts.phpt15 $im = new IMagick(__DIR__ . '/php.gif');
18 var_dump($im->setImageArtifact('compose:args', '1,0,-0.5,0.5'));
20 var_dump($im->getImageArtifact('compose:args'));
21 var_dump($im->deleteImageArtifact('compose:args'));
H A D018-clone-length.phpt17 $im = new Imagick ('magick:rose');
18 $im->setImageFormat ('png');
19 if ($im->getImageLength()) {
26 $cloned = clone $im;
H A D272_imagick_identifyimagetype.phpt13 $im = new Imagick();
14 $im->newPseudoImage(100, 100, "magick:logo");
16 $type = $im->identifyImageType();
H A D016-static-methods.phpt10 $im = new Imagick ();
11 echo gettype ($im->queryFormats ()) . PHP_EOL;
14 echo gettype ($im->queryFonts ()) . PHP_EOL;
H A D004_clone.phpt10 $im = new Imagick();
11 $im->newImage(100, 100, new ImagickPixel("white"));
12 $new = clone $im;
H A D010_importimagepixels.phpt29 $im = new Imagick();
30 $im->newImage($width, $height, 'gray');
34 $im->importImagePixels(0, 0, $width, $height, "RGB", Imagick::PIXEL_CHAR, $pixels);
37 var_dump($im->getImageGeometry());
H A D278_Imagick_optimaze_gif.phpt68 function optimizeGif($im) {
69 $im = $im->coalesceImages();
70 $im->optimizeImageLayers();
71 $im->optimizeimagetransparency();
H A D288_imagick_prevent_zero_size_images.phpt13 $im = new Imagick();
15 $im->newPseudoImage(0, 100, "magick:logo");
16 $im->newPseudoImage(100, 0, "magick:logo");
19 $im->newPseudoImage(0, 100, "magick:logo");
/imagick/examples/
H A Dhoughline.php8 $im = new Imagick(); variable
11 $im->readImage( '/tmp/test.png' );
14 $im->houghLineImage( 9, 9, 40 );
17 $im->writeImage( '/tmp/hough_test.png' );
20 $im->destroy();
H A Dthumbnail.php8 $im = new Imagick(); variable
11 $im->readImage( '/tmp/test.png' );
14 $im->thumbnailImage( 100, null );
17 $im->writeImage( '/tmp/th_test.png' );
20 $im->destroy();
/imagick/docker/fedora/
H A D003_cast_color_opacity.php5 $im = new Imagick(); variable
6 $im->newImage(100, 100, "red");
7 $im->tintImage("red", "gray(50%)");
14 $im = new Imagick(); variable
17 $im->newImage(100, 100, $pixel);
18 $im->tintImage($pixel, $strengthPixel);

Completed in 43 milliseconds

12