PHP 8.3.4 Released!

Imagick::transverseImage

(PECL imagick 2, PECL imagick 3)

Imagick::transverseImageCreates a horizontal mirror image

Descrizione

public Imagick::transverseImage(): bool

Creates a horizontal mirror image by reflecting the pixels around the central y-axis while rotating them 270-degrees. Questo metodo è disponibile se Imagick è stato compilato con ImageMagick versione 6.2.9 o successive.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Restituisce true in caso di successo.

Esempi

Example #1 Imagick::transverseImage()

<?php
function transverseImage($imagePath) {
$imagick = new \Imagick(realpath($imagePath));
$imagick->transverseImage();
header("Content-Type: image/jpg");
echo
$imagick->getImageBlob();
}

?>

Vedere anche:

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top