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

Sets the pixel type requested on next Twain.Acquire command.

Component Version macOS Windows Linux Server iOS SDK
Twain 3.1 ✅ Yes ✅ Yes ❌ No ❌ No ❌ No
MBS( "Twain.SetPixelType"; value )   More

Parameters

Parameter Description Example
value The new pixel type setting. 2

Result

Returns OK.

Description

Sets the pixel type requested on next Twain.Acquire command.
Value can be 0 for BW, 1 for Gray, 2 for RGB, 3 for Palette.
The plugin can request als CMY (4), CMYK (5), YUV (6), YUVK (7) and CIEXYZ (8), but can't currently decode those.

See also

Example Databases

Blog Entries

This function is free to use.

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


Twain.SetPaperSize - Twain.SetResolutionX

💬 Ask a question or report a problem