All functions   Mac OS X   Windows   Crossplatform   Components   New in version: 1.0   1.1   1.2   1.3   1.4   1.5   1.6   1.7   1.8   2.0  

GMImage.Flip

Component: GraphicsMagick
Mac OS X: Works
Windows: Works

MBS( "GMImage.Flip"; ImageRef )

Parameters

Parameter Description Example value
ImageRef The image reference (a number returned from the GMImage.New functions) 1

Result

Returns "OK" on success.

Description

Flip image (reflect each scanline in the vertical direction)

Examples

Mirror the picture.

Let (
[
$Image = MBS("GMImage.NewFromContainer"; GraphicsMagick::image);
$RotateResult = MBS("GMImage.Flip"; $Image);
$Result = MBS("GMImage.WriteToPNGContainer"; $Image);
$DestroyResult = MBS("GMImage.Destroy";$Image)
];
$Result)

Feedback: Report problem or ask question.