PHP Velho Oeste 2024

Imagick::flopImage

(PECL imagick 2, PECL imagick 3)

Imagick::flopImageGörüntünün yataydaki yansımasını oluşturur

Açıklama

Imagick::flopImage(): bool
Uyarı

Bu işlev hala belgelendirilmemiştir; sadece bağımsız değişken listesi mevcuttur.

Pikselleri Y eksenine göre yansıtarak görüntünün yataydaki yansımasını oluşturur.

Bağımsız Değişkenler

Bu işlevin bağımsız değişkeni yoktur.

Dönen Değerler

Başarı durumunda true döner.

Hatalar/İstisnalar

Hata durumunda bir ImagickException istisnası oluşur.

Örnekler

Örnek 1 - Imagick::flopImage()

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

?>

Ayrıca Bakınız

add a note add a note

User Contributed Notes 1 note

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