Imagick::flopImage

(PECL imagick 2, PECL imagick 3)

Imagick::flopImageCreates a horizontal mirror image

Descrizione

public Imagick::flopImage(): bool

Creates a horizontal mirror image by reflecting the pixels around the central y-axis.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Restituisce true in caso di successo.

Errori/Eccezioni

Lancia una ImagickException in caso di errore.

Esempi

Example #1 Imagick::flopImage()

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

?>

Vedere anche:

add a note add a note

User Contributed Notes 1 note

up
-8
Lee
12 years ago
They mean, "Creates a vertical mirror image by reflecting the pixels around the central x-axis."
To Top