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.Compare

Component: GraphicsMagick
Mac OS X: Works
Windows: Works

MBS( "GMImage.Compare"; ImageRef )

Parameters

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

Result

Returns true if equal and false if not equal.

Description

Compares current image with another image.
Sets meanErrorPerPixel, normalizedMaxError, and normalizedMeanError in the current image. False is returned if the images are identical.

Feedback: Report problem or ask question.