Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Twain.CurrentImage

Queries the current image from last query.

Component Version macOS Windows Linux Server iOS SDK
Twain 3.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Twain.CurrentImage" )

Parameters

none

Result

Returns error or image reference.

Description

Queries the current image from last query.
Returns the image reference for use with GMImage functions.
Please use functions like GMImage.WriteToPNGContainer and later GMImage.Release to free memory.

If you get no image here, you may have called Twain.SetFolderPath before and images are written to folder.

See also

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 21st December 2018


Twain.CurrentDSIdentity - Twain.DisableDS