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:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Twain.SetHighlight
Specifies which value in an image should be interpreted as the lightest highlight.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
Twain
|
3.5 |
✅ Yes |
✅ Yes |
❌ No |
❌ No |
❌ No |
MBS( "Twain.SetHighlight"; Value )
More
MBS(
"Twain.SetHighlight"; /* Specifies which value in an image should be interpreted as the lightest highlight. */
$Value) /* The new brightness setting.e.g. 0 */
Less
Parameters
Parameter |
Description |
Example |
Value |
The new brightness setting. |
0 |
Result
Returns OK.
Description
Specifies which value in an image should be interpreted as the lightest highlight.
All values lighter then this value will be clipped to this value. Whether lighter values are smaller or larger can be determined by examining the Current value of PixelFlavor.
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.
Value can be between 0 and 255.
Plugin uses value -10000 for undefined/default.
See also
This function is free to use.
Created 18th August 2014, last changed 3th April 2021
Twain.SetGamma
-
Twain.SetNotificationScript