PHP 5.6.0 released

Imagick::flipImage

(PECL imagick 2.0.0)

Imagick::flipImageCreates a vertical mirror image

说明

bool Imagick::flipImage ( void )

Creates a vertical mirror image by reflecting the pixels around the central x-axis.

返回值

成功时返回 TRUE

错误/异常

错误时抛出 ImagickException。

add a note add a note

User Contributed Notes 2 notes

up
1
jeff at jeffharris dot us
8 months ago
To avoid the x-axis and y-axis discussion, flipping emulates a mirror at the bottom (or top) of the image.
ʇo ɐʌoıp ʇɥǝ x-ɐxıs ɐup ʎ-ɐxıs pısɔnssıou, ɟןıddıuƃ ǝɯnןɐʇǝs ɐ ɯıɹɹoɹ ɐʇ ʇɥǝ qoʇʇoɯ )oɹ ʇod( oɟ ʇɥǝ ıɯɐƃǝ˙
up
-1
Lee
2 years ago
They mean, "Creates a horizontal mirror image by reflecting the pixels around the central y-axis."
To Top