Imagick::flopImage

(PECL imagick 2, PECL imagick 3)

Imagick::flopImageCrea una imagen por espejo horizontal

Descripción

public Imagick::flopImage(): bool

Crea una imagen por espejo horizontal, utilizando una simetría alrededor del eje de las ordenadas.

Parámetros

Esta función no tiene parámetros.

Valores devueltos

Devuelve true en caso de éxito.

Errores/Excepciones

Lanza ImagickException en caso de error.

Ejemplos

Ejemplo #1 Ejemplo con Imagick::flopImage()

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

?>

Ver también

add a note

User Contributed Notes

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