PHP Doku:: Repeatedly tiles the texture image - function.imagick-textureimage.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzBildverarbeitung und -generierungImage Processing (ImageMagick)The Imagick classImagick::textureImage

Ein Service von Reinhard Neidl - Webprogrammierung.

The Imagick class

<<Imagick::swirlImage

Imagick::thresholdImage>>

Imagick::textureImage

(PECL imagick 2.0.0)

Imagick::textureImageRepeatedly tiles the texture image

Beschreibung

bool Imagick::textureImage ( Imagick $texture_wand )
Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Repeatedly tiles the texture image across and down the image canvas.

Parameter-Liste

texture_wand

Rückgabewerte

Liefert TRUE bei Erfolg.

Fehler/Exceptions

Wirft ImagickException bei Fehlern.


Ein BenutzerBeitrag:
- Beiträge aktualisieren...
truthseekercz at email dot cz
8.09.2010 14:41
<?php

$image
= new Imagick();
$image->newImage(500, 500, new ImagickPixel('red'));
$image->setImageFormat("png");
$type=$image->getFormat();
header("Content-type: $type");

$texture = new Imagick();
$texture->readImage('texture.png');
$image = $image->textureImage($texture);

echo
$image;

?>

This works for me, however, I give no guarantees that the above example is the proper usage of this function.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)