PHP 8.3.4 Released!

Imagick::flopImage

(PECL imagick 2, PECL imagick 3)

Imagick::flopImageCrea una imagen espejo horizontal

Descripción

Imagick::flopImage(): bool

Crea una imagen espejo horizontal reflejando los píxeles alrededor del eje y central.

Valores devueltos

Devuelve true en caso de éxito.

Errores/Excepciones

Lanza ImagickException en caso de error.

Ejemplos

Ejemplo #1 Imagick::flopImage()

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

?>

add a note

User Contributed Notes

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