/imagick/tests/ |
H A D | 154_Imagick_textureImage_basic.phpt | 10 $image = new \Imagick(); 11 $image->newImage(640, 480, new \ImagickPixel('pink')); 12 $image->setImageFormat("jpg"); 16 $texture->scaleimage($image->getimagewidth() / 4, $image->getimageheight() / 4); 17 $image = $image->textureImage($texture); 18 $bytes = $image; 19 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 172_ImagickPixel_setColorValueQuantum_basic.phpt | 10 $image = new \Imagick(); 12 $quantumRange = $image->getQuantumRange(); 23 $image->newImage(500, 500, "SteelBlue2"); 24 $image->setImageFormat("png"); 26 $image->drawImage($draw); 28 $bytes = $image->getImageBlob(); 29 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 217_ImagickDraw_setStrokeMiterLimit_basic.phpt | 38 $image = new \Imagick(); 39 $image->newImage(500, 500, $backgroundColor); 40 $image->setImageFormat("png"); 41 $image->drawImage($draw); 43 $image->setImageType(\Imagick::IMGTYPE_PALETTE); 45 $image->setImageCompressionQuality(100); 46 $image->stripImage(); 48 $bytes = $image->getImageBlob(); 49 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 175_ImagickDraw_arc_basic.phpt | 29 //Create an image object which the draw commands can be rendered into 30 $image = new \Imagick(); 31 $image->newImage(500, 500, $backgroundColor); 32 $image->setImageFormat("png"); 35 //into the image. 36 $image->drawImage($draw); 38 //Send the image to the browser 39 $bytes = $image->getImageBlob(); 40 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 170_ImagickPixel_setColor_basic.phpt | 21 $image = new \Imagick(); 22 $image->newImage(500, 500, "SteelBlue2"); 23 $image->setImageFormat("png"); 25 $image->drawImage($draw); 27 $bytes = $image->getImageBlob(); 28 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 171_ImagickPixel_setColorValue_basic.phpt | 10 $image = new \Imagick(); 21 $image->newImage(500, 500, "SteelBlue2"); 22 $image->setImageFormat("png"); 23 $image->drawImage($draw); 25 $bytes = $image->getImageBlob(); 26 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 202_ImagickDraw_setFillColor_basic.phpt | 25 $image = new \Imagick(); 26 $image->newImage(500, 500, $backgroundColor); 27 $image->setImageFormat("png"); 29 $image->drawImage($draw); 31 $bytes = $image->getImageBlob(); 32 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 195_ImagickDraw_rotate_basic.phpt | 23 $image = new \Imagick(); 24 $image->newImage(500, 500, $backgroundColor); 25 $image->setImageFormat("png"); 26 $image->drawImage($draw); 28 $bytes = $image->getImageBlob(); 29 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 196_ImagickDraw_scale_basic.phpt | 24 $image = new \Imagick(); 25 $image->newImage(500, 500, $backgroundColor); 26 $image->setImageFormat("png"); 27 $image->drawImage($draw); 29 $bytes = $image->getImageBlob(); 30 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 215_ImagickDraw_setStrokeColor_basic.phpt | 28 $image = new \Imagick(); 29 $image->newImage(500, 400, $backgroundColor); 30 $image->setImageFormat("png"); 32 $image->drawImage($draw); 34 $bytes = $image->getImageBlob(); 35 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 213_ImagickDraw_setStrokeAlpha_basic.phpt | 25 $image = new \Imagick(); 26 $image->newImage(500, 400, $backgroundColor); 27 $image->setImageFormat("png"); 29 $image->drawImage($draw); 31 $bytes = $image->getImageBlob(); 32 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 221_ImagickDraw_setStrokeWidth_basic.phpt | 25 $image = new \Imagick(); 26 $image->newImage(500, 400, $backgroundColor); 27 $image->setImageFormat("png"); 28 $image->drawImage($draw); 30 $bytes = $image->getImageBlob(); 31 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 211_ImagickDraw_setStrokeAntialias_basic.phpt | 28 $image = new \Imagick(); 29 $image->newImage(500, 250, $backgroundColor); 30 $image->setImageFormat("png"); 32 $image->drawImage($draw); 34 $bytes = $image->getImageBlob(); 35 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 186_ImagickDraw_polygon_basic.phpt | 31 $image = new \Imagick(); 32 $image->newImage(500, 300, $backgroundColor); 33 $image->setImageFormat("png"); 34 $image->drawImage($draw); 36 $bytes = $image->getImageBlob(); 37 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 216_ImagickDraw_setStrokeDashArray_basic.phpt | 33 $image = new \Imagick(); 34 $image->newImage(500, 400, $backgroundColor); 35 $image->setImageFormat("png"); 36 $image->drawImage($draw); 38 $bytes = $image->getImageBlob(); 39 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 184_ImagickDraw_polyline_basic.phpt | 30 $image = new \Imagick(); 31 $image->newImage(500, 300, $backgroundColor); 32 $image->setImageFormat("png"); 33 $image->drawImage($draw); 35 $bytes = $image->getImageBlob(); 36 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 220_ImagickDraw_setStrokeOpacity_basic.phpt | 29 $image = new \Imagick(); 30 $image->newImage(550, 400, $backgroundColor); 31 $image->setImageFormat("png"); 32 $image->drawImage($draw); 34 $bytes = $image->getImageBlob(); 35 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 214_ImagickDraw_setStrokeDashOffset_basic.phpt | 33 $image = new \Imagick(); 34 $image->newImage(500, 400, $backgroundColor); 35 $image->setImageFormat("png"); 36 $image->drawImage($draw); 38 $bytes = $image->getImageBlob(); 39 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 227_ImagickDraw_skewY_basic.phpt | 31 $image = new \Imagick(); 32 $image->newImage(500, 500, $backgroundColor); 33 $image->setImageFormat("png"); 34 $image->drawImage($draw); 36 $bytes = $image->getImageBlob(); 37 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 228_ImagickDraw_skewX_basic.phpt | 31 $image = new \Imagick(); 32 $image->newImage(500, 500, $backgroundColor); 33 $image->setImageFormat("png"); 35 $image->drawImage($draw); 37 $bytes = $image->getImageBlob(); 38 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 235_ImagickDraw_translate_basic.phpt | 32 $image = new \Imagick(); 33 $image->newImage(500, 500, $backgroundColor); 34 $image->setImageFormat("png"); 36 $image->drawImage($draw); 38 $bytes = $image->getImageBlob(); 39 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 174_ImagickDraw_affine_basic.phpt | 56 //Create an image object which the draw commands can be rendered into 57 $image = new \Imagick(); 58 $image->newImage(500, 750, $backgroundColor); 59 $image->setImageFormat("png"); 62 //into the image. 63 $image->drawImage($draw); 65 //Send the image to the browser 66 $bytes = $image->getImageBlob(); 67 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 219_ImagickDraw_setStrokeLineJoin_basic.phpt | 37 $image = new \Imagick(); 38 $image->newImage(500, 700, $backgroundColor); 39 $image->setImageFormat("png"); 41 $image->drawImage($draw); 43 $bytes = $image->getImageBlob(); 44 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | 240_Tutorial_imagickCompositeGen_basic.phpt | 94 /** @var $image \Imagick */ 95 foreach ($images as $image) { 97 $finalBlending->newImage($image->getImageWidth(), $image->getImageHeight(), 'white'); 107 $offsetX = $image->getImageWidth() - $overlap; 110 $offsetY = $image->getImageHeight() - $overlap; 117 $image->compositeImage($finalBlending, \Imagick::COMPOSITE_COPYOPACITY, 0, 0); 118 … $canvas->compositeimage($image, \Imagick::COMPOSITE_BLEND, $imagePositionX, $imagePositionY); 121 $imagePositionX = $imagePositionX + $image->getImageWidth() - $overlap; 124 $imagePositionY = $imagePositionY + $image->getImageHeight() - $overlap; 148 if (strlen($bytes) <= 0) { echo "Failed to generate image.";}
|
H A D | bug20636.phpt | 16 // image being created and then roundCorners failing, instead the image 21 $image = new Imagick(); 22 $image->newImage(0, 0, '#dddddd', 'png' ); 25 $image->roundCorners(5, 5);
|