Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Calculates a hash of the image.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
GraphicsMagick | 9.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
ImageRef | The image reference number. | 1 | |
Size | Available in MBS FileMaker Plugin 12.4 or newer. The size of the bitmap. Value from 8 to 1024. Default is 8. |
Optional |
Returns text or error.
Play with hash function:
Set Variable [ $ImageRef ; Value: MBS("GMImage.NewFromContainer"; Test::BigImage) ]
Set Variable [ $Hash1 ; Value: MBS("GMImage.Hash"; $ImageRef) ]
Set Variable [ $r ; Value: MBS( "GMImage.Flip"; $ImageRef ) ]
Set Variable [ $Hash2 ; Value: MBS("GMImage.Hash"; $ImageRef) ]
Set Variable [ $r ; Value: MBS( "GMImage.Flop"; $ImageRef ) ]
Set Variable [ $Hash3 ; Value: MBS("GMImage.Hash"; $ImageRef) ]
Set Variable [ $Error ; Value: MBS("GMImage.Release"; $ImageRef) ]
Show Custom Dialog [ "Hash original: " & $hash1 & ¶ & "Hash after 1x mirror: " & $hash2 & ¶ & "Hash after 2x mirror: " &… ]
This function checks for a license.
Created 10th September 2019, last changed 28th July 2022