Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

Twain.GetShadow

Queries which value in an image should be interpreted as the darkest shadow.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Twain 3.5 Yes Yes No No No
MBS( "Twain.GetShadow" )   More

Parameters

none

Result

Returns the value.

Description

Queries which value in an image should be interpreted as the darkest shadow.
All values darker than this value will be clipped to this value.

Whether darker values are smaller or larger can be determined by examining the Current value of PixelFlavor.
Source

If more or less than 8 bits are used to describe the image, the actual data values should be normalized to fit within the 0-255 range. The normalization need not result in a homogeneous distribution if the original distribution was not homogeneous.
Plugin uses value -10000 for undefined/default.

See also

Created 18th August 2014, last changed 18th August 2014


Twain.GetResolutionY   -   Twain.GetUIVisible

Feedback: Report problem or ask question.




Links
MBS Xojo blog

Start Chat